VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
ceOr.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: ceOr.h,v $ $Revision: 1.5 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtCeOr_H_
13
#define DtCeOr_H_
14
15
#include "
vrfutil/rdrWritr.h
"
16
#include "
vrfutil/condExpr.h
"
17
18
const
char
DtCeOrTypeName
[] =
"OR"
;
19
20
24
struct
DtNetCeOr
25
{
26
DtNetU16
myLeftCondExprType
;
27
DtNetU16
myRightCondExprType
;
28
DtNetU16
myPadding
;
29
DtNetU16
myPadding1
;
30
};
31
38
#include "
vrfutil/vrfutilDefines.h
"
39
class
DT_DLL_vrfutil
DtCeOr
:
public
DtSimCondExpr
40
{
41
public
:
42
44
DtCeOr
();
45
47
DtCeOr
(
DtReaderWriterRegistry
* parentRegistry);
48
50
DtCeOr
(
const
DtCeOr
& orig,
51
DtReaderWriterRegistry
* parentRegistry = NULL);
52
54
virtual
~
DtCeOr
();
55
57
DtCeOr
&
operator=
(
const
DtCeOr
& orig);
58
60
virtual
DtSimCondExpr
*
clone
(
DtReaderWriterRegistry
* parentRegistry = NULL);
61
64
virtual
int
type
()
const
;
65
68
virtual
void
setLeftCondExpr(
DtSimCondExpr
* leftExpr);
69
virtual
DtSimCondExpr
* leftCondExpr();
70
virtual
const
DtSimCondExpr
* leftCondExpr()
const
;
71
74
virtual
void
setRightCondExpr(
DtSimCondExpr
* rightExpr);
75
virtual
DtSimCondExpr
* rightCondExpr();
76
virtual
const
DtSimCondExpr
* rightCondExpr()
const
;
77
80
virtual
int
subExprCount
()
const
;
87
virtual
DtSimCondExpr
*
subExpr
(
int
index);
88
99
virtual
DtString
stringRep
(
int
subExprIndex = DtSR_EXPR)
const
;
100
101
105
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtFilename& searchPath,
106
const
DtVariableBindingsList
& variableBindings);
107
110
virtual
int
netRepSize
()
const
;
111
113
virtual
bool
setFromNet
(
const
char
* contentBuffer,
114
unsigned
contentSize);
115
118
virtual
bool
setToNet
();
119
120
static
DtSimCondExpr
* creator();
121
122
protected
:
123
DtSimCondExpr
*
myLeftCondExpr
;
124
DtSimCondExpr
*
myRightCondExpr
;
125
};
126
127
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)