Rudiments
commandline.h
1 // Copyright (c) 1999-2002 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 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 class commandlineprivate;
14 
17 class RUDIMENTS_DLLSPEC commandline {
18  public:
19 
21  commandline(int32_t argc, const char **argv);
22 
24  ~commandline();
25 
34  const char *getValue(const char *arg) const;
35 
43  bool found(const char *arg) const;
44 
45  #include <rudiments/private/commandline.h>
46 
47 };
48 
49 #ifdef RUDIMENTS_NAMESPACE
50 }
51 #endif
52 
53 #endif