![]() |
VR-Forces 4.10 Class Documentation
|
Public Member Functions | |
| DtPlanVariableSubstitutor (DtVrfObject *) | |
| virtual | ~DtPlanVariableSubstitutor () |
| virtual std::vector < DtReaderWriter * > | substituteVariablesIn (const DtRwVariableBindings &, DtReaderWriter *) const |
| Iterates over all items in the reader writer registry of the supplied item, and, if any of the variables are UUIDs and they happen to match the UUID of the simulation object or created object variable, those values in the reader/writer supplied will be set to those of the variable. More... | |
| virtual std::vector < DtReaderWriter * > | substitutedValues (const DtRwVariableBindings &, const DtReaderWriter *) const |
| Returns a vector list of reader/writer values (cloned from the source) that were substituted. The results of this call must be freed by the user. More... | |
| virtual bool | subsituteUUIDIfAvailable (const DtRwVariableBindings &, const DtReaderWriter *, DtUUID &uuid) const |
| If, in the supplied reader/writer there is a matching UUID to substitute, place the resultant value in the givem UUID and return true. More... | |
Protected Member Functions | |
| virtual std::vector < DtReaderWriter * > | substitutedValues (const DtRwVariableBindings &, DtReaderWriter *, bool clone) const |
| The results of this call must be freed by the caller if clone is true. More... | |
| virtual void | substituteVariablesIn (boost::unordered_map< DtUUID, const DtRwPlanSimulationObject * > &, DtReaderWriter *, bool clone, std::vector< DtReaderWriter * > &replaced) const |
| Substitute any variables found in the reader/writer registry. Will recurse for variables of type variable bindings. More... | |
Protected Attributes | |
| DtVrfObject * | myVrfObject |
Private Member Functions | |
| DtPlanVariableSubstitutor (const DtPlanVariableSubstitutor &orig) | |
| Not implemented. More... | |
| DtPlanVariableSubstitutor & | operator= (const DtPlanVariableSubstitutor &orig) |
| Not implemented. More... | |
|
private |
Not implemented.
| DtPlanVariableSubstitutor::DtPlanVariableSubstitutor | ( | DtVrfObject * | ) |
|
virtual |
|
private |
Not implemented.
|
virtual |
Iterates over all items in the reader writer registry of the supplied item, and, if any of the variables are UUIDs and they happen to match the UUID of the simulation object or created object variable, those values in the reader/writer supplied will be set to those of the variable.
This call will return the values that were substituted. Do not delete the returned memory as this is the reader/writer value as it exists
|
virtual |
Returns a vector list of reader/writer values (cloned from the source) that were substituted. The results of this call must be freed by the user.
|
virtual |
If, in the supplied reader/writer there is a matching UUID to substitute, place the resultant value in the givem UUID and return true.
|
protectedvirtual |
The results of this call must be freed by the caller if clone is true.
If clone is true they will not be substituted inline with the supplied reader/writer. This class only supports UUIDs.
|
protectedvirtual |
Substitute any variables found in the reader/writer registry. Will recurse for variables of type variable bindings.
|
protected |