HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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_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 (float rhs)
 
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
 

Detailed Description

Definition at line 333 of file pugixml.hpp.

Constructor & Destructor Documentation

PUGI__FN pugi::xml_attribute::xml_attribute ( )

Definition at line 5066 of file pugixml.cpp.

PUGI__FN pugi::xml_attribute::xml_attribute ( xml_attribute_struct attr)
explicit

Definition at line 5070 of file pugixml.cpp.

Member Function Documentation

PUGI__FN bool pugi::xml_attribute::as_bool ( bool  def = false) const

Definition at line 5153 of file pugixml.cpp.

PUGI__FN double pugi::xml_attribute::as_double ( double  def = 0) const

Definition at line 5143 of file pugixml.cpp.

PUGI__FN float pugi::xml_attribute::as_float ( float  def = 0) const

Definition at line 5148 of file pugixml.cpp.

PUGI__FN int pugi::xml_attribute::as_int ( int  def = 0) const

Definition at line 5133 of file pugixml.cpp.

PUGI__FN const char_t * pugi::xml_attribute::as_string ( const char_t def = PUGIXML_TEXT("")) const

Definition at line 5128 of file pugixml.cpp.

PUGI__FN unsigned int pugi::xml_attribute::as_uint ( unsigned int  def = 0) const

Definition at line 5138 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::empty ( void  ) const

Definition at line 5170 of file pugixml.cpp.

PUGI__FN size_t pugi::xml_attribute::hash_value ( ) const

Definition at line 5185 of file pugixml.cpp.

PUGI__FN xml_attribute_struct * pugi::xml_attribute::internal_object ( ) const

Definition at line 5190 of file pugixml.cpp.

PUGI__FN const char_t * pugi::xml_attribute::name ( void  ) const

Definition at line 5175 of file pugixml.cpp.

PUGI__FN xml_attribute pugi::xml_attribute::next_attribute ( ) const

Definition at line 5118 of file pugixml.cpp.

pugi::xml_attribute::operator unspecified_bool_type ( ) const
PUGI__FN bool pugi::xml_attribute::operator! ( void  ) const

Definition at line 5083 of file pugixml.cpp.

Definition at line 5093 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::operator< ( const xml_attribute r) const

Definition at line 5098 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::operator<= ( const xml_attribute r) const

Definition at line 5108 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( const char_t rhs)

Definition at line 5195 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( int  rhs)

Definition at line 5201 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( unsigned int  rhs)

Definition at line 5207 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( long  rhs)

Definition at line 5213 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( unsigned long  rhs)

Definition at line 5219 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( double  rhs)

Definition at line 5225 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( float  rhs)

Definition at line 5231 of file pugixml.cpp.

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( bool  rhs)

Definition at line 5237 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::operator== ( const xml_attribute r) const

Definition at line 5088 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::operator> ( const xml_attribute r) const

Definition at line 5103 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::operator>= ( const xml_attribute r) const

Definition at line 5113 of file pugixml.cpp.

PUGI__FN xml_attribute pugi::xml_attribute::previous_attribute ( ) const

Definition at line 5123 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::set_name ( const char_t rhs)

Definition at line 5257 of file pugixml.cpp.

PUGI__FN bool pugi::xml_attribute::set_value ( const char_t rhs)

Definition at line 5264 of file pugixml.cpp.

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

Definition at line 5271 of file pugixml.cpp.

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

Definition at line 5278 of file pugixml.cpp.

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

Definition at line 5285 of file pugixml.cpp.

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

Definition at line 5292 of file pugixml.cpp.

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

Definition at line 5299 of file pugixml.cpp.

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

Definition at line 5306 of file pugixml.cpp.

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

Definition at line 5313 of file pugixml.cpp.

PUGI__FN const char_t * pugi::xml_attribute::value ( ) const

Definition at line 5180 of file pugixml.cpp.

Friends And Related Function Documentation

Definition at line 335 of file pugixml.hpp.

friend class xml_node
friend

Definition at line 336 of file pugixml.hpp.


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