|
XMLBEANSXX
0.9.8
|
#include <Contents.h>
Public Types | |
| typedef std::vector< std::pair < QName, ContentsPtr > > | AttrObjectsType |
| typedef std::vector< std::pair < QName, std::string > > | AttrsType |
| typedef std::vector< std::pair < QName, ContentsPtr > > | ElemsType |
| typedef std::vector< ContentsPtr > | ContentsPtrArrayType |
Static Public Member Functions | |
| static ContentsPtr | getAttr (const XmlObject &obj, const QName &x) |
| static std::string | getAttrString (const XmlObject &obj, const QName &x) |
| static void | setAttr (XmlObject &obj, const QName &x, const ContentsPtr &y) |
| static void | setAttr (XmlObject &obj, const QName &x, const std::string &y) |
| static ContentsPtr | getElem (const XmlObject &obj, const QName &x, int index=0) |
| static ContentsPtr | cgetElem (XmlObject &obj, const QName &x, int index=0) |
| static void | setElem (XmlObject &obj, const QName &x, const ContentsPtr &y, int index=0) |
| static void | appendElem (XmlObject &obj, const QName &x, const ContentsPtr &y) |
| static bool | isSetElem (const XmlObject &obj, const QName &x, int index=0) |
| static void | removeElems (XmlObject &obj, const QName &x) |
| static void | removeElemAt (XmlObject &obj, const QName &x, int index) |
| static int | countElems (const XmlObject &obj, const QName &x) |
| static bool | hasElements (const XmlObject &obj) |
| static ElemsType | getElems (const XmlObject &obj) |
| static AttrsType | getAttrs (const XmlObject &obj) |
| static AttrObjectsType | getAttrObjects (const XmlObject &obj) |
| static ContentsPtrArrayType | getElemArray (const XmlObject &obj, const QName &elemName) |
| template<typename T > | |
| static void | setElemArray (XmlObject &obj, const QName &elemName, const std::vector< T > &v) |
| static void | setElemArray (XmlObject &obj, const QName &elemName, const ContentsPtrArrayType &v) |
| static void | serializeDocument (const XmlObject &obj, std::ostream &o, XmlOptions options, const xmlbeansxx::SchemaType *st) |
| static void | setSimpleContent (XmlObject &obj, const std::string &c) |
| static std::string | getSimpleContent (const XmlObject &obj) |
| static bool | hasEmptyContent (XmlObject &obj) |
| static std::string | dump (const ContentsPtr &p) |
| static XmlObjectPtr | OrginalXmlObject (const ContentsPtr &p) |
| static std::string | digest (const XmlObject &obj) |
| typedef std::vector<std::pair<QName,ContentsPtr> > xmlbeansxx::Contents::Walker::AttrObjectsType |
| typedef std::vector<std::pair<QName,std::string> > xmlbeansxx::Contents::Walker::AttrsType |
| typedef std::vector<ContentsPtr> xmlbeansxx::Contents::Walker::ContentsPtrArrayType |
| typedef std::vector<std::pair<QName,ContentsPtr> > xmlbeansxx::Contents::Walker::ElemsType |
| void xmlbeansxx::Contents::Walker::appendElem | ( | XmlObject & | obj, |
| const QName & | x, | ||
| const ContentsPtr & | y | ||
| ) | [static] |
| ContentsPtr xmlbeansxx::Contents::Walker::cgetElem | ( | XmlObject & | obj, |
| const QName & | x, | ||
| int | index = 0 |
||
| ) | [static] |
| int xmlbeansxx::Contents::Walker::countElems | ( | const XmlObject & | obj, |
| const QName & | x | ||
| ) | [static] |
| std::string xmlbeansxx::Contents::Walker::digest | ( | const XmlObject & | obj | ) | [static] |
| std::string xmlbeansxx::Contents::Walker::dump | ( | const ContentsPtr & | p | ) | [static] |
| ContentsPtr xmlbeansxx::Contents::Walker::getAttr | ( | const XmlObject & | obj, |
| const QName & | x | ||
| ) | [static] |
| std::vector< std::pair< QName, ContentsPtr > > xmlbeansxx::Contents::Walker::getAttrObjects | ( | const XmlObject & | obj | ) | [static] |
| std::vector< std::pair< QName, std::string > > xmlbeansxx::Contents::Walker::getAttrs | ( | const XmlObject & | obj | ) | [static] |
| std::string xmlbeansxx::Contents::Walker::getAttrString | ( | const XmlObject & | obj, |
| const QName & | x | ||
| ) | [static] |
| ContentsPtr xmlbeansxx::Contents::Walker::getElem | ( | const XmlObject & | obj, |
| const QName & | x, | ||
| int | index = 0 |
||
| ) | [static] |
| std::vector< ContentsPtr > xmlbeansxx::Contents::Walker::getElemArray | ( | const XmlObject & | obj, |
| const QName & | elemName | ||
| ) | [static] |
| std::vector< std::pair< QName, ContentsPtr > > xmlbeansxx::Contents::Walker::getElems | ( | const XmlObject & | obj | ) | [static] |
| std::string xmlbeansxx::Contents::Walker::getSimpleContent | ( | const XmlObject & | obj | ) | [static] |
| bool xmlbeansxx::Contents::Walker::hasElements | ( | const XmlObject & | obj | ) | [static] |
| bool xmlbeansxx::Contents::Walker::hasEmptyContent | ( | XmlObject & | obj | ) | [static] |
returns true while this contents don't have any attributes and elements
| bool xmlbeansxx::Contents::Walker::isSetElem | ( | const XmlObject & | obj, |
| const QName & | x, | ||
| int | index = 0 |
||
| ) | [static] |
| XmlObjectPtr xmlbeansxx::Contents::Walker::OrginalXmlObject | ( | const ContentsPtr & | p | ) | [static] |
| void xmlbeansxx::Contents::Walker::removeElemAt | ( | XmlObject & | obj, |
| const QName & | x, | ||
| int | index | ||
| ) | [static] |
| void xmlbeansxx::Contents::Walker::removeElems | ( | XmlObject & | obj, |
| const QName & | x | ||
| ) | [static] |
| void xmlbeansxx::Contents::Walker::serializeDocument | ( | const XmlObject & | obj, |
| std::ostream & | o, | ||
| XmlOptions | options, | ||
| const xmlbeansxx::SchemaType * | st | ||
| ) | [static] |
| void xmlbeansxx::Contents::Walker::setAttr | ( | XmlObject & | obj, |
| const QName & | x, | ||
| const ContentsPtr & | y | ||
| ) | [static] |
| void xmlbeansxx::Contents::Walker::setAttr | ( | XmlObject & | obj, |
| const QName & | x, | ||
| const std::string & | y | ||
| ) | [static] |
| void xmlbeansxx::Contents::Walker::setElem | ( | XmlObject & | obj, |
| const QName & | x, | ||
| const ContentsPtr & | y, | ||
| int | index = 0 |
||
| ) | [static] |
| static void xmlbeansxx::Contents::Walker::setElemArray | ( | XmlObject & | obj, |
| const QName & | elemName, | ||
| const std::vector< T > & | v | ||
| ) | [inline, static] |
| static void xmlbeansxx::Contents::Walker::setElemArray | ( | XmlObject & | obj, |
| const QName & | elemName, | ||
| const ContentsPtrArrayType & | v | ||
| ) | [static] |
| void xmlbeansxx::Contents::Walker::setSimpleContent | ( | XmlObject & | obj, |
| const std::string & | c | ||
| ) | [static] |