XMLBEANSXX  0.9.8
xmlbeansxx::StringContents Class Reference

#include <ContentsImpl.h>

Inheritance diagram for xmlbeansxx::StringContents:
Collaboration diagram for xmlbeansxx::StringContents:

List of all members.

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< ContentsPtrgetElemArray (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

Constructor & Destructor Documentation

xmlbeansxx::StringContents::StringContents ( const std::string &  str)
xmlbeansxx::StringContents::StringContents ( const SchemaType st,
const std::string &  str 
) [inline]
virtual xmlbeansxx::StringContents::~StringContents ( ) [inline, virtual]

Member Function Documentation

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.


Member Data Documentation

std::string xmlbeansxx::StringContents::value [private]

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