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

#include <indililxml.h>

Public Types

using Elements = std::list< LilXmlElement >
 

Public Member Functions

 LilXmlElement (XMLEle *e)
 
bool isValid () const
 
std::string tagName () const
 
Elements getElements () const
 
Elements getElementsByTagName (const char *tagName) const
 
LilXmlAttribute getAttribute (const char *name) const
 
LilXmlAttribute addAttribute (const char *name, const char *value)
 
void removeAttribute (const char *name)
 
LilXmlValue context () const
 
void setContext (const char *data)
 
void print (FILE *f, int level=0) const
 
XMLElehandle () const
 

Protected Attributes

XMLElemHandle
 
char errmsg [128]
 

Detailed Description

Definition at line 123 of file indililxml.h.

Member Typedef Documentation

◆ Elements

Definition at line 126 of file indililxml.h.

Constructor & Destructor Documentation

◆ LilXmlElement()

INDI::LilXmlElement::LilXmlElement ( XMLEle e)
inlineexplicit

Definition at line 363 of file indililxml.h.

Member Function Documentation

◆ addAttribute()

LilXmlAttribute INDI::LilXmlElement::addAttribute ( const char *  name,
const char *  value 
)
inline

Definition at line 410 of file indililxml.h.

◆ context()

LilXmlValue INDI::LilXmlElement::context ( ) const
inline

Definition at line 420 of file indililxml.h.

◆ getAttribute()

LilXmlAttribute INDI::LilXmlElement::getAttribute ( const char *  name) const
inline

Definition at line 405 of file indililxml.h.

◆ getElements()

LilXmlElement::Elements INDI::LilXmlElement::getElements ( ) const
inline

Definition at line 377 of file indililxml.h.

◆ getElementsByTagName()

LilXmlElement::Elements INDI::LilXmlElement::getElementsByTagName ( const char *  tagName) const
inline

Definition at line 388 of file indililxml.h.

◆ handle()

XMLEle * INDI::LilXmlElement::handle ( ) const
inline

Definition at line 367 of file indililxml.h.

◆ isValid()

bool INDI::LilXmlElement::isValid ( ) const

◆ print()

void INDI::LilXmlElement::print ( FILE *  f,
int  level = 0 
) const
inline

Definition at line 430 of file indililxml.h.

◆ removeAttribute()

void INDI::LilXmlElement::removeAttribute ( const char *  name)
inline

Definition at line 415 of file indililxml.h.

◆ setContext()

void INDI::LilXmlElement::setContext ( const char *  data)
inline

Definition at line 425 of file indililxml.h.

◆ tagName()

std::string INDI::LilXmlElement::tagName ( ) const
inline

Definition at line 372 of file indililxml.h.

Member Data Documentation

◆ errmsg

char INDI::LilXmlElement::errmsg[128]
protected

Definition at line 152 of file indililxml.h.

◆ mHandle

XMLEle* INDI::LilXmlElement::mHandle
protected

Definition at line 151 of file indililxml.h.


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