XMLBEANSXX  0.9.8
xmlbeansxx::Path Class Reference
Collaboration diagram for xmlbeansxx::Path:

List of all members.

Public Member Functions

 Path (const NSMap &ns, bool create=false)
bool isAttr (const string &name)
void addXmlObject (const XmlObject &o)
Path getPath (const std::string &path)
pair< string, string > getXPathPart (const string &path)
pair< string, string > getXPathPredicat (const string &part)
pair< string, int > decomposeElem (const std::string &name)

Private Types

typedef std::vector< XmlObjectObjType

Private Member Functions

std::string _getQNameString (const QName &name)
std::string _getQNameStringWithStar (const std::string &part)
std::vector< std::string > tokenize (const std::string &str, const std::string &t)
bool matchQNameString (const std::string &qn, const std::vector< std::string > &tab)
Path doPredicat (const std::string &pred)
Path doPart (const std::string &part)

Private Attributes

ObjType obj
const NSMapns
bool create

Friends

class XmlObject

Member Typedef Documentation

typedef std::vector<XmlObject> xmlbeansxx::Path::ObjType [private]

Constructor & Destructor Documentation

xmlbeansxx::Path::Path ( const NSMap ns,
bool  create = false 
) [inline]

Member Function Documentation

std::string xmlbeansxx::Path::_getQNameString ( const QName name) [inline, private]
std::string xmlbeansxx::Path::_getQNameStringWithStar ( const std::string &  part) [inline, private]
void xmlbeansxx::Path::addXmlObject ( const XmlObject o) [inline]
pair<string,int> xmlbeansxx::Path::decomposeElem ( const std::string &  name) [inline]
Path xmlbeansxx::Path::doPart ( const std::string &  part) [inline, private]
Path xmlbeansxx::Path::doPredicat ( const std::string &  pred) [inline, private]
Path xmlbeansxx::Path::getPath ( const std::string &  path) [inline]
pair<string,string> xmlbeansxx::Path::getXPathPart ( const string &  path) [inline]
pair<string,string> xmlbeansxx::Path::getXPathPredicat ( const string &  part) [inline]
bool xmlbeansxx::Path::isAttr ( const string &  name) [inline]
bool xmlbeansxx::Path::matchQNameString ( const std::string &  qn,
const std::vector< std::string > &  tab 
) [inline, private]
std::vector<std::string> xmlbeansxx::Path::tokenize ( const std::string &  str,
const std::string &  t 
) [inline, private]

Friends And Related Function Documentation

friend class XmlObject [friend]

Member Data Documentation

bool xmlbeansxx::Path::create [private]
const NSMap& xmlbeansxx::Path::ns [private]

The documentation for this class was generated from the following file: