VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
vrfObjPred.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
#pragma once
6
7
8
10
11
12
#include <vlutil/vlMachineTypes.h>
13
14
class
DtVrfObject
;
15
19
#include "
vrfobjcore/vrfobjcoreDefines.h
"
20
class
DT_DLL_vrfobjcore
DtVrfObjectPredicate
21
{
22
public
:
23
25
DtVrfObjectPredicate
(
bool
negate =
false
);
26
28
virtual
~
DtVrfObjectPredicate
();
29
31
DtVrfObjectPredicate
(
const
DtVrfObjectPredicate
& orig);
32
34
DtVrfObjectPredicate
& operator=(
const
DtVrfObjectPredicate
& orig);
35
37
virtual
DtVrfObjectPredicate
* clone()
const
= 0;
38
42
bool
operator==(
const
DtVrfObjectPredicate
& orig)
const
;
43
bool
operator!=(
const
DtVrfObjectPredicate
& orig)
const
;
44
45
virtual
bool
negated()
const
;
46
virtual
void
setNegate(
bool
negate);
47
50
bool
isTrue(
const
DtVrfObject
* vrfObject);
51
52
public
:
53
55
static
const
DtVrfObjectPredicate
& nullPredicate();
56
57
protected
:
58
61
virtual
bool
eval(
const
DtVrfObject
* vrfObject) = 0;
62
72
virtual
bool
predicateEqual(
const
DtVrfObjectPredicate
& orig)
const
;
73
74
protected
:
75
76
bool
myNegated
;
77
};
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
)