HDK
|
#include <pugixml.hpp>
Public Member Functions | |
xml_attribute () | |
xml_attribute (xml_attribute_struct *attr) | |
operator unspecified_bool_type () const | |
bool | operator! () const |
bool | operator== (const xml_attribute &r) const |
bool | operator!= (const xml_attribute &r) const |
bool | operator< (const xml_attribute &r) const |
bool | operator> (const xml_attribute &r) const |
bool | operator<= (const xml_attribute &r) const |
bool | operator>= (const xml_attribute &r) const |
bool | empty () const |
const char_t * | name () const |
const char_t * | value () const |
const char_t * | as_string (const char_t *def=PUGIXML_TEXT("")) const |
int | as_int (int def=0) const |
unsigned int | as_uint (unsigned int def=0) const |
double | as_double (double def=0) const |
float | as_float (float def=0) const |
bool | as_bool (bool def=false) const |
bool | set_name (const char_t *rhs) |
bool | set_value (const char_t *rhs) |
bool | set_value (int rhs) |
bool | set_value (unsigned int rhs) |
bool | set_value (long rhs) |
bool | set_value (unsigned long rhs) |
bool | set_value (double rhs) |
bool | set_value (double rhs, int precision) |
bool | set_value (float rhs) |
bool | set_value (float rhs, int precision) |
bool | set_value (bool rhs) |
xml_attribute & | operator= (const char_t *rhs) |
xml_attribute & | operator= (int rhs) |
xml_attribute & | operator= (unsigned int rhs) |
xml_attribute & | operator= (long rhs) |
xml_attribute & | operator= (unsigned long rhs) |
xml_attribute & | operator= (double rhs) |
xml_attribute & | operator= (float rhs) |
xml_attribute & | operator= (bool rhs) |
xml_attribute | next_attribute () const |
xml_attribute | previous_attribute () const |
size_t | hash_value () const |
xml_attribute_struct * | internal_object () const |
Friends | |
class | xml_attribute_iterator |
class | xml_node |
Definition at line 374 of file pugixml.hpp.
PUGI__FN pugi::xml_attribute::xml_attribute | ( | ) |
Definition at line 5135 of file pugixml.cpp.
|
explicit |
Definition at line 5139 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::as_bool | ( | bool | def = false | ) | const |
Definition at line 5222 of file pugixml.cpp.
PUGI__FN double pugi::xml_attribute::as_double | ( | double | def = 0 | ) | const |
Definition at line 5212 of file pugixml.cpp.
Definition at line 5217 of file pugixml.cpp.
Definition at line 5202 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_attribute::as_string | ( | const char_t * | def = PUGIXML_TEXT("") | ) | const |
Definition at line 5197 of file pugixml.cpp.
Definition at line 5207 of file pugixml.cpp.
Definition at line 5239 of file pugixml.cpp.
PUGI__FN size_t pugi::xml_attribute::hash_value | ( | ) | const |
Definition at line 5254 of file pugixml.cpp.
PUGI__FN xml_attribute_struct * pugi::xml_attribute::internal_object | ( | ) | const |
Definition at line 5259 of file pugixml.cpp.
Definition at line 5244 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_attribute::next_attribute | ( | ) | const |
Definition at line 5187 of file pugixml.cpp.
pugi::xml_attribute::operator unspecified_bool_type | ( | ) | const |
Definition at line 5152 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator!= | ( | const xml_attribute & | r | ) | const |
Definition at line 5162 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator< | ( | const xml_attribute & | r | ) | const |
Definition at line 5167 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator<= | ( | const xml_attribute & | r | ) | const |
Definition at line 5177 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | const char_t * | rhs | ) |
Definition at line 5264 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | int | rhs | ) |
Definition at line 5270 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | unsigned int | rhs | ) |
Definition at line 5276 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | long | rhs | ) |
Definition at line 5282 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | unsigned long | rhs | ) |
Definition at line 5288 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | double | rhs | ) |
Definition at line 5294 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | float | rhs | ) |
Definition at line 5300 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | bool | rhs | ) |
Definition at line 5306 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator== | ( | const xml_attribute & | r | ) | const |
Definition at line 5157 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator> | ( | const xml_attribute & | r | ) | const |
Definition at line 5172 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator>= | ( | const xml_attribute & | r | ) | const |
Definition at line 5182 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_attribute::previous_attribute | ( | ) | const |
Definition at line 5192 of file pugixml.cpp.
Definition at line 5326 of file pugixml.cpp.
Definition at line 5333 of file pugixml.cpp.
Definition at line 5340 of file pugixml.cpp.
Definition at line 5347 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | long | rhs | ) |
Definition at line 5354 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | unsigned long | rhs | ) |
Definition at line 5361 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | double | rhs | ) |
Definition at line 5368 of file pugixml.cpp.
Definition at line 5375 of file pugixml.cpp.
Definition at line 5382 of file pugixml.cpp.
Definition at line 5389 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | bool | rhs | ) |
Definition at line 5396 of file pugixml.cpp.
Definition at line 5249 of file pugixml.cpp.
|
friend |
Definition at line 376 of file pugixml.hpp.
Definition at line 377 of file pugixml.hpp.