OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
OpenXLSX::XMLAttribute Class Reference

#include <XLXmlParser.hpp>

Public Member Functions

 XMLAttribute ()
 XMLAttribute (pugi::xml_attribute_struct *attr)
 XMLAttribute (const pugi::xml_attribute &attr)
bool operator== (const XMLAttribute &other) const
bool operator!= (const XMLAttribute &other) const
 operator bool () const
bool empty () const
const char * name () const
const char * value () const
bool set_name (const char *rhs)
bool set_value (const char *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 (bool rhs)
bool set_value (long long rhs)
bool set_value (unsigned long long rhs)
XMLAttribute & operator= (const char *rhs)
XMLAttribute & operator= (int rhs)
XMLAttribute & operator= (unsigned int rhs)
XMLAttribute & operator= (long rhs)
XMLAttribute & operator= (unsigned long rhs)
XMLAttribute & operator= (double rhs)
XMLAttribute & operator= (bool rhs)
XMLAttribute & operator= (long long rhs)
XMLAttribute & operator= (unsigned long long rhs)
const char * as_string (const char *def="") 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.0f) const
bool as_bool (bool def=false) const
unsigned long long as_ullong (unsigned long long def=0) const
long long as_llong (long long def=0) const
XMLAttribute next_attribute () const
XMLAttribute previous_attribute () const
 operator pugi::xml_attribute () const
pugi::xml_attribute_struct * internal_object () const

Constructor & Destructor Documentation

◆ XMLAttribute() [1/3]

OpenXLSX::XMLAttribute::XMLAttribute ( )

◆ XMLAttribute() [2/3]

OpenXLSX::XMLAttribute::XMLAttribute ( pugi::xml_attribute_struct * attr)

◆ XMLAttribute() [3/3]

OpenXLSX::XMLAttribute::XMLAttribute ( const pugi::xml_attribute & attr)

Member Function Documentation

◆ as_bool()

bool OpenXLSX::XMLAttribute::as_bool ( bool def = false) const

◆ as_double()

double OpenXLSX::XMLAttribute::as_double ( double def = 0) const

◆ as_float()

float OpenXLSX::XMLAttribute::as_float ( float def = 0.0f) const

◆ as_int()

int OpenXLSX::XMLAttribute::as_int ( int def = 0) const

◆ as_llong()

long long OpenXLSX::XMLAttribute::as_llong ( long long def = 0) const

◆ as_string()

const char * OpenXLSX::XMLAttribute::as_string ( const char * def = "") const

◆ as_uint()

unsigned int OpenXLSX::XMLAttribute::as_uint ( unsigned int def = 0) const

◆ as_ullong()

unsigned long long OpenXLSX::XMLAttribute::as_ullong ( unsigned long long def = 0) const

◆ empty()

bool OpenXLSX::XMLAttribute::empty ( ) const

◆ internal_object()

pugi::xml_attribute_struct * OpenXLSX::XMLAttribute::internal_object ( ) const
inline

◆ name()

const char * OpenXLSX::XMLAttribute::name ( ) const

◆ next_attribute()

XMLAttribute OpenXLSX::XMLAttribute::next_attribute ( ) const

◆ operator bool()

OpenXLSX::XMLAttribute::operator bool ( ) const
explicit

◆ operator pugi::xml_attribute()

OpenXLSX::XMLAttribute::operator pugi::xml_attribute ( ) const

◆ operator!=()

bool OpenXLSX::XMLAttribute::operator!= ( const XMLAttribute & other) const

◆ operator=() [1/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( bool rhs)
inline

◆ operator=() [2/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( const char * rhs)
inline

◆ operator=() [3/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( double rhs)
inline

◆ operator=() [4/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( int rhs)
inline

◆ operator=() [5/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( long long rhs)
inline

◆ operator=() [6/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( long rhs)
inline

◆ operator=() [7/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( unsigned int rhs)
inline

◆ operator=() [8/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( unsigned long long rhs)
inline

◆ operator=() [9/9]

XMLAttribute & OpenXLSX::XMLAttribute::operator= ( unsigned long rhs)
inline

◆ operator==()

bool OpenXLSX::XMLAttribute::operator== ( const XMLAttribute & other) const

◆ previous_attribute()

XMLAttribute OpenXLSX::XMLAttribute::previous_attribute ( ) const

◆ set_name()

bool OpenXLSX::XMLAttribute::set_name ( const char * rhs)

◆ set_value() [1/9]

bool OpenXLSX::XMLAttribute::set_value ( bool rhs)

◆ set_value() [2/9]

bool OpenXLSX::XMLAttribute::set_value ( const char * rhs)

◆ set_value() [3/9]

bool OpenXLSX::XMLAttribute::set_value ( double rhs)

◆ set_value() [4/9]

bool OpenXLSX::XMLAttribute::set_value ( int rhs)

◆ set_value() [5/9]

bool OpenXLSX::XMLAttribute::set_value ( long long rhs)

◆ set_value() [6/9]

bool OpenXLSX::XMLAttribute::set_value ( long rhs)

◆ set_value() [7/9]

bool OpenXLSX::XMLAttribute::set_value ( unsigned int rhs)

◆ set_value() [8/9]

bool OpenXLSX::XMLAttribute::set_value ( unsigned long long rhs)

◆ set_value() [9/9]

bool OpenXLSX::XMLAttribute::set_value ( unsigned long rhs)

◆ value()

const char * OpenXLSX::XMLAttribute::value ( ) const

The documentation for this class was generated from the following files:
  • /home/runner/work/OpenXLSX-NX/OpenXLSX-NX/OpenXLSX/headers/XLXmlParser.hpp
  • /home/runner/work/OpenXLSX-NX/OpenXLSX-NX/OpenXLSX/sources/XLXmlParser.cpp