Lumiera  0.pre.03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cmdline.hpp File Reference

Go to the source code of this file.


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.

Definition in file cmdline.hpp.

#include <vector>
#include <string>


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


typedef vector< string > VectS


 Implementation namespace for support and library code.