a2dIOHandlerCVGIn Class Reference
[File IOCVG File IO]

Input handler for the CVG format. More...

#include <xmlpars.h>

Inheritance diagram for a2dIOHandlerCVGIn:

Inheritance graph
[legend]
Collaboration diagram for a2dIOHandlerCVGIn:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dIOHandlerCVGIn ()
 Constructor.
 ~a2dIOHandlerCVGIn ()
 Destructor.
virtual bool CanLoad (a2dDocumentInputStream &stream, const wxObject *obj=NULL, wxClassInfo *docClassInfo=NULL)
 test header of the file to see if its CVG format
bool LoadLayers (a2dDocumentInputStream &stream, a2dLayers *layers)
 load a layer definition from a CVG file.
bool Load (a2dDocumentStringInputStream &stream, a2dCanvasDocument *doc, a2dCanvasObject *parent)
 reading a CVG document and add the contents as children to a given a2dCanvasObject parent.

Protected Attributes

a2dCanvasDocumentm_doc
 the document to store/load the data found into


Detailed Description

Input handler for the CVG format.

The CVG format is the native file format of wxArt2d. It's a XML format and each a2dCanvasObject is able to load its data from CVG. There's no specification of the CVG, please have a look into the DoLoad methods of the a2dCanvasObject derived classes to see details.

In general the following is done.

Definition at line 61 of file xmlpars.h.


Member Function Documentation

bool a2dIOHandlerCVGIn::Load ( a2dDocumentStringInputStream stream,
a2dCanvasDocument doc,
a2dCanvasObject parent 
)

reading a CVG document and add the contents as children to a given a2dCanvasObject parent.

This can be used to include a CVG document in an existing document. Also clipboard action might use this.

Definition at line 147 of file xmlpars.cpp.


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