Changeset 2755 in Sophya for trunk/SophyaPI/PIext/basexecut.cc
- Timestamp:
- May 23, 2005, 6:33:02 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r2718 r2755 53 53 /* Macro pour tester si flag normalized coordinate est present */ 54 54 #define _CkBoolNC_(_jk_) ((tokens.size()>_jk_) && (tokens[_jk_] == "true")) ? true : false; 55 55 56 56 57 /* --Methode-- */ 57 58 int PIABaseExecutor::Execute(string& kw, vector<string>& tokens, string& toks) … … 1125 1126 1126 1127 return(0); 1128 } 1129 1130 /* --Methode-- */ 1131 bool PIABaseExecutor::IsThreadable(string const & keyw) 1132 { 1133 if ( (keyw == "fillvec") || (keyw == "fillmtx") || 1134 (keyw == "fillnt") || (keyw == "ntloop") ) return true; 1135 else if (keyw.substr(0,4) == "func") return true; 1136 else { 1137 string skw = keyw.substr(0,5); 1138 if ( (skw == "plot2") || (skw == "plot3") || (skw == "projh") ) return true; 1139 } 1140 return false; 1127 1141 } 1128 1142
Note:
See TracChangeset
for help on using the changeset viewer.