Developer documentation | Axl-2.5.1

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