Developer documentation | Axl-2.5.1

axlConeWriter.h
Go to the documentation of this file.
1 /* axlConeWriter.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 AXLCONEWRITER_H
21 #define AXLCONEWRITER_H
22 
24 #include "axlCoreExport.h"
25 
26 
27 class dtkAbstractData;
28 
30 {
31  Q_OBJECT
32 
33 public :
34  axlConeWriter(void);
35  ~axlConeWriter(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 *createaxlConeWriter(void);
55 
56 #endif //AXLCONEWRITER_H
virtual bool reject(dtkAbstractData *data)=0
virtual bool accept(dtkAbstractData *data)=0
dtkAbstractDataWriter * createaxlConeWriter(void)
#define AXLCORE_EXPORT
virtual QDomElement write(QDomDocument *doc, dtkAbstractData *data)=0