AP_Xml Class Reference

#include <AP_Xml.h>

Collaboration diagram for AP_Xml:

Collaboration graph

Public Member Functions

void AddChild (const AP_Xml &xml)
 AP_Xml (const AP_String &text)
 AP_Xml (void)
const AP_XmlChild (const AP_String &name, const AP_Uint32 count=0) const
const AP_XmlListchildren (void) const
AP_XmlList Children (const AP_String &name) const
AP_Bool IsChild (const AP_String &name) const
AP_Bool IsParam (const AP_String &name) const
AP_String name (void) const
AP_String Param (const AP_String &param, const AP_Uint32 count=0) const
const AP_Hashparams (void) const
AP_Array Params (const AP_String &param) const
AP_Bool SetName (const AP_String &name)
AP_Bool SetParams (const AP_String &params)
AP_String ToText (const AP_String &prefix="")
AP_Bool valid (void) const
virtual ~AP_Xml (void)

Protected Member Functions

AP_Bool buildRecursive (AP_String &text)
AP_Bool extractName (AP_String &text, AP_String &name)
AP_Bool extractParam (AP_String &text, AP_String &param)

Protected Attributes

AP_String _m_name
AP_Hash _m_params
AP_XmlList _m_xml

Constructor & Destructor Documentation

AP_Xml ( void   ) 

AP_Xml ( const AP_String text  ) 

~AP_Xml ( void   )  [virtual]

Member Function Documentation

void AddChild ( const AP_Xml xml  ) 

AP_Bool buildRecursive ( AP_String text  )  [protected]

const AP_Xml & Child ( const AP_String name,
const AP_Uint32  count = 0 
) const

const AP_XmlList& children ( void   )  const [inline]


AP_XmlList Children ( const AP_String name  )  const

AP_Bool extractName ( AP_String text,
AP_String name 
) [protected]

AP_Bool extractParam ( AP_String text,
AP_String param 
) [protected]

AP_Bool IsChild ( const AP_String name  )  const

AP_Bool IsParam ( const AP_String name  )  const

AP_String name ( void   )  const [inline]

AP_String Param ( const AP_String param,
const AP_Uint32  count = 0 
) const

const AP_Hash& params ( void   )  const [inline]

AP_Array Params ( const AP_String param  )  const

AP_Bool SetName ( const AP_String name  ) 

AP_Bool SetParams ( const AP_String params  ) 

AP_String ToText ( const AP_String prefix = ""  ) 

AP_Bool valid ( void   )  const [inline]

Field Documentation

AP_String _m_name [protected]

AP_Hash _m_params [protected]

AP_XmlList _m_xml [protected]

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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8