Developer documentation | Axl-2.5.1

axlLineReader.h
Go to the documentation of this file.
1 /* axlLineReader.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 AXLLINEREADER_H
21 #define AXLLINEREADER_H
22 
24 
25 #include "axlCoreExport.h"
26 
27 class dtkAbstractData;
28 
30 {
31  Q_OBJECT
32 
33 public :
34  axlLineReader(void);
35  ~axlLineReader(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(const QDomNode& node);
46  bool reject(const QDomNode& node);
47 
48  axlAbstractData *read(const QDomNode& node);
49 };
50 
51 dtkAbstractDataReader *createaxlLineReader(void);
52 
53 #endif //AXLLINEREADER_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 * createaxlLineReader(void)
Class axlAbstractData defines an API for all type of axel data.