VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
makArchives
DtCigiComponentMapRecord.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2009 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtCigiComponentMapRecord.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
#ifndef DtCigiComponentMapRecord_H_
9
#define DtCigiComponentMapRecord_H_
10
11
#include <
makArchives/makArchives.h
>
12
13
namespace
makArchives
14
{
18
class
DT_DLL_MAKARCHIVES
DtCigiComponentMapRecord
19
{
20
public
:
21
23
DtCigiComponentMapRecord
();
24
26
~
DtCigiComponentMapRecord
();
27
29
DtCigiComponentMapRecord
(
const
DtCigiComponentMapRecord
& orig);
30
32
DtCigiComponentMapRecord
& operator=(
const
DtCigiComponentMapRecord
& orig);
33
34
void
setComponentMap(
const
std::map<int, int>& mapping);
35
const
std::map<int, int>& componentMap()
const
;
36
37
void
setComponentMapping(
int
cigiId,
int
stateId );
38
void
removeComponentMapping(
int
cigiId);
39
int
findStateId(
int
cigiId)
const
;
40
41
protected
:
42
44
friend
class
boost::serialization::access;
45
49
template
<
class
Archive>
50
void
serialize(Archive & ar,
const
unsigned
int
version)
51
{
52
ar & BOOST_SERIALIZATION_NVP(myComponentMap);
53
}
54
55
protected
:
56
std::map<int, int>
myComponentMap
;
57
};
58
}
59
60
#endif
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
)