Changeset 3028 in Sophya for trunk/SophyaProg


Ignore:
Timestamp:
Jul 17, 2006, 2:41:14 PM (19 years ago)
Author:
ansari
Message:

Ajout flag -lmod ds scanppf.cc - Reza 17/7/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PrgUtil/scanppf.cc

    r2662 r3028  
    3838  csh> scanppf -h
    3939 PIOPersist::Initialize() Starting Sophya Persistence management service
    40 SOPHYA Version  1.8 Revision 40 (V_Avr2005) -- Apr  7 2005 12:00:24 cxx
     40SOPHYA Version  2.0 Revision 0 (V_Jul2006) -- Jul 17 2006 14:13:27 cxx
    4141 Usage: scanppf [flags] filename
    42  flags = -s -n -a0 -a1 -a2 -a3 -lh -lho
     42 flags = -s -n -a0 -a1 -a2 -a3 -lh -lho -lmod
    4343   -s[=default} : Sequential reading of objects
    4444   -n : Object reading at NameTags
     
    4646   -lh : List PPersist handler classes
    4747   -lho : List PPersist handler and dataobj classes
     48   -lmod : List initialized/registered modules
    4849
    4950  \endverbatim
     
    6263if ((narg < 2) || (strcmp(arg[1],"-h") == 0) ) {
    6364  cout << " Usage: scanppf [flags] filename \n"
    64        << " flags = -s -n -a0 -a1 -a2 -a3 -lh -lho \n"
     65       << " flags = -s -n -a0 -a1 -a2 -a3 -lh -lho -lmod \n"
    6566       << "   -s[=default} : Sequential reading of objects \n" 
    6667       << "   -n : Object reading at NameTags \n"
    6768       << "   -a0...a3 : Tag List with PInPersist.AnalyseTags(0...3) \n"
    6869       << "   -lh : List PPersist handler classes \n"
    69        << "   -lho : List PPersist handler and dataobj classes \n" << endl;
     70       << "   -lho : List PPersist handler and dataobj classes \n"
     71       << "   -lmod : List initialized/registered modules \n" << endl;
    7072  return(0);
    7173  }
     
    9193    PIOPersist::ListPPHandlers();
    9294    PIOPersist::ListDataObjClasses();
     95  }
     96  else if (opt == "-lmod") {
     97    cout << " --- scanppf : List of registered module names and version --- " << endl;
     98    SophyaInitiator::ListModules(cout);
    9399  }
    94100  else {
Note: See TracChangeset for help on using the changeset viewer.