|
| | MySearch () |
| |
| virtual | ~MySearch () |
| |
| | DtSimSubordinateSearch () |
| | default constructor More...
|
| |
| virtual | ~DtSimSubordinateSearch ()=0 |
| | destructor More...
|
| |
| bool | search (const DtUUID &search, const DtUUID &evaluator, DtSimManager *simManager) |
| | If the first field of the modifier is "PATTERN" or "SELF", this function will parse out any additional arguments for those searches. More...
|
| |
| virtual const DtString & | modifier () const |
| | Get the test modifier string. More...
|
| |
| virtual void | setModifier (const DtString &modifier) |
| | Set the test modifier. More...
|
| |
| virtual bool | searchBelow (const DtVrfObject &entity, bool excludeDestroyed) |
| | Call searchBelow to search the echelon hierarchy below a given entity. More...
|
| |
| virtual bool | searchBelow (const DtVrfObjectManager *mgr, int iForce, bool excludeDestroyed) |
| | This call will take an object manager and a force type over which to check the subtree against entities of that type. More...
|
| |
| virtual bool | result () |
| | Result function: returns true if it found a matching entity. More...
|
| |
| virtual bool | isTopLevelEntity (const DtString &entity) const |
| | Returns true if entity supplied is a top level entity. More...
|
| |
| virtual bool | isValidEntity (const DtVrfObject &entity) |
| | Returns true if the object is an aggregate, a platform, or a lifeform or cultural feature. More...
|
| |
| virtual int | forceType (const DtString &entity) const |
| | Returns the force type of the entity based on the name pattern (1 Force, 2 Force, etc.) If name does not follow pattern, returns -1. More...
|
| |
| virtual const DtUUID & | simulationObject () const |
| | The object that satisfied the search. More...
|
| |
| virtual MySearch::~MySearch |
( |
| ) |
|
|
virtual |
| MySearch::MySearch |
( |
const MySearch & |
orig | ) |
|
|
protected |
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.
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.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-8-branch/examples/addConditional/addConditionalSim/search.h