Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
cmdline.hpp File Reference

Class to encapsulate the typical C-style commandline definition. More...

Go to the source code of this file.

Description

Class to encapsulate the typical C-style commandline definition.

A Cmdline object takes the typical int argc, int** argv and copies the referred data into a vector of strings. Thus Cmdline is a way to express explicitly on APIs that we are consuming commandline contents, and, moreover, it offers a way more sane interface to deal with those.

See also
CmdlineWrapper_test

Definition in file cmdline.hpp.

#include <vector>
#include <string>

Namespaces

namespace  lib
 Implementation namespace for support and library code.
 

Typedefs

typedef vector< string > VectS
 

Classes

class  Cmdline
 Abstraction of the usual int argc, int** argv-Commandline, to be able to treat it as a vector of strings. More...