HEVC Test Model (HM)  HM-16.3
Classes | Functions | Variables
df::program_options_lite Namespace Reference

Classes

struct  Option
 
struct  OptionBase
 
struct  OptionFunc
 
struct  Options
 
class  OptionSpecific
 
struct  ParseFailure
 

Functions

static void setOptions (Options::NamesPtrList &opt_list, const string &value)
 
static void doHelpOpt (ostream &out, const Options::Names &entry, unsigned pad_short=0)
 
void doHelp (ostream &out, Options &opts, unsigned columns)
 
bool storePair (Options &opts, bool allow_long, bool allow_short, const string &name, const string &value)
 
bool storePair (Options &opts, const string &name, const string &value)
 
unsigned parseGNU (Options &opts, unsigned argc, const char *argv[])
 
unsigned parseSHORT (Options &opts, unsigned argc, const char *argv[])
 
list< const char * > scanArgv (Options &opts, unsigned argc, const char *argv[])
 
void scanLine (Options &opts, string &line)
 
void scanFile (Options &opts, istream &in)
 
void setDefaults (Options &opts)
 
void parseConfigFile (Options &opts, const string &filename)
 

Variables

static const char spaces [41] = " "
 

Function Documentation

void df::program_options_lite::doHelp ( ostream &  out,
Options opts,
unsigned  columns 
)

Definition at line 142 of file program_options_lite.cpp.

static void df::program_options_lite::doHelpOpt ( ostream &  out,
const Options::Names entry,
unsigned  pad_short = 0 
)
static

Definition at line 115 of file program_options_lite.cpp.

void df::program_options_lite::parseConfigFile ( Options opts,
const string &  filename 
)

Definition at line 486 of file program_options_lite.cpp.

unsigned df::program_options_lite::parseGNU ( Options opts,
unsigned  argc,
const char *  argv[] 
)

returns number of extra arguments consumed

Definition at line 280 of file program_options_lite.cpp.

unsigned df::program_options_lite::parseSHORT ( Options opts,
unsigned  argc,
const char *  argv[] 
)

Definition at line 321 of file program_options_lite.cpp.

std::list< const char * > df::program_options_lite::scanArgv ( Options opts,
unsigned  argc,
const char *  argv[] 
)

Definition at line 345 of file program_options_lite.cpp.

void df::program_options_lite::scanFile ( Options opts,
istream &  in 
)

Definition at line 466 of file program_options_lite.cpp.

void df::program_options_lite::scanLine ( Options opts,
string &  line 
)

Definition at line 393 of file program_options_lite.cpp.

void df::program_options_lite::setDefaults ( Options opts)

Definition at line 478 of file program_options_lite.cpp.

static void df::program_options_lite::setOptions ( Options::NamesPtrList opt_list,
const string &  value 
)
static

Definition at line 99 of file program_options_lite.cpp.

bool df::program_options_lite::storePair ( Options opts,
bool  allow_long,
bool  allow_short,
const string &  name,
const string &  value 
)

Definition at line 238 of file program_options_lite.cpp.

bool df::program_options_lite::storePair ( Options opts,
const string &  name,
const string &  value 
)

Definition at line 272 of file program_options_lite.cpp.

Variable Documentation

const char df::program_options_lite::spaces[41] = " "
static

Definition at line 109 of file program_options_lite.cpp.