TraceX
 
Loading...
Searching...
No Matches
pugi::xml_attribute Class Reference

#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_tname () const
 
const char_tvalue () const
 
const char_tas_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_name (const char_t *rhs, size_t size)
 
bool set_value (const char_t *rhs)
 
bool set_value (const char_t *rhs, size_t size)
 
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_attributeoperator= (const char_t *rhs)
 
xml_attributeoperator= (int rhs)
 
xml_attributeoperator= (unsigned int rhs)
 
xml_attributeoperator= (long rhs)
 
xml_attributeoperator= (unsigned long rhs)
 
xml_attributeoperator= (double rhs)
 
xml_attributeoperator= (float rhs)
 
xml_attributeoperator= (bool rhs)
 
xml_attribute next_attribute () const
 
xml_attribute previous_attribute () const
 
size_t hash_value () const
 
xml_attribute_structinternal_object () const
 

Friends

class xml_attribute_iterator
 
class xml_node
 

Constructor & Destructor Documentation

◆ xml_attribute() [1/2]

PUGI_IMPL_FN pugi::xml_attribute::xml_attribute ( )
Here is the caller graph for this function:

◆ xml_attribute() [2/2]

PUGI_IMPL_FN pugi::xml_attribute::xml_attribute ( xml_attribute_struct * attr)
explicit

Member Function Documentation

◆ as_bool()

PUGI_IMPL_FN bool pugi::xml_attribute::as_bool ( bool def = false) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ as_double()

PUGI_IMPL_FN double pugi::xml_attribute::as_double ( double def = 0) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ as_float()

PUGI_IMPL_FN float pugi::xml_attribute::as_float ( float def = 0) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ as_int()

PUGI_IMPL_FN int pugi::xml_attribute::as_int ( int def = 0) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ as_string()

PUGI_IMPL_FN const char_t * pugi::xml_attribute::as_string ( const char_t * def = PUGIXML_TEXT("")) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ as_uint()

PUGI_IMPL_FN unsigned int pugi::xml_attribute::as_uint ( unsigned int def = 0) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ empty()

PUGI_IMPL_FN bool pugi::xml_attribute::empty ( ) const
Here is the caller graph for this function:

◆ hash_value()

PUGI_IMPL_FN size_t pugi::xml_attribute::hash_value ( ) const
Here is the caller graph for this function:

◆ internal_object()

PUGI_IMPL_FN xml_attribute_struct * pugi::xml_attribute::internal_object ( ) const
Here is the caller graph for this function:

◆ name()

PUGI_IMPL_FN const char_t * pugi::xml_attribute::name ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ next_attribute()

PUGI_IMPL_FN xml_attribute pugi::xml_attribute::next_attribute ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator unspecified_bool_type()

PUGI_IMPL_FN pugi::xml_attribute::operator xml_attribute::unspecified_bool_type ( ) const

◆ operator!()

PUGI_IMPL_FN bool pugi::xml_attribute::operator! ( ) const
Here is the caller graph for this function:

◆ operator!=()

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<()

PUGI_IMPL_FN bool pugi::xml_attribute::operator< ( const xml_attribute & r) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<=()

PUGI_IMPL_FN bool pugi::xml_attribute::operator<= ( const xml_attribute & r) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( bool rhs)
Here is the call graph for this function:

◆ operator=() [2/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( const char_t * rhs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [3/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( double rhs)
Here is the call graph for this function:

◆ operator=() [4/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( float rhs)
Here is the call graph for this function:

◆ operator=() [5/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( int rhs)
Here is the call graph for this function:

◆ operator=() [6/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( long rhs)
Here is the call graph for this function:

◆ operator=() [7/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( unsigned int rhs)
Here is the call graph for this function:

◆ operator=() [8/8]

PUGI_IMPL_FN xml_attribute & pugi::xml_attribute::operator= ( unsigned long rhs)
Here is the call graph for this function:

◆ operator==()

PUGI_IMPL_FN bool pugi::xml_attribute::operator== ( const xml_attribute & r) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator>()

PUGI_IMPL_FN bool pugi::xml_attribute::operator> ( const xml_attribute & r) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator>=()

PUGI_IMPL_FN bool pugi::xml_attribute::operator>= ( const xml_attribute & r) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ previous_attribute()

PUGI_IMPL_FN xml_attribute pugi::xml_attribute::previous_attribute ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_name() [1/2]

PUGI_IMPL_FN bool pugi::xml_attribute::set_name ( const char_t * rhs)
Here is the caller graph for this function:

◆ set_name() [2/2]

PUGI_IMPL_FN bool pugi::xml_attribute::set_name ( const char_t * rhs,
size_t size )

◆ set_value() [1/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( bool rhs)

◆ set_value() [2/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( const char_t * rhs)
Here is the caller graph for this function:

◆ set_value() [3/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( const char_t * rhs,
size_t size )

◆ set_value() [4/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( double rhs)

◆ set_value() [5/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( double rhs,
int precision )

◆ set_value() [6/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( float rhs)

◆ set_value() [7/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( float rhs,
int precision )

◆ set_value() [8/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( int rhs)

◆ set_value() [9/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( long rhs)

◆ set_value() [10/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( unsigned int rhs)

◆ set_value() [11/11]

PUGI_IMPL_FN bool pugi::xml_attribute::set_value ( unsigned long rhs)

◆ value()

PUGI_IMPL_FN const char_t * pugi::xml_attribute::value ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ xml_attribute_iterator

friend class xml_attribute_iterator
friend

◆ xml_node

friend class xml_node
friend

The documentation for this class was generated from the following files: