#include <librets/RetsXmlEndElementEvent.h>
Public Types | |
enum | Type { START_ELEMENT, END_ELEMENT, TEXT, END_DOCUMENT } |
Clasify the type of the Xml event. More... | |
Public Member Functions | |
RetsXmlEndElementEvent (int lineNumber=-1, int columnNumber=-1) | |
Contstruct the object with a default line and column number. | |
virtual | ~RetsXmlEndElementEvent () |
virtual Type | GetType () const |
Always returns END_ELEMENT. | |
void | SetName (std::string name) |
Sets the name of this event. | |
std::string | GetName () const |
Returns the name of the attribute. | |
virtual std::ostream & | Print (std::ostream &outputStream) const |
Prints the attribute in a standard form for debugging and error reporting. | |
virtual bool | Equals (const RetsObject *rhs) const |
Checks to see if the attribute names are identical between two RetsXmlEndElementEvent objects. | |
int | GetLineNumber () const |
Get the line number for this element. | |
int | GetColumnNumber () const |
Get the column number for this element. | |
std::string | ToString () const |
Protected Member Functions | |
std::ostream & | PrintLineAndColumn (std::ostream &out) const |
Protected Attributes | |
int | mLineNumber |
int | mColumnNumber |
enum Type [inherited] |
RetsXmlEndElementEvent | ( | int | lineNumber = -1 , |
|
int | columnNumber = -1 | |||
) |
Contstruct the object with a default line and column number.
These numbers should reflect the line/column from the XML stream where this element can be found and is used for debugging.
virtual ~RetsXmlEndElementEvent | ( | ) | [virtual] |
virtual bool Equals | ( | const RetsObject * | rhs | ) | const [virtual] |
Checks to see if the attribute names are identical between two RetsXmlEndElementEvent objects.
Reimplemented from RetsObject.
int GetColumnNumber | ( | ) | const [inherited] |
Get the column number for this element.
int GetLineNumber | ( | ) | const [inherited] |
Get the line number for this element.
std::string GetName | ( | ) | const |
Returns the name of the attribute.
virtual Type GetType | ( | ) | const [virtual] |
virtual std::ostream& Print | ( | std::ostream & | outputStream | ) | const [virtual] |
Prints the attribute in a standard form for debugging and error reporting.
Reimplemented from RetsObject.
std::ostream& PrintLineAndColumn | ( | std::ostream & | out | ) | const [protected, inherited] |
void SetName | ( | std::string | name | ) |
Sets the name of this event.
name | A string containing the name of the XML element being parsed. |
std::string ToString | ( | ) | const [inherited] |
int mColumnNumber [protected, inherited] |
int mLineNumber [protected, inherited] |