-class wxXmlWriter : public wxWriter
-{
-public :
-
- wxXmlWriter( wxXmlNode * parent ) ;
- ~wxXmlWriter() ;
-
- //
- // streaming callbacks
- //
- // these callbacks really write out the values in the stream format
- //
-
- //
- // streaming callbacks
- //
- // these callbacks really write out the values in the stream format
-
- // begins writing out a new toplevel entry which has the indicated unique name
- virtual void DoBeginWriteTopLevelEntry( const wxString &name ) ;
-
- // ends writing out a new toplevel entry which has the indicated unique name
- virtual void DoEndWriteTopLevelEntry( const wxString &name ) ;
-
- // start of writing an object having the passed in ID
- virtual void DoBeginWriteObject(const wxObject *object, const wxClassInfo *classInfo, int objectID ) ;
-
- // end of writing an toplevel object name param is used for unique identification within the container
- virtual void DoEndWriteObject(const wxObject *object, const wxClassInfo *classInfo, int objectID ) ;
-
- // writes a simple property in the stream format
- virtual void DoWriteSimpleType( wxxVariant &value ) ;
-
- // start of writing a complex property into the stream (
- virtual void DoBeginWriteProperty( const wxPropertyInfo *propInfo ) ;
-
- // end of writing a complex property into the stream
- virtual void DoEndWriteProperty( const wxPropertyInfo *propInfo ) ;
-
- virtual void DoBeginWriteElement() ;
- virtual void DoEndWriteElement() ;
-
- // insert an object reference to an already written object
- virtual void DoWriteRepeatedObject( int objectID ) ;
-
- // insert a null reference
- virtual void DoWriteNullObject() ;
-
- // writes a delegate in the stream format
- virtual void DoWriteDelegate( const wxObject *object, const wxClassInfo* classInfo , const wxPropertyInfo *propInfo ,
- const wxObject *eventSink , int sinkObjectID , const wxClassInfo* eventSinkClassInfo , const wxHandlerInfo* handlerIndo ) ;
-private :
- struct wxXmlWriterInternal ;
- wxXmlWriterInternal* m_data ;
-} ;