Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
glooxwrapper::Tag Class Reference

#include <glooxwrapper.h>

Public Member Functions

gloox::Tag * getWrapped ()
 
gloox::Tag * stealWrapped ()
 
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::Tag * m_Wrapped
 
bool m_Owned
 

Constructor & Destructor Documentation

◆ Tag() [1/3]

glooxwrapper::Tag::Tag ( const string name)
private

◆ Tag() [2/3]

glooxwrapper::Tag::Tag ( const string name,
const string cdata 
)
private

◆ Tag() [3/3]

glooxwrapper::Tag::Tag ( gloox::Tag *  wrapped,
bool  owned 
)
inlineprivate

◆ ~Tag()

glooxwrapper::Tag::~Tag ( )
private

Member Function Documentation

◆ addAttribute()

bool glooxwrapper::Tag::addAttribute ( const string name,
const string value 
)

◆ addChild()

void glooxwrapper::Tag::addChild ( Tag child)

◆ allocate() [1/3]

glooxwrapper::Tag * glooxwrapper::Tag::allocate ( const string name)
static

◆ allocate() [2/3]

glooxwrapper::Tag * glooxwrapper::Tag::allocate ( const string name,
const string cdata 
)
static

◆ allocate() [3/3]

glooxwrapper::Tag * glooxwrapper::Tag::allocate ( gloox::Tag *  wrapped,
bool  owned 
)
static

◆ cdata()

glooxwrapper::string glooxwrapper::Tag::cdata ( ) const

◆ clone()

glooxwrapper::Tag * glooxwrapper::Tag::clone ( ) const

◆ findAttribute()

glooxwrapper::string glooxwrapper::Tag::findAttribute ( const string name) const

◆ findTag_clone()

const glooxwrapper::Tag * glooxwrapper::Tag::findTag_clone ( const string expression) const

◆ findTagList_clone()

glooxwrapper::ConstTagList glooxwrapper::Tag::findTagList_clone ( const string expression) const

◆ free()

void glooxwrapper::Tag::free ( const Tag tag)
static

◆ getWrapped()

gloox::Tag * glooxwrapper::Tag::getWrapped ( )
inline

◆ name()

glooxwrapper::string glooxwrapper::Tag::name ( ) const

◆ NONCOPYABLE()

glooxwrapper::Tag::NONCOPYABLE ( Tag  )
private

◆ setXmlns()

bool glooxwrapper::Tag::setXmlns ( const string xmlns)

◆ stealWrapped()

gloox::Tag * glooxwrapper::Tag::stealWrapped ( )
inline

◆ xml()

glooxwrapper::string glooxwrapper::Tag::xml ( ) const

◆ xmlns()

glooxwrapper::string glooxwrapper::Tag::xmlns ( ) const

Member Data Documentation

◆ m_Owned

bool glooxwrapper::Tag::m_Owned
private

◆ m_Wrapped

gloox::Tag* glooxwrapper::Tag::m_Wrapped
private

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