'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
ArgvInterface.h
1#ifndef ESI_ARGV_SEEN
2#define ESI_ARGV_SEEN
3
4namespace esi {
6
36class Argv {
37
38 public:
39
41 virtual ~Argv() {}
42
46 virtual const char * get(int index) CLASSIC_CCA_PURE;
47
51 virtual int getArgCount() CLASSIC_CCA_PURE;
52
55 virtual void appendArg(const char *arg) CLASSIC_CCA_PURE;
56
57} ENDSEMI // Argv class
58} ENDSEMI // esi namespace
59#endif // ESI_ARGV_SEEN
Simplest string container interface, ala C's argv.
Definition ArgvInterface.h:36
virtual ~Argv()
Default destructor.
Definition ArgvInterface.h:41
virtual void appendArg(const char *arg) CLASSIC_CCA_PURE
Copy the arg given into the next slot in the argv.
virtual int getArgCount() CLASSIC_CCA_PURE
virtual const char * get(int index) CLASSIC_CCA_PURE