#include <librets/RetsXmlEvent.h>

Public Types | |
| enum | Type { START_ELEMENT, END_ELEMENT, TEXT, END_DOCUMENT } |
| Clasify the type of the Xml event. More... | |
Public Member Functions | |
| RetsXmlEvent () | |
| Default constructor with default line and column numbers. | |
| RetsXmlEvent (int lineNumber, int columnNumber) | |
| Constructor specifying the line and column numbers for the element being parsed. | |
| virtual | ~RetsXmlEvent () |
| virtual Type | GetType () const =0 |
| Each chass inheriting from this class must provide this method. | |
| int | GetLineNumber () const |
| Get the line number for this element. | |
| int | GetColumnNumber () const |
| Get the column number for this element. | |
| virtual std::ostream & | Print (std::ostream &outputStream) const |
| std::string | ToString () const |
| virtual bool | Equals (const RetsObject *object) const |
Protected Member Functions | |
| std::ostream & | PrintLineAndColumn (std::ostream &out) const |
Protected Attributes | |
| int | mLineNumber |
| int | mColumnNumber |
| enum Type |
| RetsXmlEvent | ( | ) |
Default constructor with default line and column numbers.
| RetsXmlEvent | ( | int | lineNumber, | |
| int | columnNumber | |||
| ) |
Constructor specifying the line and column numbers for the element being parsed.
| lineNumber | An integer containing the line number | |
| columnNumber | An integer containing the column number |
| virtual ~RetsXmlEvent | ( | ) | [virtual] |
| virtual bool Equals | ( | const RetsObject * | object | ) | const [virtual, inherited] |
| int GetColumnNumber | ( | ) | const |
Get the column number for this element.
| int GetLineNumber | ( | ) | const |
Get the line number for this element.
| virtual Type GetType | ( | ) | const [pure virtual] |
Each chass inheriting from this class must provide this method.
Implemented in RetsXmlEndDocumentEvent, RetsXmlEndElementEvent, RetsXmlStartElementEvent, and RetsXmlTextEvent.
| virtual std::ostream& Print | ( | std::ostream & | outputStream | ) | const [virtual, inherited] |
Reimplemented in CapabilityUrls, DefaultMetadataCollector, DmqlQuery, FieldCriterion, GetObjectQuery, JunctionCriterion, LiteralCriterion, LookupCriterion, MetadataElement, NotCriterion, RetsXmlAttribute, RetsXmlEndDocumentEvent, RetsXmlEndElementEvent, RetsXmlStartElementEvent, RetsXmlTextEvent, and Uri.
| std::ostream& PrintLineAndColumn | ( | std::ostream & | out | ) | const [protected] |
| std::string ToString | ( | ) | const [inherited] |
int mColumnNumber [protected] |
int mLineNumber [protected] |