a2dIOHandlerXmlSerIn Class Reference
[File IO]

Input and output handler for the XmlSer format. More...

#include <genxmlpars.h>

Inheritance diagram for a2dIOHandlerXmlSerIn:

Inheritance graph
[legend]
Collaboration diagram for a2dIOHandlerXmlSerIn:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dIOHandlerXmlSerIn ()
 Constructor.
 ~a2dIOHandlerXmlSerIn ()
 Destructor.
bool CanLoad (a2dDocumentInputStream &stream, const wxObject *obj, wxClassInfo *docClassInfo=NULL)
 test header of the file to see if its CVG format
virtual bool Load (a2dDocumentInputStream &stream, wxObject *doc)
 load a complete document

Protected Attributes

wxObject * m_doc
 the document to store/load the data found into


Detailed Description

Input and output handler for the XmlSer format.

Definition at line 793 of file genxmlpars.h.


Member Function Documentation

bool a2dIOHandlerXmlSerIn::Load ( a2dDocumentInputStream stream,
wxObject *  doc 
) [virtual]

load a complete document

A pointer of this class is passed to the a2dCanvasDocument, which then loads itself using this parser. The attribute classname in the CVG format is used to create the right object while prasing the CVG and call the Load routine for that object.

Implements a2dIOHandlerStrIn.

Definition at line 1125 of file genxmlpars.cpp.


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