Very simple command-line parser. More...
#include <deque>
#include <map>
#include <vector>
#include <algorithm>
#include <sstream>
Data Structures | |
class | VariablesMap |
Command-line parsing result. More... | |
class | Description |
The description of one single command-line option. More... | |
class | Descriptions |
List of command-line option descriptions. More... | |
Namespaces | |
namespace | Steinberg |
namespace | Steinberg::CommandLine |
Very simple command-line parser. | |
Typedefs | |
typedef std::vector< std::string > | FilesVector |
type of the list of elements on the command line that are not handled by options parsing | |
Functions | |
bool | parse (int ac, char *av[], const Descriptions &desc, VariablesMap &result, FilesVector *files=0) |
Parse the command-line. | |
std::ostream & | operator<< (std::ostream &os, const Descriptions &desc) |
Make Descriptions stream able. |
Very simple command-line parser.