Developer documentation | Axl-2.5.1

axlShapeReader.h
Go to the documentation of this file.
1 /* axlShapeReader.h ---
2  *
3  * Author: Valentin Michelet
4  * Copyright (C) 2008-2013 - Valentin Michelet, Inria.
5  * Created: Tue Jul 21 14:13:23 2013 (+0200)
6  * Version: $Id$
7  */
8 
9 /* Commentary:
10  *
11  */
12 
13 /* Change log:
14  *
15  */
16 
17 #ifndef AXLSHAPEREADER_H
18 #define AXLSHAPEREADER_H
19 
21 #include "axlCoreExport.h"
22 
24  Q_OBJECT
25 
26 public:
27  axlShapeReader(void);
28  virtual ~axlShapeReader(void);
29 
30  QString identifier(void) const;
31  QString description(void) const;
32  QStringList handled(void) const;
33 
34  static bool registered(void);
35 
36  bool accept(const QDomNode& node);
37  bool reject(const QDomNode& node);
38 
39  axlAbstractData *read(const QDomNode& node);
40 };
41 
42 dtkAbstractDataReader *createaxlShapeReader(void);
43 
44 #endif // AXLSHAPEREADER_H
virtual axlAbstractData * read(const QDomNode &node)=0
virtual bool reject(const QDomNode &node)=0
dtkAbstractDataReader * createaxlShapeReader(void)
virtual bool accept(const QDomNode &node)=0
#define AXLCORE_EXPORT
Class axlAbstractData defines an API for all type of axel data.