OpenCPN Partial API docs
Loading...
Searching...
No Matches
pugi::xml_attribute Class Reference

Public Member Functions

 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 (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 352 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_attribute() [1/2]

PUGI__FN pugi::xml_attribute::xml_attribute ( )

Definition at line 4948 of file pugixml.cpp.

◆ xml_attribute() [2/2]

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

Definition at line 4950 of file pugixml.cpp.

Member Function Documentation

◆ as_bool()

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

Definition at line 5015 of file pugixml.cpp.

◆ as_double()

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

Definition at line 5007 of file pugixml.cpp.

◆ as_float()

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

Definition at line 5011 of file pugixml.cpp.

◆ as_int()

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

Definition at line 4999 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 4995 of file pugixml.cpp.

◆ as_uint()

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

Definition at line 5003 of file pugixml.cpp.

◆ empty()

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

Definition at line 5030 of file pugixml.cpp.

◆ hash_value()

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

Definition at line 5040 of file pugixml.cpp.

◆ internal_object()

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

Definition at line 5045 of file pugixml.cpp.

◆ name()

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

Definition at line 5032 of file pugixml.cpp.

◆ next_attribute()

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

Definition at line 4985 of file pugixml.cpp.

◆ operator unspecified_bool_type()

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

Definition at line 4955 of file pugixml.cpp.

◆ operator!()

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

Definition at line 4959 of file pugixml.cpp.

◆ operator!=()

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

Definition at line 4965 of file pugixml.cpp.

◆ operator<()

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

Definition at line 4969 of file pugixml.cpp.

◆ operator<=()

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

Definition at line 4977 of file pugixml.cpp.

◆ operator=() [1/8]

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

Definition at line 5084 of file pugixml.cpp.

◆ operator=() [2/8]

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

Definition at line 5049 of file pugixml.cpp.

◆ operator=() [3/8]

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

Definition at line 5074 of file pugixml.cpp.

◆ operator=() [4/8]

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

Definition at line 5079 of file pugixml.cpp.

◆ operator=() [5/8]

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

Definition at line 5054 of file pugixml.cpp.

◆ operator=() [6/8]

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

Definition at line 5064 of file pugixml.cpp.

◆ operator=() [7/8]

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

Definition at line 5059 of file pugixml.cpp.

◆ operator=() [8/8]

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

Definition at line 5069 of file pugixml.cpp.

◆ operator==()

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

Definition at line 4961 of file pugixml.cpp.

◆ operator>()

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

Definition at line 4973 of file pugixml.cpp.

◆ operator>=()

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

Definition at line 4981 of file pugixml.cpp.

◆ previous_attribute()

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

Definition at line 4989 of file pugixml.cpp.

◆ set_name()

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

Definition at line 5101 of file pugixml.cpp.

◆ set_value() [1/8]

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

Definition at line 5165 of file pugixml.cpp.

◆ set_value() [2/8]

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

Definition at line 5109 of file pugixml.cpp.

◆ set_value() [3/8]

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

Definition at line 5149 of file pugixml.cpp.

◆ set_value() [4/8]

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

Definition at line 5157 of file pugixml.cpp.

◆ set_value() [5/8]

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

Definition at line 5117 of file pugixml.cpp.

◆ set_value() [6/8]

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

Definition at line 5133 of file pugixml.cpp.

◆ set_value() [7/8]

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

Definition at line 5125 of file pugixml.cpp.

◆ set_value() [8/8]

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

Definition at line 5141 of file pugixml.cpp.

◆ value()

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

Definition at line 5036 of file pugixml.cpp.

Friends And Related Symbol Documentation

◆ xml_attribute_iterator

friend class xml_attribute_iterator
friend

Definition at line 353 of file pugixml.hpp.

◆ xml_node

friend class xml_node
friend

Definition at line 354 of file pugixml.hpp.


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