*** empty log message ***

This commit is contained in:
gustavo 2000-01-26 17:48:24 +00:00
commit 472898871c
2 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ public:
modified or whatever modified or whatever
@param _id a previously assigned ID @param _id a previously assigned ID
@throw runtime_error if the ID does not exist*/ @throw runtime_error if the ID does not exist*/
virtual const eoOp<EOT>& getOp( ID _id ) { virtual eoOp<EOT>& getOp( ID _id ) {
MMF::iterator i=begin(); MMF::iterator i=begin();
ID j = 1; ID j = 1;
while ( (i++!=end()) && (j++ != _id) ); while ( (i++!=end()) && (j++ != _id) );

View file

@ -17,7 +17,7 @@ void GetOutputParam(Parser & parser,
try { try {
parser.AddTitle("Separate parameter: the output file name"); parser.AddTitle("Separate parameter: the output file name");
_string = parser.getString("-O", "--OutputFile", "", "The output file name" ); _string = parser.getString("-O", "--OutputFile", "", "The output file name" );
} catch (UException & e) { } catch (logic_error & e) {
cout << e.what() << endl; cout << e.what() << endl;
parser.printHelp(); parser.printHelp();
exit(1); exit(1);
@ -34,7 +34,7 @@ void sub(Parser & parser) {
try { try {
parser.AddTitle("Private parameters of subroutine sub"); parser.AddTitle("Private parameters of subroutine sub");
i = parser.getInt("-j", "--sint", "5", "private integer of subroutine" ); i = parser.getInt("-j", "--sint", "5", "private integer of subroutine" );
} catch (UException & e) { } catch (logic_error & e) {
cout << e.what() << endl; cout << e.what() << endl;
parser.printHelp(); parser.printHelp();
exit(1); exit(1);
@ -62,7 +62,7 @@ void getParams( Parser & parser,
_array = parser.getArray("-a", "--array", "a b", "an array enclosed within < >" ); _array = parser.getArray("-a", "--array", "a b", "an array enclosed within < >" );
_boolean = parser.getBool("-b","--bool", "a bool value" ); _boolean = parser.getBool("-b","--bool", "a bool value" );
} }
catch (UException & e) catch (logic_error & e)
{ {
cout << e.what() << endl; cout << e.what() << endl;
parser.printHelp(); parser.printHelp();