2
* Copyright (c) 2002 Robert Collins.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* A copy of the GNU General Public License can be found at
12
* Written by Robert Collins <robertc@hotmail.com>
25
#error "<string> required"
28
// Each registered option must implement this class.
33
virtual std::string const shortOption () const = 0;
34
virtual std::string const longOption () const = 0;
35
virtual std::string const shortHelp () const = 0;
41
virtual Result Process (char const *) = 0;
47
virtual Argument argument () const = 0;