Interface for XML attributes. More...
#include <sxml-i.h>
  
Public Member Functions | |
| LPVOID | GetPrivPtr () SCONST PURE | 
| Gets the private pointer associated with the attribute.   | |
| BOOL | Empty () SCONST PURE | 
| Checks if the attribute is empty.   | |
| const wchar_t * | Name () SCONST PURE | 
| Gets the name of the attribute.   | |
| const wchar_t * | Value () SCONST PURE | 
| Gets the value of the attribute.   | |
| BOOL | set_userdata (int data) PURE | 
| Sets user-defined data associated with the attribute.   | |
| int | get_userdata () SCONST PURE | 
| Gets user-defined data associated with the attribute.   | |
| IXmlAttr * | Next () PURE | 
| Gets the next attribute in the attribute list of the parent node.   | |
| IXmlAttr * | Prev () PURE | 
| Gets the previous attribute in the attribute list of the parent node.   | |
| int | AsInt (int def=0) PURE | 
| Converts the attribute value to an integer.   | |
| unsigned int | AsUint (int def=0) PURE | 
| Converts the attribute value to an unsigned integer.   | |
| float | AsFloat (float def=0.0f) PURE | 
| Converts the attribute value to a float.   | |
| double | AsDouble (double def=0.0) PURE | 
| Converts the attribute value to a double.   | |
| BOOL | AsBool (BOOL def=FALSE) PURE | 
| Converts the attribute value to a boolean.   | |
| BOOL IXmlAttr::AsBool | ( | BOOL | def = FALSE | ) | 
Converts the attribute value to a boolean.
| def | Default value to return if conversion fails. | 
Implemented in SXmlAttr.
| double IXmlAttr::AsDouble | ( | double | def = 0.0 | ) | 
Converts the attribute value to a double.
| def | Default value to return if conversion fails. | 
Implemented in SXmlAttr.
| float IXmlAttr::AsFloat | ( | float | def = 0.0f | ) | 
Converts the attribute value to a float.
| def | Default value to return if conversion fails. | 
Implemented in SXmlAttr.
| int IXmlAttr::AsInt | ( | int | def = 0 | ) | 
Converts the attribute value to an integer.
| def | Default value to return if conversion fails. | 
Implemented in SXmlAttr.
| unsigned int IXmlAttr::AsUint | ( | int | def = 0 | ) | 
Converts the attribute value to an unsigned integer.
| def | Default value to return if conversion fails. | 
Implemented in SXmlAttr.
| BOOL IXmlAttr::Empty | ( | ) | 
Checks if the attribute is empty.
Implemented in SXmlAttr.
| int IXmlAttr::get_userdata | ( | ) | 
Gets user-defined data associated with the attribute.
Implemented in SXmlAttr.
| LPVOID IXmlAttr::GetPrivPtr | ( | ) | 
Gets the private pointer associated with the attribute.
Implemented in SXmlAttr.
| const wchar_t * IXmlAttr::Name | ( | ) | 
Gets the name of the attribute.
Implemented in SXmlAttr.
| IXmlAttr * IXmlAttr::Next | ( | ) | 
Gets the next attribute in the attribute list of the parent node.
Implemented in SXmlAttr.
| IXmlAttr * IXmlAttr::Prev | ( | ) | 
Gets the previous attribute in the attribute list of the parent node.
Implemented in SXmlAttr.
| BOOL IXmlAttr::set_userdata | ( | int | data | ) | 
Sets user-defined data associated with the attribute.
| data | User-defined data. | 
Implemented in SXmlAttr.
| const wchar_t * IXmlAttr::Value | ( | ) | 
Gets the value of the attribute.
Implemented in SXmlAttr.