Changeset 3301 for code/trunk/src/core/Executor.cc
- Timestamp:
- Jul 18, 2009, 4:03:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Executor.cc
r3280 r3301 99 99 100 100 // assign all given arguments to the multitypes 101 for (unsigned int i = 0; i < std::min(tokens.size(), (unsigned int)MAX_FUNCTOR_ARGUMENTS); i++)101 for (unsigned int i = 0; i < std::min(tokens.size(), MAX_FUNCTOR_ARGUMENTS); i++) 102 102 param[i] = tokens[i]; 103 103 104 104 // fill the remaining multitypes with default values 105 for (unsigned int i = tokens.size(); i < std::min(paramCount, (unsigned int)MAX_FUNCTOR_ARGUMENTS); i++)105 for (unsigned int i = tokens.size(); i < std::min(paramCount, MAX_FUNCTOR_ARGUMENTS); i++) 106 106 param[i] = this->defaultValue_[i]; 107 107 108 108 // evaluate the param types through the functor 109 for (unsigned int i = 0; i < std::min(paramCount, (unsigned int)MAX_FUNCTOR_ARGUMENTS); i++)109 for (unsigned int i = 0; i < std::min(paramCount, MAX_FUNCTOR_ARGUMENTS); i++) 110 110 this->functor_->evaluateParam(i, param[i]); 111 111
Note: See TracChangeset
for help on using the changeset viewer.