Rudiments: /home/dmuse/temp/rudiments/include/rudiments/commandline.h Source File

Rudiments

commandline.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_COMMANDLINE_H
5 #define RUDIMENTS_COMMANDLINE_H
6
7 #include <rudiments/private/commandlineincludes.h>
8
11 class RUDIMENTS_DLLSPEC commandline {
12 public:
13
15 commandline();
16
19 commandline(int32_t argc, const char **argv);
20
22 ~commandline();
23
26 void initialize(int32_t argc, const char **argv);
27
36 const char *getValue(const char *arg) const;
37
59 const char *getValue(const char *arg,
60 const char *abbr) const;
61
66 bool found(const char *arg) const;
67
77 bool found(const char *arg, const char *abbr) const;
78
83 void toDictionary(dictionary<char *,char *> *dict);
84
85 #include <rudiments/private/commandline.h>
86
87 };
88
89 #endif
commandline
Definition: commandline.h:11
commandline::commandline
commandline(int32_t argc, const char **argv)
commandline::commandline
commandline()
commandline::found
bool found(const char *arg, const char *abbr) const
commandline::~commandline
~commandline()
commandline::found
bool found(const char *arg) const
commandline::toDictionary
void toDictionary(dictionary< char *, char * > *dict)
commandline::initialize
void initialize(int32_t argc, const char **argv)
commandline::getValue
const char * getValue(const char *arg, const char *abbr) const
commandline::getValue
const char * getValue(const char *arg) const
dictionary
Definition: dictionary.h:63