Public Member Functions | Private Types | Private Attributes | Friends
pugi::xml_attribute Class Reference

#include <pugixml.hpp>

List of all members.

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_tas_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_structinternal_object () const
const char_tname () 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_attributeoperator= (const char_t *rhs)
xml_attributeoperator= (int rhs)
xml_attributeoperator= (unsigned int rhs)
xml_attributeoperator= (double rhs)
xml_attributeoperator= (float rhs)
xml_attributeoperator= (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_tvalue () 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

Detailed Description

Definition at line 295 of file pugixml.hpp.


Member Typedef Documentation

Definition at line 303 of file pugixml.hpp.


Constructor & Destructor Documentation

Definition at line 4978 of file pugixml.cpp.

Definition at line 4982 of file pugixml.cpp.


Member Function Documentation

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.

Definition at line 5082 of file pugixml.cpp.

Definition at line 5097 of file pugixml.cpp.

Definition at line 5102 of file pugixml.cpp.

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.

Definition at line 4995 of file pugixml.cpp.

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.

Definition at line 5157 of file pugixml.cpp.

Definition at line 5164 of file pugixml.cpp.

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.

Definition at line 5185 of file pugixml.cpp.

Definition at line 5192 of file pugixml.cpp.

Definition at line 5199 of file pugixml.cpp.

Definition at line 5092 of file pugixml.cpp.


Friends And Related Function Documentation

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.


Member Data Documentation

Definition at line 301 of file pugixml.hpp.


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


pugixml
Author(s): Jose Luis Sanchez-Lopez
autogenerated on Thu Jun 6 2019 21:00:00