VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfutil
ceSurrender.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ceSurrender.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtCeSurrenderOperator_H_
13
#define DtCeSurrenderOperator_H_
14
15
#include "
vrfutil/simCondExpr.h
"
16
#include "
vrfutil/rwBoolean.h
"
17
#include "
vrfutil/rwString.h
"
18
19
const
char
DtCeSurrenderTypeName
[] =
"Surrender"
;
20
23
struct
DtNetCeSurrender
24
{
25
DtNetBoolean
mySurrenderVal
;
26
DtNetU8
myEntityNameStringLength
;
27
DtNetU8
myModifierStringLength
;
28
DtNetU8
myPadding
[5];
29
30
31
};
32
39
40
#include "
vrfutil/vrfutilDefines.h
"
41
class
DT_DLL_vrfutil
DtCeSurrender
:
public
DtSimCondExpr
42
{
43
public
:
44
46
DtCeSurrender
();
47
49
DtCeSurrender
(
DtReaderWriterRegistry
* parentRegistry);
50
52
DtCeSurrender
(
const
DtCeSurrender
& orig,
53
DtReaderWriterRegistry
* parentRegistry = NULL);
54
56
virtual
~
DtCeSurrender
();
57
59
DtCeSurrender
&
operator=
(
const
DtCeSurrender
& orig);
60
62
virtual
DtSimCondExpr
*
clone
(
63
DtReaderWriterRegistry
* parentRegistry = NULL);
64
66
virtual
int
type
()
const
;
67
69
virtual
void
setEntityName(
const
DtString
& name);
70
virtual
const
DtString
& entityName()
const
;
71
78
virtual
void
setModifier(
const
DtString
& arg);
79
virtual
const
DtString
& modifier()
const
;
80
82
virtual
void
setSurrenderTestValue(DtBoolean yesNo);
83
virtual
DtBoolean surrenderTestValue()
const
;
84
94
virtual
DtString
stringRep
(
int
subExprIndex = DtSR_EXPR)
const
;
95
98
virtual
int
netRepSize
()
const
;
99
101
virtual
bool
setFromNet
(
const
char
* contentBuffer,
102
unsigned
contentSize);
103
106
virtual
bool
setToNet
();
107
108
static
DtSimCondExpr
* creator();
109
110
protected
:
111
DtRwString
myEntityName
;
112
DtRwString
myModifier
;
113
DtRwBoolean
mySurrenderVal
;
114
};
115
116
#endif
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)