#include <pugixml.hpp>
Public Member Functions | |
bool | as_bool (bool def=false) const |
double | as_double (double def=0) const |
float | as_float (float def=0) const |
int | as_int (int def=0) const |
const char_t * | as_string (const char_t *def=PUGIXML_TEXT("")) const |
unsigned int | as_uint (unsigned int def=0) const |
bool | empty () const |
size_t | hash_value () const |
xml_attribute_struct * | internal_object () const |
const char_t * | name () const |
xml_attribute | next_attribute () const |
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 |
xml_attribute & | operator= (const char_t *rhs) |
xml_attribute & | operator= (int rhs) |
xml_attribute & | operator= (unsigned int rhs) |
xml_attribute & | operator= (double rhs) |
xml_attribute & | operator= (float rhs) |
xml_attribute & | operator= (bool rhs) |
bool | operator== (const xml_attribute &r) const |
bool | operator> (const xml_attribute &r) const |
bool | operator>= (const xml_attribute &r) const |
xml_attribute | previous_attribute () 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 (double rhs) |
bool | set_value (float rhs) |
bool | set_value (bool rhs) |
const char_t * | value () const |
xml_attribute () | |
xml_attribute (xml_attribute_struct *attr) | |
Private Types | |
typedef void(* | unspecified_bool_type )(xml_attribute ***) |
Private Attributes | |
xml_attribute_struct * | _attr |
Friends | |
class | xml_attribute_iterator |
class | xml_node |
Definition at line 295 of file pugixml.hpp.
typedef void(* pugi::xml_attribute::unspecified_bool_type)(xml_attribute ***) [private] |
Definition at line 303 of file pugixml.hpp.
Definition at line 4978 of file pugixml.cpp.
PUGI__FN pugi::xml_attribute::xml_attribute | ( | xml_attribute_struct * | attr | ) | [explicit] |
Definition at line 4982 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::as_bool | ( | bool | def = false | ) | const |
Definition at line 5065 of file pugixml.cpp.
PUGI__FN double pugi::xml_attribute::as_double | ( | double | def = 0 | ) | const |
Definition at line 5055 of file pugixml.cpp.
PUGI__FN float pugi::xml_attribute::as_float | ( | float | def = 0 | ) | const |
Definition at line 5060 of file pugixml.cpp.
PUGI__FN int pugi::xml_attribute::as_int | ( | int | def = 0 | ) | const |
Definition at line 5045 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_attribute::as_string | ( | const char_t * | def = PUGIXML_TEXT("") | ) | const |
Definition at line 5040 of file pugixml.cpp.
PUGI__FN unsigned int pugi::xml_attribute::as_uint | ( | unsigned int | def = 0 | ) | const |
Definition at line 5050 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::empty | ( | ) | const |
Definition at line 5082 of file pugixml.cpp.
PUGI__FN size_t pugi::xml_attribute::hash_value | ( | ) | const |
Definition at line 5097 of file pugixml.cpp.
Definition at line 5102 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_attribute::name | ( | ) | const |
Definition at line 5087 of file pugixml.cpp.
Definition at line 5030 of file pugixml.cpp.
PUGI__FN pugi::xml_attribute::operator xml_attribute::unspecified_bool_type | ( | ) | const |
Definition at line 4990 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator! | ( | ) | const |
Definition at line 4995 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator!= | ( | const xml_attribute & | r | ) | const |
Definition at line 5005 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator< | ( | const xml_attribute & | r | ) | const |
Definition at line 5010 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator<= | ( | const xml_attribute & | r | ) | const |
Definition at line 5020 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | const char_t * | rhs | ) |
Definition at line 5107 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | int | rhs | ) |
Definition at line 5113 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | unsigned int | rhs | ) |
Definition at line 5119 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | double | rhs | ) |
Definition at line 5125 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | float | rhs | ) |
Definition at line 5131 of file pugixml.cpp.
PUGI__FN xml_attribute & pugi::xml_attribute::operator= | ( | bool | rhs | ) |
Definition at line 5137 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator== | ( | const xml_attribute & | r | ) | const |
Definition at line 5000 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator> | ( | const xml_attribute & | r | ) | const |
Definition at line 5015 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::operator>= | ( | const xml_attribute & | r | ) | const |
Definition at line 5025 of file pugixml.cpp.
Definition at line 5035 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_name | ( | const char_t * | rhs | ) |
Definition at line 5157 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | const char_t * | rhs | ) |
Definition at line 5164 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | int | rhs | ) |
Definition at line 5171 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | unsigned int | rhs | ) |
Definition at line 5178 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | double | rhs | ) |
Definition at line 5185 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | float | rhs | ) |
Definition at line 5192 of file pugixml.cpp.
PUGI__FN bool pugi::xml_attribute::set_value | ( | bool | rhs | ) |
Definition at line 5199 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_attribute::value | ( | ) | const |
Definition at line 5092 of file pugixml.cpp.
friend class xml_attribute_iterator [friend] |
Definition at line 297 of file pugixml.hpp.
friend class xml_node [friend] |
Definition at line 298 of file pugixml.hpp.
xml_attribute_struct* pugi::xml_attribute::_attr [private] |
Definition at line 301 of file pugixml.hpp.