#include <ShInternals.hpp>
Public Member Functions | |
| ShVarTransformMap () | |
| ShVarTransformMap (const ShVarTransformMap &m) | |
| ShVarTransformMap & | operator= (const ShVarTransformMap &m) |
| void | clear () |
| Clear the map out. | |
| void | add_variable_transform (const ShVariableNodePtr &origVar, const ShVariableNodePtr &newVar) |
| Indicate that we are creating a new transformed variable derived from the given original variable. | |
| ShVariableNodePtr | get_original_variable (const ShVariableNodePtr &newVar) const |
| Get the original variable (ALL the way back) that gave rise to the given transformed variable. | |
when compiling) to the originals and supports querying for the original variable from which the given "transformed" variable was derived.
Definition at line 65 of file ShInternals.hpp.
|
||||||||||||
|
Indicate that we are creating a new transformed variable derived from the given original variable. If the original variable is already in the map, the mapping from new to old will follow the chain all the way back. Definition at line 81 of file ShInternals.cpp. |
|
|
Get the original variable (ALL the way back) that gave rise to the given transformed variable. If a mapping is not found for the given variable, the variable itself is return (ie. it has not been transformed at all). Definition at line 92 of file ShInternals.hpp. |
1.4.6