![]() |
VR-Forces 4.2 Class Documentation
|
The DtTargetRankOperatorWrapper class wraps a pointer to a DtTargetRankOperator in an interface that is valid for STL set sorting operators. More...
Public Member Functions | |
| DtTargetRankOperatorWrapper (DtTargetRankOperator *rankOp) | |
| rankOp must exist for the duration of this class, and any copies of this class. | |
| DtTargetRankOperatorWrapper (const DtTargetRankOperatorWrapper &orig) | |
| Shallow copy – only copies pointer to rankOp. | |
| DtTargetRankOperatorWrapper & | operator= (const DtTargetRankOperatorWrapper &orig) |
| Shallow copy – only copies pointer to rankOp. | |
| bool | operator() (const DtRwSensorContactInfo *contact1, const DtRwSensorContactInfo *contact2) const |
| Calls myRankOperator->operator(). | |
Protected Attributes | |
| DtTargetRankOperator * | myRankOperator |
Private Member Functions | |
| DtTargetRankOperatorWrapper () | |
| Not implemented. | |
The DtTargetRankOperatorWrapper class wraps a pointer to a DtTargetRankOperator in an interface that is valid for STL set sorting operators.
This allows use of virtual DtTargetRankOperator subclasses to be used in the sorting process.
|
private |
Not implemented.
| DtTargetRankOperatorWrapper::DtTargetRankOperatorWrapper | ( | DtTargetRankOperator * | rankOp | ) |
rankOp must exist for the duration of this class, and any copies of this class.
| DtTargetRankOperatorWrapper::DtTargetRankOperatorWrapper | ( | const DtTargetRankOperatorWrapper & | orig | ) |
Shallow copy – only copies pointer to rankOp.
| DtTargetRankOperatorWrapper& DtTargetRankOperatorWrapper::operator= | ( | const DtTargetRankOperatorWrapper & | orig | ) |
Shallow copy – only copies pointer to rankOp.
| bool DtTargetRankOperatorWrapper::operator() | ( | const DtRwSensorContactInfo * | contact1, |
| const DtRwSensorContactInfo * | contact2 | ||
| ) | const |
Calls myRankOperator->operator().
|
protected |