Developer documentation | Axl-2.5.1

axlPlaneWriter.h
Go to the documentation of this file.
1 /* axlPlaneWriter.h ---
2  *
3  * Author: Meriadeg Perrinel
4  * Copyright (C) 2008-2011 - Meriadeg Perrinel, Inria.
5  * Created: Wed Sep 21 11:13:23 2011 (+0200)
6  * Version: $Id$
7  * Last-Updated: Wed Sep 21 11:49:25 2011 (+0200)
8  * By: Meriadeg Perrinel
9  * Update #: 21
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLPLANEWRITER_H
21 #define AXLPLANEWRITER_H
22 
24 #include "axlCoreExport.h"
25 
26 
27 class dtkAbstractData;
28 
30 {
31  Q_OBJECT
32 
33 public :
34  axlPlaneWriter(void);
35  ~axlPlaneWriter(void);
36 
37 public:
38  QString identifier(void) const;
39  QString description(void) const;
40  QStringList handled(void) const;
41 
42  static bool registered(void);
43 
44 public:
45  bool accept(dtkAbstractData *data);
46  bool reject(dtkAbstractData *data);
47 
48  QDomElement write(QDomDocument *doc, dtkAbstractData *data);
49 
50 private :
51  QDomElement elementByWriter(axlAbstractDataWriter *axl_writer, QDomDocument *doc, dtkAbstractData *data);
52 };
53 
54 dtkAbstractDataWriter *createaxlPlaneWriter(void);
55 
56 #endif //AXLPLANEWRITER_H
virtual bool reject(dtkAbstractData *data)=0
virtual bool accept(dtkAbstractData *data)=0
dtkAbstractDataWriter * createaxlPlaneWriter(void)
#define AXLCORE_EXPORT
virtual QDomElement write(QDomDocument *doc, dtkAbstractData *data)=0