Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | Protected Attributes | List of all members
INDI::LilXmlAttribute Class Reference

#include <indililxml.h>

Inheritance diagram for INDI::LilXmlAttribute:
INDI::LilXmlValue

Public Member Functions

 LilXmlAttribute (XMLAtt *a)
 
bool isValid () const
 
std::string name () const
 
const LilXmlValuevalue () const
 
 operator bool () const
 
XMLAtthandle () const
 
- Public Member Functions inherited from INDI::LilXmlValue
 LilXmlValue (const char *value)
 
 LilXmlValue (const char *value, size_t size)
 
bool isValid () const
 
const void * data () const
 
size_t size () const
 
int toInt (safe_ptr< bool > ok=nullptr) const
 
double toDoubleSexa (safe_ptr< bool > ok=nullptr) const
 
double toDouble (safe_ptr< bool > ok=nullptr) const
 
const char * toCString () const
 
std::string toString () const
 
ISRule toISRule (safe_ptr< bool > ok=nullptr) const
 
ISState toISState (safe_ptr< bool > ok=nullptr) const
 
IPState toIPState (safe_ptr< bool > ok=nullptr) const
 
IPerm toIPerm (safe_ptr< bool > ok=nullptr) const
 
std::size_t indexOf (const char *needle, size_t from=0) const
 
std::size_t indexOf (const std::string &needle, size_t from=0) const
 
std::size_t lastIndexOf (const char *needle, size_t from=0) const
 
std::size_t lastIndexOf (const std::string &needle, size_t from=0) const
 
bool startsWith (const char *needle) const
 
bool startsWith (const std::string &needle) const
 
bool endsWith (const char *needle) const
 
bool endsWith (const std::string &needle) const
 
 operator const char * () const
 
 operator double () const
 
 operator int () const
 
 operator ISRule () const
 
 operator ISState () const
 
 operator IPState () const
 
 operator IPerm () const
 
 operator size_t () const
 

Protected Attributes

XMLAttmHandle
 
- Protected Attributes inherited from INDI::LilXmlValue
const char * mValue
 
size_t mSize
 

Detailed Description

Definition at line 101 of file indililxml.h.

Constructor & Destructor Documentation

◆ LilXmlAttribute()

INDI::LilXmlAttribute::LilXmlAttribute ( XMLAtt a)
inlineexplicit

Definition at line 340 of file indililxml.h.

Member Function Documentation

◆ handle()

XMLAtt * INDI::LilXmlAttribute::handle ( ) const
inline

Definition at line 345 of file indililxml.h.

◆ isValid()

bool INDI::LilXmlAttribute::isValid ( ) const
inline

Definition at line 350 of file indililxml.h.

◆ name()

std::string INDI::LilXmlAttribute::name ( ) const
inline

Definition at line 356 of file indililxml.h.

◆ operator bool()

INDI::LilXmlAttribute::operator bool ( ) const
inline

Definition at line 114 of file indililxml.h.

◆ value()

const LilXmlValue& INDI::LilXmlAttribute::value ( ) const
inline

Definition at line 111 of file indililxml.h.

Member Data Documentation

◆ mHandle

XMLAtt* INDI::LilXmlAttribute::mHandle
protected

Definition at line 120 of file indililxml.h.


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