Audacity  2.2.0
XMLTagHandler Class Referenceabstract

This class is an interface which should be implemented by classes which wish to be able to load and save themselves using XML files. More...

#include <XMLTagHandler.h>

Inheritance diagram for XMLTagHandler:
AudacityProject CommandManager DirManager EffectEqualization Envelope EnvPoint ImportXMLTagHandler RecordingRecoveryHandler Sequence Tags Track WaveClip

Public Member Functions

 XMLTagHandler ()
 
virtual ~XMLTagHandler ()
 
virtual bool HandleXMLTag (const wxChar *tag, const wxChar **attrs)=0
 
virtual void HandleXMLEndTag (const wxChar *WXUNUSED(tag))
 
virtual void HandleXMLContent (const wxString &WXUNUSED(content))
 
virtual XMLTagHandlerHandleXMLChild (const wxChar *tag)=0
 
bool ReadXMLTag (const char *tag, const char **attrs)
 
void ReadXMLEndTag (const char *tag)
 
void ReadXMLContent (const char *s, int len)
 
XMLTagHandlerReadXMLChild (const char *tag)
 

Detailed Description

This class is an interface which should be implemented by classes which wish to be able to load and save themselves using XML files.

Constructor & Destructor Documentation

XMLTagHandler::XMLTagHandler ( )
inline
virtual XMLTagHandler::~XMLTagHandler ( )
inlinevirtual

Member Function Documentation

virtual XMLTagHandler* XMLTagHandler::HandleXMLChild ( const wxChar *  tag)
pure virtual
virtual void XMLTagHandler::HandleXMLContent ( const wxString &  WXUNUSEDcontent)
inlinevirtual

Referenced by ReadXMLContent().

virtual void XMLTagHandler::HandleXMLEndTag ( const wxChar *  WXUNUSEDtag)
inlinevirtual

Referenced by ReadXMLEndTag().

virtual bool XMLTagHandler::HandleXMLTag ( const wxChar *  tag,
const wxChar **  attrs 
)
pure virtual
XMLTagHandler * XMLTagHandler::ReadXMLChild ( const char *  tag)

References HandleXMLChild(), and UTF8CTOWX.

void XMLTagHandler::ReadXMLContent ( const char *  s,
int  len 
)

References HandleXMLContent().

void XMLTagHandler::ReadXMLEndTag ( const char *  tag)

References HandleXMLEndTag(), and UTF8CTOWX.

bool XMLTagHandler::ReadXMLTag ( const char *  tag,
const char **  attrs 
)

References HandleXMLTag(), and UTF8CTOWX.


The documentation for this class was generated from the following files: