Changeset 1027 for trunk/source/interfaces/common/src
- Timestamp:
- May 5, 2009, 5:45:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/common/src/G4VBasicShell.cc
r921 r1027 180 180 return value; 181 181 } 182 183 184 185 182 186 G4String G4VBasicShell::FindMatchingPath( 183 187 G4UIcommandTree* aTree … … 186 190 // From intercoms/src/G4UIcommandTree::FindPath. 187 191 { 192 return aTree->CompleteCommandPath(aCommandPath); 193 188 194 #ifdef G4DEBUG 189 195 printf("G4VBasicShell::FindMatchingPath %s\n",aCommandPath.c_str()); … … 226 232 G4UIcommand* cmd = commands[i_thCommand]; 227 233 G4cout << cmd->GetCommandName() << G4endl; 234 #ifdef G4DEBUG 235 printf("%s found\n",cmd->GetCommandName().c_str()); 236 #endif 228 237 } 229 238 return empty; … … 258 267 nextPath.append(remainingPath(0,i+1)); 259 268 G4int n_treeEntry = aTree->GetTreeEntry(); 269 #ifdef G4DEBUG 270 printf(" find PATH\n"); 271 #endif 260 272 for( G4int i_thTree = 1; i_thTree <= n_treeEntry; i_thTree++ ) { 261 273 G4UIcommandTree* tree = aTree->GetTree(i_thTree); 274 #ifdef G4DEBUG 275 printf("++++LOOP+++++++++++++%s == %s \n",nextPath.c_str(), tree->GetPathName().c_str()); 276 #endif 262 277 if( nextPath == tree->GetPathName() ) { 263 278 return FindMatchingPath(tree,aCommandPath );
Note: See TracChangeset
for help on using the changeset viewer.