lemon/arg_parser.h
changeset 956 141f9c0db4a3
parent 915 c2ff0a365245
child 959 38213abd2911
     1.1 --- a/lemon/arg_parser.h	Wed Mar 17 12:35:52 2010 +0100
     1.2 +++ b/lemon/arg_parser.h	Sat Mar 06 14:35:12 2010 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4   *
     1.5   * This file is a part of LEMON, a generic C++ optimization library.
     1.6   *
     1.7 - * Copyright (C) 2003-2009
     1.8 + * Copyright (C) 2003-2010
     1.9   * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.10   * (Egervary Research Group on Combinatorial Optimization, EGRES).
    1.11   *
    1.12 @@ -42,10 +42,10 @@
    1.13        UNKNOWN_OPT,  /// Unknown option was given
    1.14        INVALID_OPT   /// Invalid combination of options
    1.15      };
    1.16 -    
    1.17 +
    1.18    private:
    1.19      Reason _reason;
    1.20 -    
    1.21 +
    1.22    public:
    1.23      ///Constructor
    1.24      ArgParserException(Reason r) throw() : _reason(r) {}
    1.25 @@ -141,7 +141,7 @@
    1.26      std::vector<std::string> _file_args;
    1.27      std::string _command_name;
    1.28  
    1.29 -    
    1.30 +
    1.31    private:
    1.32      //Bind a function to an option.
    1.33  
    1.34 @@ -155,7 +155,7 @@
    1.35                      void (*func)(void *),void *data);
    1.36  
    1.37      bool _exit_on_problems;
    1.38 -    
    1.39 +
    1.40      void _terminate(ArgParserException::Reason reason) const;
    1.41  
    1.42    public:
    1.43 @@ -423,7 +423,7 @@
    1.44      const std::vector<std::string> &files() const { return _file_args; }
    1.45  
    1.46      ///Throw instead of exit in case of problems
    1.47 -    void throwOnProblems() 
    1.48 +    void throwOnProblems()
    1.49      {
    1.50        _exit_on_problems=false;
    1.51      }