Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
ExpatAtts Class Reference
Inheritance diagram for ExpatAtts:
XMLAttributes

Public Member Functions

 ExpatAtts (const char **atts)
 
virtual int size () const
 
virtual const char * getName (int i) const
 
virtual const char * getValue (int i) const
 
- Public Member Functions inherited from XMLAttributes
 XMLAttributes ()
 Constructor.
 
virtual ~XMLAttributes ()
 Destructor.
 
virtual int findAttribute (const char *name) const
 
virtual bool hasAttribute (const char *name) const
 
virtual const char * getValue (const char *name) const
 

Member Function Documentation

const char * ExpatAtts::getName ( int  i) const
virtual

Get the name of an attribute by index.

The index must be less than the size of the list and greater than or equal to zero.

Parameters
iThe index of the attribute (zero-based).
See Also
size

Implements XMLAttributes.

const char * ExpatAtts::getValue ( int  i) const
virtual

Get the string value of an attribute by index.

The index must be less than the size of the list and greater than or equal to zero.

Parameters
iThe index of the attribute (zero-based).
See Also
size

Implements XMLAttributes.

int ExpatAtts::size ( ) const
virtual

Get the number of attributes present.

Returns
The number of attributes in the list (may be 0).

Implements XMLAttributes.


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