/* Copyright (c) 1997-2009
   Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Darmstadt, Germany)
   http://www.polymake.de

   This program is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published by the
   Free Software Foundation; either version 2, or (at your option) any
   later version: http://www.gnu.org/licenses/gpl.txt.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
*/

#ifndef _POLYMAKE_READ_INT_ARGS_H
#define _POLYMAKE_READ_INT_ARGS_H "$Project: polymake $$Id: read_int_args.h 9297 2009-09-02 13:27:00Z sherrmann $"

#include <Set.h>

#include <list>

/** Reads integers, specified individually or as a sequence,
 *  e.g. {1 7...9 20} = {1 7 8 9 20}. (perl lovers might use just two
 *  points to indicate a sequence.) 
 */

namespace polymake { namespace topaz { 

Set<int> read_int_args_as_set (const int argc, const char* argv[], const int start_index);

std::list<int> read_int_args_as_list (const int argc, const char* argv[], const int start_index);

} }

#endif // _POLYMAKE_READ_INT_ARGS_H

// Local Variables:
// mode:C++
// c-basic-offset:3
// End:
