XMLBEANSXX
0.9.8
|
#include <ContentsImpl.h>
Public Member Functions | |
StringContents (const SchemaType *st) | |
StringContents (const std::string &str) | |
StringContents (const SchemaType *st, const std::string &str) | |
virtual | ~StringContents () |
virtual void | setSimpleContent (const std::string &c) |
virtual std::string | getSimpleContent () const |
virtual std::string | getCanonicalContent () const |
virtual ContentsPtr | getAttr (const QName &attrName) const |
virtual void | setAttr (const QName &attrName, ContentsPtr value) |
virtual ContentsPtr | getElem (const QName &elemName, int index=0) const |
virtual void | setElem (const QName &elemName, ContentsPtr value, int index=0) |
virtual bool | isSetElem (const QName &elemName, int index=0) |
virtual void | removeElems (const QName &elemName) |
virtual void | removeElemAt (const QName &elemName, int index) |
virtual int | countElems (const QName &elemName) const |
virtual bool | hasElements () const |
virtual std::vector< ContentsPtr > | getElemArray (const QName &elemName) const |
virtual bool | hasEmptyContent () const |
virtual std::vector< std::pair < QName, ContentsPtr > > | getElems (bool) const |
virtual std::vector< std::pair < QName, std::string > > | getAttrs () const |
virtual std::vector< std::pair < QName, ContentsPtr > > | getAttrs2 () const |
virtual ContentsPtr | clone () |
virtual void | free () |
virtual void | serializeDocument (std::ostream &o, XmlOptions options) const |
Private Member Functions | |
virtual void | serialize (bool printXsiType, const QName &elemName, std::ostream &o, NSMapSerializer &ns, XmlOptions options) const |
virtual void | serializeAttrs (std::ostream &o, NSMapSerializer &ns, XmlOptions options) const |
virtual void | serializeElems (std::ostream &o, NSMapSerializer &ns, XmlOptions options) const |
Private Attributes | |
std::string | value |
xmlbeansxx::StringContents::StringContents | ( | const SchemaType * | st | ) | [inline] |
xmlbeansxx::StringContents::StringContents | ( | const std::string & | str | ) |
xmlbeansxx::StringContents::StringContents | ( | const SchemaType * | st, |
const std::string & | str | ||
) | [inline] |
virtual xmlbeansxx::StringContents::~StringContents | ( | ) | [inline, virtual] |
virtual ContentsPtr xmlbeansxx::StringContents::clone | ( | ) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual int xmlbeansxx::StringContents::countElems | ( | const QName & | elemName | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::free | ( | ) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual ContentsPtr xmlbeansxx::StringContents::getAttr | ( | const QName & | attrName | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual std::vector<std::pair<QName,std::string> > xmlbeansxx::StringContents::getAttrs | ( | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual std::vector<std::pair<QName,ContentsPtr> > xmlbeansxx::StringContents::getAttrs2 | ( | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual std::string xmlbeansxx::StringContents::getCanonicalContent | ( | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual ContentsPtr xmlbeansxx::StringContents::getElem | ( | const QName & | elemName, |
int | index = 0 |
||
) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual std::vector<ContentsPtr> xmlbeansxx::StringContents::getElemArray | ( | const QName & | elemName | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual std::vector<std::pair<QName,ContentsPtr> > xmlbeansxx::StringContents::getElems | ( | bool | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual std::string xmlbeansxx::StringContents::getSimpleContent | ( | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual bool xmlbeansxx::StringContents::hasElements | ( | ) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual bool xmlbeansxx::StringContents::hasEmptyContent | ( | ) | const [inline, virtual] |
returns true while this contents don't have any attributes and elements
Reimplemented from xmlbeansxx::Contents.
virtual bool xmlbeansxx::StringContents::isSetElem | ( | const QName & | elemName, |
int | index = 0 |
||
) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::removeElemAt | ( | const QName & | elemName, |
int | index | ||
) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::removeElems | ( | const QName & | elemName | ) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::serialize | ( | bool | printXsiType, |
const QName & | elemName, | ||
std::ostream & | o, | ||
NSMapSerializer & | ns, | ||
XmlOptions | options | ||
) | const [inline, private, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::serializeAttrs | ( | std::ostream & | o, |
NSMapSerializer & | ns, | ||
XmlOptions | options | ||
) | const [inline, private, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::serializeDocument | ( | std::ostream & | o, |
XmlOptions | options | ||
) | const [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::serializeElems | ( | std::ostream & | o, |
NSMapSerializer & | ns, | ||
XmlOptions | options | ||
) | const [inline, private, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::setAttr | ( | const QName & | attrName, |
ContentsPtr | value | ||
) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::setElem | ( | const QName & | elemName, |
ContentsPtr | value, | ||
int | index = 0 |
||
) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
virtual void xmlbeansxx::StringContents::setSimpleContent | ( | const std::string & | c | ) | [inline, virtual] |
Reimplemented from xmlbeansxx::Contents.
std::string xmlbeansxx::StringContents::value [private] |