VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtEchelonIdChangedPredicate Class Reference

Contains the DtEchelonIdChangedPredicate class declaration.

Instances of DtEchelonIdChangedPredicate can be used to evaluate if an entity's echelonId has changed

Inheritance diagram for DtEchelonIdChangedPredicate:
Inheritance graph
[legend]

Public Member Functions

 DtEchelonIdChangedPredicate (bool negate=false)
 
 DtEchelonIdChangedPredicate (const DtString &echelonId, bool negate=false)
 
virtual ~DtEchelonIdChangedPredicate () override
 
 DtEchelonIdChangedPredicate (const DtEchelonIdChangedPredicate &orig)
 
DtEchelonIdChangedPredicate & operator= (const DtEchelonIdChangedPredicate &orig)
 
virtual DtVrfObjectPredicate * clone () const override
 
virtual const DtString & echelonId () const
 
virtual void setEchelonId (const DtString &id)
 
virtual const DtString & previousEchelonId () const
 
virtual void setPreviousEchelonId (const DtString &id)
 
- Public Member Functions inherited from DtVrfObjectPredicate
 DtVrfObjectPredicate (bool negate=false)
 
virtual ~DtVrfObjectPredicate ()
 
 DtVrfObjectPredicate (const DtVrfObjectPredicate &orig)
 
DtVrfObjectPredicate & operator= (const DtVrfObjectPredicate &orig)
 
bool operator== (const DtVrfObjectPredicate &orig) const
 
bool operator!= (const DtVrfObjectPredicate &orig) const
 
virtual bool negated () const
 
virtual void setNegate (bool negate)
 
bool isTrue (const DtSimObject *vrfObject) const
 
virtual bool canBeTrue (const DtSimObject *vrfObject)
 
virtual bool canBeFalse (const DtSimObject *vrfObject)
 
virtual void stringRep (std::ostream &str, int indentLevel=0) const
 

Protected Member Functions

virtual bool eval (const DtSimObject *vrfObject) const override
 
virtual bool predicateEqual (const DtVrfObjectPredicate &orig) const override
 
- Protected Member Functions inherited from DtVrfObjectPredicate
virtual bool canEvalTrue (const DtSimObject *vrfObject) const
 
virtual bool canEvalFalse (const DtSimObject *vrfObject) const
 
virtual void typeSpecificStringRep (std::ostream &str, int indentLevel) const
 

Protected Attributes

DtString myEchelonId
 
DtString myPreviousEchelonId
 
- Protected Attributes inherited from DtVrfObjectPredicate
bool myNegated
 

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfObjectPredicate
static const DtVrfObjectPredicate & nullPredicate ()
 

Constructor & Destructor Documentation

DtEchelonIdChangedPredicate::DtEchelonIdChangedPredicate ( bool  negate = false)

default constructor

DtEchelonIdChangedPredicate::DtEchelonIdChangedPredicate ( const DtString &  echelonId,
bool  negate = false 
)
virtual DtEchelonIdChangedPredicate::~DtEchelonIdChangedPredicate ( )
overridevirtual

destructor

DtEchelonIdChangedPredicate::DtEchelonIdChangedPredicate ( const DtEchelonIdChangedPredicate &  orig)

copy constructor

Member Function Documentation

DtEchelonIdChangedPredicate& DtEchelonIdChangedPredicate::operator= ( const DtEchelonIdChangedPredicate &  orig)

assignment operator

virtual DtVrfObjectPredicate* DtEchelonIdChangedPredicate::clone ( ) const
overridevirtual

clone function

Implements DtVrfObjectPredicate.

virtual const DtString& DtEchelonIdChangedPredicate::echelonId ( ) const
virtual
virtual void DtEchelonIdChangedPredicate::setEchelonId ( const DtString &  id)
virtual
virtual const DtString& DtEchelonIdChangedPredicate::previousEchelonId ( ) const
virtual
virtual void DtEchelonIdChangedPredicate::setPreviousEchelonId ( const DtString &  id)
virtual
virtual bool DtEchelonIdChangedPredicate::eval ( const DtSimObject *  vrfObject) const
overrideprotectedvirtual

The actual test this predicate performs.

Implements DtVrfObjectPredicate.

virtual bool DtEchelonIdChangedPredicate::predicateEqual ( const DtVrfObjectPredicate &  orig) const
overrideprotectedvirtual

Used by equality operator used to compare predicates.

Reimplemented from DtVrfObjectPredicate.

Member Data Documentation

DtString DtEchelonIdChangedPredicate::myEchelonId
protected
DtString DtEchelonIdChangedPredicate::myPreviousEchelonId
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)