Changeset 466 in Sophya for trunk/SophyaPI/PIext/nobjmgr.cc


Ignore:
Timestamp:
Oct 14, 1999, 7:01:58 PM (26 years ago)
Author:
ercodmgr
Message:

Changement nom /func en /autoc
Nouvelles commandes PAW-like n/plot,...,reset,h/plot/2d etc..
Creation de helpfit pour commenatires fit,fitlin,fitw,crfitfun etc..

cmv 14/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r463 r466  
    119119  CreateDir(dirn);
    120120  SetKeepOldDirAtt(dirn, false);
    121   dirn = "func";
     121  dirn = "autoc";
    122122  CreateDir(dirn);
    123123  SetKeepOldDirAtt(dirn, false);
     
    420420  }
    421421
    422 // Si c'est le repertoire /func, on nettoie
    423 if (nrep == "func")  {
     422// Si c'est le repertoire /autoc, on nettoie
     423if (nrep == "autoc")  {
    424424  CleanDir(nrep);
    425425  }
     
    439439it = myObjs->find(nom);
    440440if (it != myObjs->end()) { // l'objet existe deja
    441   if (nrep == "func") {  // Dans /func , on garde les objets affiches, donc del. par Clean
     441  if (nrep == "autoc") {  // Dans /autoc , on garde les objets affiches, donc del. par Clean
    442442    sprintf(buff, "%d", (*it).second.oid);
    443     string nomnew = "/func/" + nobj + buff;
     443    string nomnew = "/autoc/" + nobj + buff;
    444444    RenameObj(nom, nomnew);
    445445    }                             
Note: See TracChangeset for help on using the changeset viewer.