Changeset 1747 for code/trunk/src/core/CommandEvaluation.cc
- Timestamp:
- Sep 9, 2008, 4:25:52 AM (17 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core3 (added) merged: 1573-1574,1583-1586,1591-1594,1596-1597,1603,1606-1607,1610-1611,1655,1658,1676-1679,1681-1685,1687,1716-1723,1725-1729,1736
- Property svn:mergeinfo changed
-
code/trunk/src/core/CommandEvaluation.cc
r1563 r1747 30 30 #include "ConsoleCommand.h" 31 31 #include "Identifier.h" 32 #include " Debug.h"32 #include "util/Debug.h" 33 33 #include "util/String.h" 34 34 … … 218 218 } 219 219 220 void CommandEvaluation::setEvaluatedParameter(unsigned int index, MultiType Mathparam)220 void CommandEvaluation::setEvaluatedParameter(unsigned int index, MultiType param) 221 221 { 222 222 if (index >= 0 && index < MAX_FUNCTOR_ARGUMENTS) … … 224 224 } 225 225 226 MultiType MathCommandEvaluation::getEvaluatedParameter(unsigned int index) const226 MultiType CommandEvaluation::getEvaluatedParameter(unsigned int index) const 227 227 { 228 228 if (index >= 0 && index < MAX_FUNCTOR_ARGUMENTS) … … 240 240 } 241 241 242 MultiType MathCommandEvaluation::getReturnvalue() const242 MultiType CommandEvaluation::getReturnvalue() const 243 243 { 244 244 if (this->function_) 245 245 return this->function_->getReturnvalue(); 246 246 247 return MultiType Math();247 return MultiType(); 248 248 } 249 249 … … 304 304 305 305 if (command->defaultValueSet(i)) 306 output += "=" + command->getDefaultValue(i). toString() + "]";306 output += "=" + command->getDefaultValue(i).getString() + "]"; 307 307 else 308 308 output += "}";
Note: See TracChangeset
for help on using the changeset viewer.