Developer documentation | Axl-2.5.1
Main Page
Classes
Files
File List
File Members
src
axlCore
axlAbstractDataReader.h
Go to the documentation of this file.
1
/* axlAbstractDataReader.h ---
2
*
3
* Author: Julien Wintz
4
* Copyright (C) 2008-2011 - Julien Wintz, Inria.
5
* Created: Wed Sep 21 10:36:05 2011 (+0200)
6
* Version: $Id$
7
* Last-Updated: Wed Sep 21 11:06:17 2011 (+0200)
8
* By: Julien Wintz
9
* Update #: 26
10
*/
11
12
/* Commentary:
13
*
14
*/
15
16
/* Change log:
17
*
18
*/
19
20
#ifndef AXLABSTRACTDATAREADER_H
21
#define AXLABSTRACTDATAREADER_H
22
23
#include "axlCoreExport.h"
24
25
#include <
axlCore/axlAbstractData.h
>
26
#include <dtkCoreSupport/dtkAbstractDataReader.h>
27
28
#include <
axlCore/axlFormat.h
>
29
30
class
AXLCORE_EXPORT
axlAbstractDataReader
:
public
dtkAbstractDataReader
31
{
32
Q_OBJECT
33
34
public
:
35
axlAbstractDataReader
(
void
);
36
virtual
~
axlAbstractDataReader
(
void
);
37
38
public
:
39
virtual
bool
accept(
const
QDomNode& node) = 0;
40
virtual
bool
reject(
const
QDomNode& node) = 0;
41
42
using
dtkAbstractDataReader::read;
43
virtual
axlAbstractData
* read(
const
QDomNode& node) = 0;
44
45
void
setNameOf(
axlAbstractData
* data,
const
QDomElement& e);
46
void
setColorOf (
axlAbstractData
* data,
const
QDomElement& e);
47
void
setSizeOf (
axlAbstractData
* data,
const
QDomElement& e);
48
void
setShaderOf(
axlAbstractData
* data,
const
QDomElement& e);
49
};
50
51
52
bool
hasChildNode
(QDomElement element,
const
QString& tag);
53
54
#endif
axlFormat.h
hasChildNode
bool hasChildNode(QDomElement element, const QString &tag)
Definition:
axlFormat.h:20
AXLCORE_EXPORT
#define AXLCORE_EXPORT
Definition:
axlCoreExport2.h:15
axlAbstractData
Class axlAbstractData defines an API for all type of axel data.
Definition:
axlAbstractData.h:33
axlAbstractDataReader
Definition:
axlAbstractDataReader.h:30
axlAbstractData.h
Generated on Sun Dec 2 2018 20:28:08 for Axl-2.5.1 by 1.8.9.1