#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 (ShVariableNodePtr origVar, ShVariableNodePtr newVar) |
| Indicate that we are creating a new transformed variable derived from the given original variable. | |
| ShVariableNodePtr | get_original_variable (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 62 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. Referenced by SH::InputOutputConvertor::updateGraph(). |
|
|
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 89 of file ShInternals.hpp. |
1.4.3-20050530