#include <IReadFileXML.h>
Inheritance diagram for amn::IReadFileXML:

Public Member Functions | |
| IReadFileXML (const char *filename, IFileManager *manager) | |
| virtual | ~IReadFileXML () |
| virtual bool | isOpen ()=0 |
| Returns true if the file was successfully opened. | |
| virtual void | close ()=0 |
| Close the file. | |
| virtual bool | read ()=0 |
| virtual E_XML_CHUNK | getChunkType ()=0 |
| Returns the type of chunk read. | |
| virtual std::string & | getTagName ()=0 |
| Returns the beginning/end tag name. | |
| virtual std::string & | getText ()=0 |
| virtual int | getAttributeCount ()=0 |
| Returns the number of attributes in the beginning tag. | |
| virtual std::string & | getAttributeValue (int attributeNumber)=0 |
| Returns the value of an attribute. | |
| virtual std::string & | getAttributeValue (const char *attributeName)=0 |
| Returns the value of an attribute by attribute name. | |
| virtual int | getAttributeValueAsInt (int attributeNumber)=0 |
| Returns the value of an attribute as an integer. | |
| virtual int | getAttributeValueAsInt (const char *attributeName)=0 |
| Returns the value of an attribute as an integer. | |
| virtual float | getAttributeValueAsFloat (int attributeNumber)=0 |
| Returns the value of an attribute as a floating-point decimal. | |
| virtual float | getAttributeValueAsFloat (const char *attributeName)=0 |
| Returns the value of an attribute as a floating-point decimal. | |
Protected Attributes | |
| IFileManager * | fileManager |
|
||||||||||||
|
|
|
|
|
|
|
Close the file.
|
|
|
Returns the number of attributes in the beginning tag.
|
|
|
Returns the value of an attribute by attribute name.
|
|
|
Returns the value of an attribute.
|
|
|
Returns the value of an attribute as a floating-point decimal.
|
|
|
Returns the value of an attribute as a floating-point decimal.
|
|
|
Returns the value of an attribute as an integer.
|
|
|
Returns the value of an attribute as an integer.
|
|
|
Returns the type of chunk read.
|
|
|
Returns the beginning/end tag name.
|
|
|
Returns the text.
|
|
|
Returns true if the file was successfully opened.
|
|
|
Reads the next chunk of XML.
|
|
|
|
1.4.2