VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
ceConstant.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: ceConstant.h,v $ $Revision: 1.6 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtCeConstant_H_
13
#define DtCeConstant_H_
14
15
#include "
vrfutil/rdrWritr.h
"
16
#include "
vrfutil/condExpr.h
"
17
#include <vlutil/vlNetTypes.h>
18
19
const
char
DtCeTrueTypeName
[] =
"True"
;
20
const
char
DtCeFalseTypeName
[] =
"False"
;
21
22
25
struct
DtNetCeConstant
26
{
27
DtNetBoolean
myValue
;
28
DtNetU8
myPadding
;
29
DtNetU8
myPadding1
;
30
DtNetU8
myPadding2
;
31
DtNetU8
myPadding3
;
32
DtNetU8
myPadding4
;
33
DtNetU8
myPadding5
;
34
DtNetU8
myPadding6
;
35
DtNetU8
myPadding7
;
36
};
37
41
#include "
vrfutil/vrfutilDefines.h
"
42
class
DT_DLL_vrfutil
DtCeConstant
:
public
DtSimCondExpr
43
{
44
public
:
45
47
DtCeConstant
();
48
50
DtCeConstant
(
bool
value,
51
DtReaderWriterRegistry
* parentRegistry = NULL);
52
54
DtCeConstant
(
const
DtCeConstant
& orig,
55
DtReaderWriterRegistry
* parentRegistry = NULL);
56
58
virtual
~
DtCeConstant
();
59
61
DtCeConstant
&
operator=
(
const
DtCeConstant
& orig);
62
64
virtual
DtSimCondExpr
*
clone
(
DtReaderWriterRegistry
* parentRegistry = NULL);
65
68
virtual
int
type
()
const
;
69
71
virtual
bool
value()
const
;
72
82
virtual
DtString
stringRep
(
int
subExprIndex = DtSR_EXPR)
const
;
83
86
virtual
int
netRepSize
()
const
;
87
89
virtual
bool
setFromNet
(
const
char
* contentBuffer,
90
unsigned
contentSize);
91
94
virtual
bool
setToNet
();
95
96
static
DtSimCondExpr
* creatorTrue();
97
static
DtSimCondExpr
* creatorFalse();
98
99
protected
:
100
bool
myValue
;
101
};
102
103
#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
)