Pyrogenesis  trunk
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
glooxwrapper::Tag Class Reference

#include <glooxwrapper.h>

Public Member Functions

gloox::TaggetWrapped ()
 
gloox::TagstealWrapped ()
 
bool addAttribute (const string &name, const string &value)
 
string findAttribute (const string &name) const
 
Tagclone () const
 
string xmlns () const
 
bool setXmlns (const string &xmlns)
 
string xml () const
 
void addChild (Tag *child)
 
string name () const
 
string cdata () const
 
const TagfindTag_clone (const string &expression) const
 
ConstTagList findTagList_clone (const string &expression) const
 

Static Public Member Functions

static Tagallocate (gloox::Tag *wrapped, bool owned)
 
static Tagallocate (const string &name)
 
static Tagallocate (const string &name, const string &cdata)
 
static void free (const Tag *tag)
 

Private Member Functions

 NONCOPYABLE (Tag)
 
 Tag (const string &name)
 
 Tag (const string &name, const string &cdata)
 
 Tag (gloox::Tag *wrapped, bool owned)
 
 ~Tag ()
 

Private Attributes

gloox::Tagm_Wrapped
 
bool m_Owned
 

Constructor & Destructor Documentation

glooxwrapper::Tag::Tag ( const string name)
private
glooxwrapper::Tag::Tag ( const string name,
const string cdata 
)
private
glooxwrapper::Tag::Tag ( gloox::Tag *  wrapped,
bool  owned 
)
inlineprivate
glooxwrapper::Tag::~Tag ( )
private

Member Function Documentation

bool glooxwrapper::Tag::addAttribute ( const string name,
const string value 
)
void glooxwrapper::Tag::addChild ( Tag child)
glooxwrapper::Tag * glooxwrapper::Tag::allocate ( gloox::Tag wrapped,
bool  owned 
)
static
glooxwrapper::Tag * glooxwrapper::Tag::allocate ( const string name)
static
glooxwrapper::Tag * glooxwrapper::Tag::allocate ( const string name,
const string cdata 
)
static
glooxwrapper::string glooxwrapper::Tag::cdata ( ) const
glooxwrapper::Tag * glooxwrapper::Tag::clone ( ) const
glooxwrapper::string glooxwrapper::Tag::findAttribute ( const string name) const
const glooxwrapper::Tag * glooxwrapper::Tag::findTag_clone ( const string expression) const
glooxwrapper::ConstTagList glooxwrapper::Tag::findTagList_clone ( const string expression) const
void glooxwrapper::Tag::free ( const Tag tag)
static
gloox::Tag* glooxwrapper::Tag::getWrapped ( )
inline
glooxwrapper::string glooxwrapper::Tag::name ( ) const
glooxwrapper::Tag::NONCOPYABLE ( Tag  )
private
bool glooxwrapper::Tag::setXmlns ( const string xmlns)
gloox::Tag* glooxwrapper::Tag::stealWrapped ( )
inline
glooxwrapper::string glooxwrapper::Tag::xml ( ) const
glooxwrapper::string glooxwrapper::Tag::xmlns ( ) const

Member Data Documentation

bool glooxwrapper::Tag::m_Owned
private
gloox::Tag* glooxwrapper::Tag::m_Wrapped
private

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