#include <xmlstorage.h>
Public Member Functions | |
XPath () | |
XPath (LPCXSSTR path) | |
XPath (const XS_String &path) | |
void | init (LPCXSSTR path) |
Public Attributes | |
bool | _absolute |
Definition at line 1365 of file xmlstorage.h.
XMLStorage::XPath::XPath | ( | ) | [inline] |
Definition at line 1367 of file xmlstorage.h.
: _absolute(false) {}
XMLStorage::XPath::XPath | ( | LPCXSSTR | path ) | [inline] |
Definition at line 1368 of file xmlstorage.h.
References init().
{init(path);}
XMLStorage::XPath::XPath | ( | const XS_String & | path ) | [inline] |
Definition at line 1369 of file xmlstorage.h.
References init().
{init(path.c_str());}
void XMLStorage::XPath::init | ( | LPCXSSTR | path ) |
Definition at line 244 of file xmlstorage.cpp.
References _absolute, and XMLStorage::XPathElement::parse().
Referenced by XPath().
{ // Is this an absolute path? if (*path == '/') { _absolute = true; ++path; } else _absolute = false; // parse path while(*path) { XPathElement elem; path = elem.parse(path); if (!path) break; push_back(elem); if (*path == '/') ++path; } }
Definition at line 1373 of file xmlstorage.h.
Referenced by XMLStorage::XMLStreamReader::go(), XMLStorage::const_XMLPos::go(), XMLStorage::XMLPos::go(), and init().
ROS Explorer Source Code Documentation
generated on 02.01.2013 by ![]() |