C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
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_t * name () const
const char_t * value () const
const char_t * as_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 (double rhs, int precision)
bool set_value (float rhs)
bool set_value (float rhs, int precision)
bool set_value (bool rhs)
xml_attribute & operator= (const char_t *rhs)
xml_attribute & operator= (int rhs)
xml_attribute & operator= (unsigned int rhs)
xml_attribute & operator= (long rhs)
xml_attribute & operator= (unsigned long rhs)
xml_attribute & operator= (double rhs)
xml_attribute & operator= (float rhs)
xml_attribute & operator= (bool rhs)
xml_attribute next_attribute () const
xml_attribute previous_attribute () const
size_t hash_value () const
xml_attribute_struct * internal_object () const

Friends

class xml_attribute_iterator
class xml_node

Detailed Description

Definition at line 360 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_attribute() [1/2]

PUGI__FN pugi::xml_attribute::xml_attribute ( )

Definition at line 5131 of file pugixml.cpp.

◆ xml_attribute() [2/2]

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

Definition at line 5135 of file pugixml.cpp.

Member Function Documentation

◆ as_bool()

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

Definition at line 5218 of file pugixml.cpp.

◆ as_double()

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

Definition at line 5208 of file pugixml.cpp.

◆ as_float()

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

Definition at line 5213 of file pugixml.cpp.

◆ as_int()

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

Definition at line 5198 of file pugixml.cpp.

◆ as_string()

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

Definition at line 5193 of file pugixml.cpp.

◆ as_uint()

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

Definition at line 5203 of file pugixml.cpp.

◆ empty()

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

Definition at line 5235 of file pugixml.cpp.

◆ hash_value()

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

Definition at line 5250 of file pugixml.cpp.

◆ internal_object()

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

Definition at line 5255 of file pugixml.cpp.

◆ name()

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

Definition at line 5240 of file pugixml.cpp.

◆ next_attribute()

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

Definition at line 5183 of file pugixml.cpp.

◆ operator unspecified_bool_type()

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

Definition at line 5143 of file pugixml.cpp.

◆ operator!()

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

Definition at line 5148 of file pugixml.cpp.

◆ operator!=()

Definition at line 5158 of file pugixml.cpp.

◆ operator<()

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

Definition at line 5163 of file pugixml.cpp.

◆ operator<=()

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

Definition at line 5173 of file pugixml.cpp.

◆ operator=() [1/8]

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

Definition at line 5302 of file pugixml.cpp.

◆ operator=() [2/8]

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

Definition at line 5260 of file pugixml.cpp.

◆ operator=() [3/8]

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

Definition at line 5290 of file pugixml.cpp.

◆ operator=() [4/8]

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

Definition at line 5296 of file pugixml.cpp.

◆ operator=() [5/8]

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

Definition at line 5266 of file pugixml.cpp.

◆ operator=() [6/8]

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

Definition at line 5278 of file pugixml.cpp.

◆ operator=() [7/8]

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

Definition at line 5272 of file pugixml.cpp.

◆ operator=() [8/8]

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

Definition at line 5284 of file pugixml.cpp.

◆ operator==()

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

Definition at line 5153 of file pugixml.cpp.

◆ operator>()

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

Definition at line 5168 of file pugixml.cpp.

◆ operator>=()

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

Definition at line 5178 of file pugixml.cpp.

◆ previous_attribute()

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

Definition at line 5188 of file pugixml.cpp.

◆ set_name()

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

Definition at line 5322 of file pugixml.cpp.

◆ set_value() [1/10]

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

Definition at line 5392 of file pugixml.cpp.

◆ set_value() [2/10]

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

Definition at line 5329 of file pugixml.cpp.

◆ set_value() [3/10]

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

Definition at line 5364 of file pugixml.cpp.

◆ set_value() [4/10]

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

Definition at line 5371 of file pugixml.cpp.

◆ set_value() [5/10]

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

Definition at line 5378 of file pugixml.cpp.

◆ set_value() [6/10]

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

Definition at line 5385 of file pugixml.cpp.

◆ set_value() [7/10]

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

Definition at line 5336 of file pugixml.cpp.

◆ set_value() [8/10]

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

Definition at line 5350 of file pugixml.cpp.

◆ set_value() [9/10]

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

Definition at line 5343 of file pugixml.cpp.

◆ set_value() [10/10]

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

Definition at line 5357 of file pugixml.cpp.

◆ value()

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

Definition at line 5245 of file pugixml.cpp.

◆ xml_attribute_iterator

friend class xml_attribute_iterator
friend

Definition at line 362 of file pugixml.hpp.

◆ xml_node

friend class xml_node
friend

Definition at line 363 of file pugixml.hpp.


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