#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 |
xml_node | data () const |
bool | empty () const |
const char_t * | get () const |
operator unspecified_bool_type () const | |
bool | operator! () const |
xml_text & | operator= (const char_t *rhs) |
xml_text & | operator= (int rhs) |
xml_text & | operator= (unsigned int rhs) |
xml_text & | operator= (double rhs) |
xml_text & | operator= (float rhs) |
xml_text & | operator= (bool rhs) |
bool | set (const char_t *rhs) |
bool | set (int rhs) |
bool | set (unsigned int rhs) |
bool | set (double rhs) |
bool | set (float rhs) |
bool | set (bool rhs) |
xml_text () | |
Private Types | |
typedef void(* | unspecified_bool_type )(xml_text ***) |
Private Member Functions | |
xml_node_struct * | _data () const |
xml_node_struct * | _data_new () |
xml_text (xml_node_struct *root) | |
Private Attributes | |
xml_node_struct * | _root |
Friends | |
class | xml_node |
Definition at line 652 of file pugixml.hpp.
typedef void(* pugi::xml_text::unspecified_bool_type)(xml_text ***) [private] |
Definition at line 658 of file pugixml.hpp.
PUGI__FN pugi::xml_text::xml_text | ( | xml_node_struct * | root | ) | [explicit, private] |
Definition at line 6186 of file pugixml.cpp.
Definition at line 6209 of file pugixml.cpp.
PUGI__FN xml_node_struct * pugi::xml_text::_data | ( | ) | const [private] |
Definition at line 6190 of file pugixml.cpp.
PUGI__FN xml_node_struct * pugi::xml_text::_data_new | ( | ) | [private] |
Definition at line 6201 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::as_bool | ( | bool | def = false | ) | const |
Definition at line 6274 of file pugixml.cpp.
PUGI__FN double pugi::xml_text::as_double | ( | double | def = 0 | ) | const |
Definition at line 6260 of file pugixml.cpp.
PUGI__FN float pugi::xml_text::as_float | ( | float | def = 0 | ) | const |
Definition at line 6267 of file pugixml.cpp.
PUGI__FN int pugi::xml_text::as_int | ( | int | def = 0 | ) | const |
Definition at line 6246 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_text::as_string | ( | const char_t * | def = PUGIXML_TEXT("") | ) | const |
Definition at line 6239 of file pugixml.cpp.
PUGI__FN unsigned int pugi::xml_text::as_uint | ( | unsigned int | def = 0 | ) | const |
Definition at line 6253 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_text::data | ( | ) | const |
Definition at line 6405 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::empty | ( | ) | const |
Definition at line 6227 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_text::get | ( | ) | const |
Definition at line 6232 of file pugixml.cpp.
PUGI__FN pugi::xml_text::operator xml_text::unspecified_bool_type | ( | ) | const |
Definition at line 6217 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::operator! | ( | ) | const |
Definition at line 6222 of file pugixml.cpp.
Definition at line 6355 of file pugixml.cpp.
Definition at line 6361 of file pugixml.cpp.
Definition at line 6367 of file pugixml.cpp.
Definition at line 6373 of file pugixml.cpp.
Definition at line 6379 of file pugixml.cpp.
Definition at line 6385 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::set | ( | const char_t * | rhs | ) |
Definition at line 6297 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::set | ( | int | rhs | ) |
Definition at line 6304 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::set | ( | unsigned int | rhs | ) |
Definition at line 6311 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::set | ( | double | rhs | ) |
Definition at line 6325 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::set | ( | float | rhs | ) |
Definition at line 6318 of file pugixml.cpp.
PUGI__FN bool pugi::xml_text::set | ( | bool | rhs | ) |
Definition at line 6332 of file pugixml.cpp.
friend class xml_node [friend] |
Definition at line 654 of file pugixml.hpp.
xml_node_struct* pugi::xml_text::_root [private] |
Definition at line 656 of file pugixml.hpp.