Developer documentation | Axl-2.5.1

axlAbstractDataCompositeReader.h
Go to the documentation of this file.
1 /* axlAbstractDataCompositeReader.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 AXLABSTRACTDATACOMPOSITEREADER_H
21 #define AXLABSTRACTDATACOMPOSITEREADER_H
22 
24 #include "axlCoreExport.h"
25 
26 class dtkAbstractData;
27 
29 {
30  Q_OBJECT
31 
32 public :
35 
36 public:
37  QString identifier(void) const;
38  QString description(void) const;
39  QStringList handled(void) const;
40 
41  static bool registered(void);
42 
43 public:
44  bool accept(const QDomNode& node);
45  bool reject(const QDomNode& node);
46 
47  axlAbstractData *read(const QDomNode& node);
48 
49 private :
50  axlAbstractData *dataByReader(axlAbstractDataReader *axl_reader, const QDomNode& node);
51 };
52 
53 dtkAbstractDataReader *createaxlAbstractDataCompositeReader(void);
54 
55 #endif //AXLABSTRACTDATACOMPOSITEREADER_H
virtual axlAbstractData * read(const QDomNode &node)=0
dtkAbstractDataReader * createaxlAbstractDataCompositeReader(void)
virtual bool reject(const QDomNode &node)=0
virtual bool accept(const QDomNode &node)=0
#define AXLCORE_EXPORT
Class axlAbstractData defines an API for all type of axel data.