VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtEntLeftOfLineSearch Class Reference

Instances of DtEntLeftOfLineSearch are used to search the echelon entity structure for ANY entities left of a given phase line. More...

Inheritance diagram for DtEntLeftOfLineSearch:
Inheritance graph
[legend]

Public Member Functions

 DtEntLeftOfLineSearch ()
 default constructor
 DtEntLeftOfLineSearch (const DtString &lineName)
virtual ~DtEntLeftOfLineSearch ()
 destructor
virtual const DtStringlineName () const
 Get the phase line name.
virtual void setLineName (const DtString &lineName)
 Set the phase line name.

Protected Member Functions

virtual bool initializeSearch (const DtVrfObjectManager *vrfObjectManager)
 Function to initialize the search, it looks up the phase line name so that it won't have to do it for each test.
virtual bool inspectEntity (const DtVrfObject &entity)
 Test any and all entities to find one that is left of the line.
virtual bool searchSubordinates (const DtVrfObject &pAggEntity)
 Controls whether subordinates of a specified pseudo-aggregate are searched.

Protected Attributes

DtString myLineName
 Member variables.
const DtVrfObjectmyPhaseLine

Private Member Functions

 DtEntLeftOfLineSearch (const DtEntLeftOfLineSearch &orig)
 copy constructor; not implemented
DtEntLeftOfLineSearchoperator= (const DtEntLeftOfLineSearch &orig)
 assignment operator; not implemented

Detailed Description

Instances of DtEntLeftOfLineSearch are used to search the echelon entity structure for ANY entities left of a given phase line.

If any are detected the search is terminated. Call the searchBelow() function to do the actual search. Test the result by calling result().

Constructor & Destructor Documentation

DtEntLeftOfLineSearch::DtEntLeftOfLineSearch ( )

default constructor

DtEntLeftOfLineSearch::DtEntLeftOfLineSearch ( const DtString lineName)
virtual DtEntLeftOfLineSearch::~DtEntLeftOfLineSearch ( )
virtual

destructor

DtEntLeftOfLineSearch::DtEntLeftOfLineSearch ( const DtEntLeftOfLineSearch orig)
private

copy constructor; not implemented

Member Function Documentation

virtual const DtString& DtEntLeftOfLineSearch::lineName ( ) const
virtual

Get the phase line name.

virtual void DtEntLeftOfLineSearch::setLineName ( const DtString lineName)
virtual

Set the phase line name.

virtual bool DtEntLeftOfLineSearch::initializeSearch ( const DtVrfObjectManager vrfObjectManager)
protectedvirtual

Function to initialize the search, it looks up the phase line name so that it won't have to do it for each test.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntLeftOfLineSearch::inspectEntity ( const DtVrfObject entity)
protectedvirtual

Test any and all entities to find one that is left of the line.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntLeftOfLineSearch::searchSubordinates ( const DtVrfObject pAggEntity)
protectedvirtual

Controls whether subordinates of a specified pseudo-aggregate are searched.

If the "ANY" modifier was specified, it calls the base class version, otherwise it just returns false.

Reimplemented from DtSimSubordinateSearch.

DtEntLeftOfLineSearch& DtEntLeftOfLineSearch::operator= ( const DtEntLeftOfLineSearch orig)
private

assignment operator; not implemented

Member Data Documentation

DtString DtEntLeftOfLineSearch::myLineName
protected

Member variables.

const DtVrfObject* DtEntLeftOfLineSearch::myPhaseLine
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)