summaryrefslogtreecommitdiff
path: root/src/options.h
blob: 1085e1e60a20836ab34905e56eba6ccb9f5fa24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef OPTIONS_H
#define OPTIONS_H

#include <bu/optparser.h>

class Options : public Bu::OptParser
{
public:
    Options( int argc, char *argv[] );
    virtual ~Options();

    int getScale() const { return iScale; }
    int getRadix() const { return iRadix; }

private:
    int selfTest( Bu::StringArray aArgs );
    int textPrimes( Bu::StringArray aArgs );
    int isPrime( Bu::StringArray aArgs );

    int iScale;
    int iRadix;
};

#endif