Irrlicht 3D Engine
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ISceneUserDataSerializer.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_SCENE_USER_DATA_SERIALIZER_H_INCLUDED__
6
#define __I_SCENE_USER_DATA_SERIALIZER_H_INCLUDED__
7
8
#include "
IReferenceCounted.h
"
9
10
namespace
irr
11
{
12
namespace
io
13
{
14
class
IAttributes;
15
}
// end namespace io
16
namespace
scene
17
{
18
class
ISceneNode;
19
21
24
class
ISceneUserDataSerializer
25
{
26
public
:
27
28
virtual
~ISceneUserDataSerializer
() {}
29
31
virtual
void
OnCreateNode
(
ISceneNode
* node) = 0;
32
34
36
virtual
void
OnReadUserData
(
ISceneNode
* forSceneNode,
io::IAttributes
* userData) = 0;
37
39
44
virtual
io::IAttributes
*
createUserData
(
ISceneNode
* forSceneNode) = 0;
45
};
46
47
}
// end namespace scene
48
}
// end namespace irr
49
50
#endif
51
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Apr 21 2019 20:57:28 for Irrlicht 3D Engine by
Doxygen
1.8.1.2