Fission FSN
Loading...
Searching...
No Matches
fsXmlNode Struct Reference

#include <fsCXml.h>

Public Types

typedef std::list< fsXmlNode * >::iterator _Iterator
typedef std::list< fsXmlAttribute * >::iterator _AttribIterator

Public Member Functions

_Iterator begin ()
_Iterator end ()
_AttribIterator attribs_begin ()
_AttribIterator attribs_end ()
 fsXmlNode ()
 ~fsXmlNode ()
void Clear ()
void AddChild (fsXmlNode *node)
void AddAttribute (fsXmlAttribute *attribute)
void AddAttribute (fsStr &name, fsStr &value)
void AddAttribute (fsStr &name, const char *value)
void UpdateAttribute (fsStr &name, const char *value)
void SetName (const char *name)
void SetName (const char *name, int len)
void SetValue (const char *value)
void SetValue (const char *value, int len)
const fsStrGetName () const
const fsStrGetValue () const
int GetValueAsInt () const
void PrintAttributes ()
void PrintTree (int level=0)
fsXmlNodeGetFirstNode ()
fsXmlNodeGetFirstNamedNode (const char *pNodeName, unsigned int pNameHash)
void GetNamedNodes (const char *pNodeName, unsigned int pNameHash, fsXmlNodeList *pNodes)
int GetAttributeCount () const
fsXmlAttributeGetAttribute (const char *name)
fsXmlAttributeGetAttribute (int index)
void ToLower (bool recursive)
void ToUpper (bool recursive)
void Copy (fsXmlNode *copy)
fsXmlNodeClone (fsXmlNode *parent)
fsXmlNodeCloneTree (fsXmlNode *parent)

Public Attributes

bool Managed
fsStr Name
fsStr Value
bool HasValue
fsXmlAttributeList Attributes
fsXmlNodeParent
fsXmlNodeList Children

Member Typedef Documentation

◆ _AttribIterator

typedef std::list<fsXmlAttribute*>::iterator fsXmlNode::_AttribIterator

◆ _Iterator

typedef std::list<fsXmlNode*>::iterator fsXmlNode::_Iterator

Constructor & Destructor Documentation

◆ fsXmlNode()

fsXmlNode::fsXmlNode ( )
inline

◆ ~fsXmlNode()

fsXmlNode::~fsXmlNode ( )

Member Function Documentation

◆ AddAttribute() [1/3]

void fsXmlNode::AddAttribute ( fsStr & name,
const char * value )

◆ AddAttribute() [2/3]

void fsXmlNode::AddAttribute ( fsStr & name,
fsStr & value )

◆ AddAttribute() [3/3]

void fsXmlNode::AddAttribute ( fsXmlAttribute * attribute)

◆ AddChild()

void fsXmlNode::AddChild ( fsXmlNode * node)
inline

◆ attribs_begin()

_AttribIterator fsXmlNode::attribs_begin ( )
inline

◆ attribs_end()

_AttribIterator fsXmlNode::attribs_end ( )
inline

◆ begin()

_Iterator fsXmlNode::begin ( )
inline

◆ Clear()

void fsXmlNode::Clear ( )
inline

◆ Clone()

fsXmlNode * fsXmlNode::Clone ( fsXmlNode * parent)

◆ CloneTree()

fsXmlNode * fsXmlNode::CloneTree ( fsXmlNode * parent)

◆ Copy()

void fsXmlNode::Copy ( fsXmlNode * copy)

◆ end()

_Iterator fsXmlNode::end ( )
inline

◆ GetAttribute() [1/2]

fsXmlAttribute * fsXmlNode::GetAttribute ( const char * name)

◆ GetAttribute() [2/2]

fsXmlAttribute * fsXmlNode::GetAttribute ( int index)

◆ GetAttributeCount()

int fsXmlNode::GetAttributeCount ( ) const
inline

◆ GetFirstNamedNode()

fsXmlNode * fsXmlNode::GetFirstNamedNode ( const char * pNodeName,
unsigned int pNameHash )

◆ GetFirstNode()

fsXmlNode * fsXmlNode::GetFirstNode ( )

◆ GetName()

const fsStr & fsXmlNode::GetName ( ) const
inline

◆ GetNamedNodes()

void fsXmlNode::GetNamedNodes ( const char * pNodeName,
unsigned int pNameHash,
fsXmlNodeList * pNodes )

◆ GetValue()

const fsStr & fsXmlNode::GetValue ( ) const
inline

◆ GetValueAsInt()

int fsXmlNode::GetValueAsInt ( ) const

◆ PrintAttributes()

void fsXmlNode::PrintAttributes ( )

◆ PrintTree()

void fsXmlNode::PrintTree ( int level = 0)

◆ SetName() [1/2]

void fsXmlNode::SetName ( const char * name)
inline

◆ SetName() [2/2]

void fsXmlNode::SetName ( const char * name,
int len )
inline

◆ SetValue() [1/2]

void fsXmlNode::SetValue ( const char * value)
inline

◆ SetValue() [2/2]

void fsXmlNode::SetValue ( const char * value,
int len )
inline

◆ ToLower()

void fsXmlNode::ToLower ( bool recursive)

◆ ToUpper()

void fsXmlNode::ToUpper ( bool recursive)

◆ UpdateAttribute()

void fsXmlNode::UpdateAttribute ( fsStr & name,
const char * value )

Member Data Documentation

◆ Attributes

fsXmlAttributeList fsXmlNode::Attributes

◆ Children

fsXmlNodeList fsXmlNode::Children

◆ HasValue

bool fsXmlNode::HasValue

◆ Managed

bool fsXmlNode::Managed

◆ Name

fsStr fsXmlNode::Name

◆ Parent

fsXmlNode* fsXmlNode::Parent

◆ Value

fsStr fsXmlNode::Value

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