Developer documentation | Axl-2.5.1

axlFieldDiscreteReader.h
Go to the documentation of this file.
1 /* axlFieldDiscreteReader.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2008-2011 - Anais Ducoffe, Inria.
5  */
6 
7 /* Commentary:
8  *
9  */
10 
11 /* Change log:
12  *
13  */
14 
15 #ifndef AXLFIELDDISCRETEREADER_H
16 #define AXLFIELDDISCRETEREADER_H
17 
19 
20 #include "axlCoreExport.h"
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(const QDomNode& node);
41  bool reject(const QDomNode& node);
42 
43  axlAbstractData *read(const QDomNode& node);
44 };
45 
46 dtkAbstractDataReader *createaxlFieldDiscreteReader(void);
47 
48 #endif // AXLFIELDDISCRETEREADER_H
virtual axlAbstractData * read(const QDomNode &node)=0
virtual bool reject(const QDomNode &node)=0
dtkAbstractDataReader * createaxlFieldDiscreteReader(void)
virtual bool accept(const QDomNode &node)=0
#define AXLCORE_EXPORT
Class axlAbstractData defines an API for all type of axel data.