Developer documentation | Axl-2.5.1

axlFieldSpatialPointDistanceWriter.h
Go to the documentation of this file.
1 /* axlFieldSpatialPointDistanceWriter.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2013 - Anais Ducoffe, Inria.
5  */
6 
7 /* Commentary:
8  *
9  */
10 
11 /* Change log:
12  *
13  */
14 
15 #ifndef AXLFIELDSPATIALPOINTDISTANCEWRITER_H
16 #define AXLFIELDSPATIALPOINTDISTANCEWRITER_H
17 
19 #include "axlCoreExport.h"
20 
21 
22 class dtkAbstractData;
23 
25 {
26  Q_OBJECT
27 
28 public :
31 
32 public:
33  QString identifier(void) const;
34  QString description(void) const;
35  QStringList handled(void) const;
36 
37  static bool registered(void);
38 
39 public:
40  bool accept(dtkAbstractData *data);
41  bool reject(dtkAbstractData *data);
42 
43  QDomElement write(QDomDocument *doc, dtkAbstractData *data);
44 
45 private :
46  QDomElement elementByWriter(axlAbstractDataWriter *axl_writer, QDomDocument *doc, dtkAbstractData *data);
47 };
48 
49 dtkAbstractDataWriter *createaxlFieldSpatialPointDistanceWriter(void);
50 
51 #endif // AXLFIELDSPATIALPOINTDISTANCEWRITER_H
virtual bool reject(dtkAbstractData *data)=0
virtual bool accept(dtkAbstractData *data)=0
dtkAbstractDataWriter * createaxlFieldSpatialPointDistanceWriter(void)
#define AXLCORE_EXPORT
virtual QDomElement write(QDomDocument *doc, dtkAbstractData *data)=0