ParamKit
A small library helping to parse commandline parameters (for Windows).
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Typedefs
param.h File Reference

Basic parameter types. More...

#include <windows.h>
#include <iostream>
#include <string>
#include <sstream>
#include <map>
#include <set>
#include "pk_util.h"
#include "strings_util.h"

Go to the source code of this file.

Classes

class  paramkit::Param
 The base class of a parameter. More...
 
class  paramkit::ParamCompare
 A comparator class for Param class. More...
 
class  paramkit::IntParam
 A parameter storing an integer value. More...
 
class  paramkit::StringParam
 A parameter storing a string value. More...
 
class  paramkit::WStringParam
 A parameter storing a wide string value. More...
 
class  paramkit::BoolParam
 A parameter storing a boolean value. More...
 
class  paramkit::EnumParam
 A parameter storing an enum value. More...
 
class  paramkit::StringListParam
 
class  paramkit::IntListParam
 

Namespaces

 paramkit
 

Macros

#define PARAM_UNINITIALIZED   (-1)
 
#define INFO_SPACER   "\t "
 
#define PARAM_SWITCH1   '/'
 The switch used to recognize that the given string should be treated as a parameter (variant 1) More...
 
#define PARAM_SWITCH2   '-'
 The switch used to recognize that the given string should be treated as a parameter (variant 2) More...
 

Typedefs

typedef unsigned __int64 uint64_t
 

Detailed Description

Basic parameter types.

Definition in file param.h.

Macro Definition Documentation

◆ INFO_SPACER

#define INFO_SPACER   "\t "

Definition at line 20 of file param.h.

◆ PARAM_SWITCH1

#define PARAM_SWITCH1   '/'

The switch used to recognize that the given string should be treated as a parameter (variant 1)

Definition at line 22 of file param.h.

◆ PARAM_SWITCH2

#define PARAM_SWITCH2   '-'

The switch used to recognize that the given string should be treated as a parameter (variant 2)

Definition at line 23 of file param.h.

◆ PARAM_UNINITIALIZED

#define PARAM_UNINITIALIZED   (-1)

Definition at line 19 of file param.h.

Typedef Documentation

◆ uint64_t

typedef unsigned __int64 uint64_t

Definition at line 25 of file param.h.