class DtCheckEntityIdLevelSearch:
More...
Public Member Functions |
| | DtCheckEntityIdLevelSearch () |
| | default constructor
|
| virtual | ~DtCheckEntityIdLevelSearch () |
| | destructor
|
| void | setCombatIdLevel (int i) |
| void | setEntity (DtSharedVrfObjectReference) |
| | DtSimSubordinateSearch () |
| | default constructor
|
| virtual | ~DtSimSubordinateSearch ()=0 |
| | destructor
|
| 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.
|
| virtual const DtString & | modifier () const |
| | Get the test modifier string.
|
| virtual void | setModifier (const DtString &modifier) |
| | Set the test modifier.
|
| virtual bool | searchBelow (const DtVrfObject &entity, bool excludeDestroyed) |
| | Call searchBelow to search the echelon hierarchy below a given entity.
|
| 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.
|
| virtual bool | result () |
| | Result function: returns true if it found a matching entity.
|
| virtual bool | isTopLevelEntity (const DtString &entity) const |
| | Returns true if entity supplied is a top level entity.
|
| virtual bool | isValidEntity (const DtVrfObject &entity) |
| | Returns true if the object is an aggregate, a platform, or a lifeform or cultural feature.
|
| 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.
|
| virtual const DtUUID & | simulationObject () const |
| | The object that satisfied the search.
|
Detailed Description
class DtCheckEntityIdLevelSearch:
Instances of DtCheckEntityIdLevelSearch are used to search the echelon entity structure for entities that are specified either through modifier or name that match the combat id level.
Constructor & Destructor Documentation
| DtCheckEntityIdLevelSearch::DtCheckEntityIdLevelSearch |
( |
| ) |
|
| virtual DtCheckEntityIdLevelSearch::~DtCheckEntityIdLevelSearch |
( |
| ) |
|
|
virtual |
copy constructor; not implemented
Member Function Documentation
| void DtCheckEntityIdLevelSearch::setCombatIdLevel |
( |
int |
i | ) |
|
|
inline |
| virtual bool DtCheckEntityIdLevelSearch::inspectEntity |
( |
const DtVrfObject & |
entity | ) |
|
|
protectedvirtual |
| virtual bool DtCheckEntityIdLevelSearch::searchSubordinates |
( |
const DtVrfObject & |
pAggEntity, |
|
|
bool |
excludeDestroyed |
|
) |
| |
|
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.
assignment operator; not implemented
Member Data Documentation
| int DtCheckEntityIdLevelSearch::myCombatIdLevel |
|
protected |
The documentation for this class was generated from the following file: