loggingXMLParser::XMLElement − |
#include <loggingXMLElement.h> |
Public Types |
typedef ACE_Hash_Map_Manager< ACE_CString, ACE_CString, ACE_Thread_Mutex > ATTRIBUTE_HASH_MAP |
Attributes name-value hashmap typedefs. |
typedef ACE_Hash_Map_Iterator< ACE_CString, ACE_CString, ACE_Thread_Mutex > ATTRIBUTE_HASH_MAP_ITER |
typedef ACE_Hash_Map_Entry< ACE_CString, ACE_CString > ATTRIBUTE_HASH_MAP_ENTRY |
Public Member Functions |
XMLElement () |
Constrcutor. |
~XMLElement () |
Destrcutor. |
const ACE_TCHAR * name () |
const ACE_TCHAR * value () |
void name (const ACE_CString &name) |
void value (const ACE_CString &value) |
int addAttribute (const ACE_CString &name, const ACE_CString &value) |
int getAttribute (const ACE_CString &name, ACE_CString &value) |
ATTRIBUTE_HASH_MAP_ITER getAttributesIterator (void) |
Private Attributes |
ACE_CString m_name |
XML element name. |
ACE_CString m_value |
XML element value. |
ATTRIBUTE_HASH_MAP m_attributes |
XML element attributes. |
typedef ACE_Hash_Map_Manager<ACE_CString, ACE_CString, ACE_Thread_Mutex> loggingXMLParser::XMLElement::ATTRIBUTE_HASH_MAP |
Attributes name-value hashmap typedefs. |
typedef ACE_Hash_Map_Entry<ACE_CString, ACE_CString> loggingXMLParser::XMLElement::ATTRIBUTE_HASH_MAP_ENTRY |
typedef ACE_Hash_Map_Iterator<ACE_CString, ACE_CString, ACE_Thread_Mutex> loggingXMLParser::XMLElement::ATTRIBUTE_HASH_MAP_ITER |
loggingXMLParser::XMLElement::XMLElement () |
Constrcutor. |
loggingXMLParser::XMLElement::~XMLElement () |
Destrcutor. |
int loggingXMLParser::XMLElement::addAttribute (const ACE_CString & name, const ACE_CString & value) Add attribute to the element WARNING: Names are case-sensitive!!! |
Parameters: |
name |
Returns: |
0 on success, -1 on failure |
int loggingXMLParser::XMLElement::getAttribute (const ACE_CString & name, ACE_CString & value) Get attribute of the element |
Parameters: |
name |
Returns: |
0 on success, -1 on failure |
ATTRIBUTE_HASH_MAP_ITER loggingXMLParser::XMLElement::getAttributesIterator (void) Get iterator of all element’s attributes |
Returns: |
iterator of all element’s attributes |
const ACE_TCHAR* loggingXMLParser::XMLElement::name () Get name |
Returns: |
name |
void loggingXMLParser::XMLElement::name (const ACE_CString & name) Set name |
void loggingXMLParser::XMLElement::value (const ACE_CString & value) Set value |
const ACE_TCHAR* loggingXMLParser::XMLElement::value () Get value |
Returns: |
value |
ATTRIBUTE_HASH_MAP loggingXMLParser::XMLElement::m_attributes [private] |
XML element attributes. |
ACE_CString loggingXMLParser::XMLElement::m_name [private] |
XML element name. |
ACE_CString loggingXMLParser::XMLElement::m_value [private] |
XML element value. |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |