Lumiera  0.pre.03
»edit your freedom«
cmdline.hpp File Reference

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>

Classes

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

Typedefs

typedef vector< string > VectS
 

Namespaces

 lib
 Implementation namespace for support and library code.