a2dXMLTag Class Reference
[File IO]

used in XML parsing to hold one tag and its atributes More...

#include <genxmlpars.h>

Inheritance diagram for a2dXMLTag:

Inheritance graph
[legend]
Collaboration diagram for a2dXMLTag:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dXMLTag (XMLeventType type, wxString tagname=wxT(""))
 Constructor.
 a2dXMLTag (const a2dXMLTag &tag)
 Copy constructor.
 ~a2dXMLTag ()
 Destructor.
virtual a2dObjectClone (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


Detailed Description

used in XML parsing to hold one tag and its atributes

The a2dIOHandlerXMLPull and derived classes use this object to parse XML documents.

Definition at line 110 of file genxmlpars.h.


Constructor & Destructor Documentation

a2dXMLTag::a2dXMLTag ( XMLeventType  type,
wxString  tagname = wxT("") 
)

Constructor.

See also:
XMLeventType
Parameters:
type the event type
tagname the tag name

Definition at line 226 of file genxmlpars.cpp.

a2dXMLTag::a2dXMLTag ( const a2dXMLTag tag  ) 

Copy constructor.

Parameters:
tag the original tag

Definition at line 236 of file genxmlpars.cpp.


The documentation for this class was generated from the following files:
a2dXMLTag Class Reference -- Tue Aug 31 18:38:48 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation