Changeset 877:141f9c0db4a3 in lemon-main for lemon/arg_parser.h
- Timestamp:
- 03/06/10 15:35:12 (14 years ago)
- Branch:
- default
- Children:
- 879:38213abd2911, 931:f112c18bc304
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/arg_parser.h
r842 r877 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2010 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 43 43 INVALID_OPT /// Invalid combination of options 44 44 }; 45 45 46 46 private: 47 47 Reason _reason; 48 48 49 49 public: 50 50 ///Constructor … … 142 142 std::string _command_name; 143 143 144 144 145 145 private: 146 146 //Bind a function to an option. … … 156 156 157 157 bool _exit_on_problems; 158 158 159 159 void _terminate(ArgParserException::Reason reason) const; 160 160 … … 424 424 425 425 ///Throw instead of exit in case of problems 426 void throwOnProblems() 426 void throwOnProblems() 427 427 { 428 428 _exit_on_problems=false;
Note: See TracChangeset
for help on using the changeset viewer.