MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / setVariable

Method setVariable

Externals/MathMLSolver/src/MathMLSymbolTable.cpp:62–73  ·  view source on GitHub ↗

---------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

60
61 //---------------------------------------------------------------------------------
62 void SymbolTable::setVariable( const String& name, AST::INode* value )
63 {
64 VariableMap::iterator iter = findVariable(name);
65 if (iter == mVariables.end())
66 {
67 mVariables[ name ] = value;
68 }
69 else
70 {
71 mVariables[iter->first] = value;
72 }
73 }
74 //-----------------------------------------------------------------------
75 void SymbolTable::setVariable( const String& name, double value )
76 {

Callers 1

visitMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected