20 #ifndef AXLABSTRACTDATAWRITER_H
21 #define AXLABSTRACTDATAWRITER_H
23 #include "axlCoreExport.h"
26 #include <dtkCoreSupport/dtkAbstractDataWriter.h>
33 class dtkAbstractData;
44 virtual bool accept(dtkAbstractData *data) = 0;
45 virtual bool reject(dtkAbstractData *data) = 0;
47 using dtkAbstractDataWriter::write;
48 virtual QDomElement write(QDomDocument *doc, dtkAbstractData *data) = 0;
58 #define append_element_doc(Elt, Doc, Name, fct) \
59 { QDomElement dom = Doc->createElement(Name); \
60 dom.appendChild(Doc->createTextNode(fct)); \
61 Elt.appendChild(dom); }
63 #endif //AXLABSTRACTDATAWRITER_H
Class axlAbstractData defines an API for all type of axel data.
Class axlMesh defines a piecewise-linear 3D object.