VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
makArchives
DtSceneRecord.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtSceneRecord.h,v $ $Revision: 1.4 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtSceneRecord_H_
14
#define DtSceneRecord_H_
15
16
#include <
makArchives/makArchives.h
>
17
#include <
makArchives/DtTerrainRecord.h
>
18
#include <
makArchives/DtEnvironmentRecord.h
>
19
#include <
makArchives/DtDateTimeRecord.h
>
20
21
namespace
makArchives
22
{
25
class
DT_DLL_MAKARCHIVES
DtSceneRecord
26
{
27
public
:
28
30
DtSceneRecord
();
31
33
DtSceneRecord
(
const
DtSceneRecord
&);
34
36
DtSceneRecord
& operator=(
const
DtSceneRecord
&);
37
39
~
DtSceneRecord
();
40
42
const
DtTerrainRecord
& terrainRecord()
const
;
43
45
void
setTerrainRecord(
const
DtTerrainRecord
& record);
46
48
const
DtEnvironmentRecord
& environmentRecord()
const
;
49
51
void
setEnvironmentRecord(
const
DtEnvironmentRecord
& record);
52
54
const
DtDateTimeRecord
& dateTimeRecord()
const
;
55
57
void
setDateTimeRecord(
const
DtDateTimeRecord
& record);
58
59
protected
:
60
61
friend
class
boost::serialization::access;
62
66
template
<
class
Archive>
67
void
serialize(Archive & ar,
const
unsigned
int
version)
68
{
69
ar & BOOST_SERIALIZATION_NVP(myEmbeddedTerrainRecord);
70
ar & BOOST_SERIALIZATION_NVP(myEmbeddedEnvironmentRecord);
71
72
if
(version >= 1)
73
{
74
ar & BOOST_SERIALIZATION_NVP(myEmbeddedDateTimeRecord);
75
}
76
}
77
78
protected
:
79
80
DtTerrainRecord
myEmbeddedTerrainRecord
;
81
DtEnvironmentRecord
myEmbeddedEnvironmentRecord
;
82
DtDateTimeRecord
myEmbeddedDateTimeRecord
;
83
};
84
}
85
86
BOOST_CLASS_VERSION
(
makArchives::DtSceneRecord
,1)
87
88
#endif
89
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)