VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
formEntry.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: formEntry.h,v $ $Revision: 1.4 $ $State: Exp $
7
*********************************************************************/
8
11
13
14
#ifndef DtFormationEntry_H_
15
#define DtFormationEntry_H_
16
17
#include "
vrfutil/rdrWritr.h
"
18
#include "
vrfutil/rwInt.h
"
19
#include "
vrfutil/rwVector.h
"
20
#include "
vrfutil/rwString.h
"
21
27
#include "
vrfutil/vrfutilDefines.h
"
28
class
DT_DLL_vrfutil
DtFormationEntry
:
public
DtReaderWriter
29
{
30
public
:
31
33
DtFormationEntry
();
34
36
DtFormationEntry
(
const
DtString
& name,
DtReaderWriterRegistry
*
const
37
parentRegistry = NULL);
38
DtFormationEntry
(
const
DtSymbolString& name,
DtReaderWriterRegistry
*
const
39
parentRegistry = NULL);
40
42
virtual
~
DtFormationEntry
();
43
45
DtFormationEntry
(
const
DtString
& name,
const
DtFormationEntry
& orig,
46
DtReaderWriterRegistry
* parentRegistry = NULL);
47
DtFormationEntry
(
const
DtSymbolString& name,
const
DtFormationEntry
& orig,
48
DtReaderWriterRegistry
* parentRegistry = NULL);
49
51
DtFormationEntry
&
operator=
(
const
DtFormationEntry
& orig);
52
55
virtual
const
DtRwInt
& promotionId()
const
;
56
virtual
void
setPromotionId(
int
id
);
58
61
virtual
const
DtRwInt
& leaderPromotionId()
const
;
62
virtual
void
setLeaderPromotionId(
int
id
);
64
67
virtual
const
DtRwVector
& positionOffset()
const
;
68
virtual
void
setPositionOffset(
const
DtVector
& offset);
70
73
virtual
const
DtRwString
& subordinateFormation()
const
;
74
virtual
void
setSubordinateFormation(
const
DtString
& formationName);
76
79
virtual
void
setListItem(DtListItem* item);
80
virtual
DtListItem* listItem();
82
84
DtFormationEntry
* clone(
const
DtString
& name,
85
DtReaderWriterRegistry
* parentRegistry = NULL);
86
DtFormationEntry
* clone(
const
DtSymbolString& name,
87
DtReaderWriterRegistry
* parentRegistry = NULL);
88
89
90
bool
operator==
(
const
DtFormationEntry
&)
const
;
91
bool
operator!=
(
const
DtFormationEntry
&)
const
;
92
93
protected
:
94
98
105
DtRwInt
myPromotionId
;
106
112
DtRwInt
myLeaderPromotionId
;
113
119
DtRwVector
myPositionOffsetRelLeader
;
120
128
DtRwString
mySubordinateFormation
;
130
131
DtListItem*
myListItem
;
132
};
133
134
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)