#include <genxmlpars.h>


Public Member Functions | |
| a2dXMLTag (XMLeventType type, wxString tagname=wxT("")) | |
| Constructor. | |
| a2dXMLTag (const a2dXMLTag &tag) | |
| Copy constructor. | |
| ~a2dXMLTag () | |
| Destructor. | |
| virtual a2dObject * | Clone (CloneOptions options) const |
| create an exact copy of this property | |
| wxString | GetName () const |
| Gives the m_id of the property in string form, or the way it is implemented in a derived class. | |
| bool | SetAttribute (const wxString &attributeName, const wxString &Value) |
| wxString * | GetAttribute (const wxString &attributeName) |
| virtual void | DoSave (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dXmlSer_flag xmlparts, a2dObjectList *towrite) |
| Save settings. | |
| virtual void | DoLoad (wxObject *parent, a2dIOHandlerXmlSerIn &parser, a2dXmlSer_flag xmlparts) |
| Load settings. | |
Public Attributes | |
| wxString | m_tag |
| tag name | |
| wxString | m_text |
| Content of the tag. | |
| XMLeventType | m_type |
| event type | |
| int | m_line |
| int | m_column |
| bool | m_hasContent |
| flag to trigger if content was written | |
| bool | m_hasattributes |
| does the current XMLTag have attributes? | |
| a2dAttributeHash | m_attributes |
The a2dIOHandlerXMLPull and derived classes use this object to parse XML documents.
Definition at line 110 of file genxmlpars.h.
| a2dXMLTag::a2dXMLTag | ( | XMLeventType | type, | |
| wxString | tagname = wxT("") | |||
| ) |
Constructor.
| type | the event type | |
| tagname | the tag name |
Definition at line 226 of file genxmlpars.cpp.
| a2dXMLTag::a2dXMLTag | ( | const a2dXMLTag & | tag | ) |