COIN-OR::LEMON - Graph Library

Changeset 877:141f9c0db4a3 in lemon-1.2 for lemon/arg_parser.h


Ignore:
Timestamp:
03/06/10 15:35:12 (10 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
878:f802439d2b58, 880:38213abd2911, 909:f112c18bc304
Phase:
public
Message:

Unify the sources (#339)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/arg_parser.h

    r842 r877  
    33 * This file is a part of LEMON, a generic C++ optimization library.
    44 *
    5  * Copyright (C) 2003-2009
     5 * Copyright (C) 2003-2010
    66 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    77 * (Egervary Research Group on Combinatorial Optimization, EGRES).
     
    4343      INVALID_OPT   /// Invalid combination of options
    4444    };
    45    
     45
    4646  private:
    4747    Reason _reason;
    48    
     48
    4949  public:
    5050    ///Constructor
     
    142142    std::string _command_name;
    143143
    144    
     144
    145145  private:
    146146    //Bind a function to an option.
     
    156156
    157157    bool _exit_on_problems;
    158    
     158
    159159    void _terminate(ArgParserException::Reason reason) const;
    160160
     
    424424
    425425    ///Throw instead of exit in case of problems
    426     void throwOnProblems() 
     426    void throwOnProblems()
    427427    {
    428428      _exit_on_problems=false;
Note: See TracChangeset for help on using the changeset viewer.