/*----------------------------------------------------- Declaration of Opts class for command line options Generated by aargh 1.1.3 Sun Feb 12 10:08:59 2006 -----------------------------------------------------*/ #ifndef OPTS_H_GUARD #define OPTS_H_GUARD #include class Opts { public : Opts() { initialize(); populated = false; }; ~Opts() {} int get( int argc, char * argv[] ); int new_argc() const { return new_argc_; } char ** new_argv() const { return new_argv_; } const std::string & infile() const { return infile_; } bool infile_found() const { return infile_found_; } unsigned long counter() const { return counter_; } bool counter_found() const { return counter_found_; } bool verbose() const { return verbose_; } private : void initialize(); bool populated; int new_argc_; char ** new_argv_; std::string infile_; bool infile_found_; unsigned long counter_; bool counter_found_; bool verbose_; }; #endif