VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
MySearch Class Reference
Inheritance diagram for MySearch:
Inheritance graph
[legend]

Public Member Functions

 MySearch ()
virtual ~MySearch ()

Protected Member Functions

virtual bool initializeSearch (const DtVrfObject &entity)
 Override initializeSearch if you need to do some initialization at the start of the search process.
virtual bool inspectEntity (const DtVrfObject &entity)
 Override inspectEntity to do any tests you want to do on base entities that are found in the search.
virtual bool searchSubordinates (const DtVrfObject &pAggEntity, bool excludeDestroyed)
 SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate.
 MySearch (const MySearch &orig)
MySearchoperator= (const MySearch &orig)

Additional Inherited Members

Constructor & Destructor Documentation

MySearch::MySearch ( )
virtual MySearch::~MySearch ( )
virtual
MySearch::MySearch ( const MySearch orig)
protected

Member Function Documentation

virtual bool MySearch::initializeSearch ( const DtVrfObject entity)
protectedvirtual

Override initializeSearch if you need to do some initialization at the start of the search process.

It will only be called once per search before any of the inspect functions are called, and if this function returns false, then the search is canceled. By default it returns true.

Reimplemented from DtSimSubordinateSearch.

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

Override inspectEntity to do any tests you want to do on base entities that are found in the search.

It should return true only if it has found what it is looking for and wants to terminate the search early. By default it simply returns false. It is usually called either because a non-local entity has been found and the default version of inspectRemoteEntity was called, or because a local entity was found and the default version of inspectLocalEntity was called.

Reimplemented from DtSimSubordinateSearch.

virtual bool MySearch::searchSubordinates ( const DtVrfObject entity,
bool  excludeDestroyed 
)
protectedvirtual

SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate.

Reimplemented from DtSimSubordinateSearch.

MySearch& MySearch::operator= ( const MySearch orig)
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)