35 namespace ost {
namespace info {
52 std::vector<String>
GetList()
const {
return list_;}
58 String Leaf()
const {
return list_.empty() ?
"" : list_.back(); }
64 InfoPath(
const std::vector<String> lst,
bool rf);
66 std::vector<String> list_;
69 void init(
const String& path);
#define DLLEXPORT_OST_INFO
String Leaf() const
return last path element
bool IsRelative() const
returns true if this path is relative
DLLEXPORT_OST_INFO InfoPath operator+(const InfoPath &p1, const InfoPath &p2)
DLLEXPORT_OST_INFO std::ostream & operator<<(std::ostream &, const InfoPath &p)
std::vector< String > GetList() const
retrieve list of path elements
encapsulates path to info groups and items