Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (15 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/common/src/G4VBasicShell.cc

    r850 r921  
    186186// From intercoms/src/G4UIcommandTree::FindPath.
    187187{
     188#ifdef G4DEBUG
     189  printf("G4VBasicShell::FindMatchingPath %s\n",aCommandPath.c_str());
     190#endif
    188191  G4String empty = "";
    189192  if(aTree==NULL) return empty;
     
    193196  remainingPath.remove(0,pathName.length());
    194197  size_t i = remainingPath.first('/');
     198#ifdef G4DEBUG
     199  printf("G4VBasicShell::FindMatchingPath remainingPath:%s\n",remainingPath.c_str());
     200#endif
    195201  if( i == std::string::npos ) {
     202#ifdef G4DEBUG
     203  printf("G4VBasicShell::FindMatchingPath npos \n");
     204#endif
    196205    // Look for number of matching commands :
    197206    std::vector<G4UIcommand*> commands;
     
    202211      ss.resize(remainingPath.length());
    203212      if( remainingPath == ss ) commands.push_back(cmd);
     213#ifdef G4DEBUG
     214      printf("look for command check %s %s \n",ss.c_str(),remainingPath.c_str());
     215#endif
    204216    }
    205217    n_commandEntry = commands.size();
     218#ifdef G4DEBUG
     219      printf("%d found\n",n_commandEntry);
     220#endif
    206221    if(n_commandEntry==1) {
    207222      return (pathName + commands[0]->GetCommandName());
Note: See TracChangeset for help on using the changeset viewer.