Developer documentation | Axl-2.5.1

axlTorusReader.h
Go to the documentation of this file.
1 /* axlTorusReader.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 AXLTORUSREADER_H
21 #define AXLTORUSREADER_H
22 
24 
25 #include "axlCoreExport.h"
26 
27 class dtkAbstractData;
28 
30  Q_OBJECT
31 
32 public:
33  axlTorusReader(void);
34  virtual ~axlTorusReader(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(const QDomNode& node);
43  bool reject(const QDomNode& node);
44 
45  axlAbstractData *read(const QDomNode& node);
46 };
47 
48 dtkAbstractDataReader *createaxlTorusReader(void);
49 
50 #endif // AXLTORUSREADER_H
virtual axlAbstractData * read(const QDomNode &node)=0
virtual bool reject(const QDomNode &node)=0
virtual bool accept(const QDomNode &node)=0
#define AXLCORE_EXPORT
dtkAbstractDataReader * createaxlTorusReader(void)
Class axlAbstractData defines an API for all type of axel data.