HEVC Test Model (HM)  HM-16.3
Public Types | Public Member Functions | Private Attributes | List of all members
df::program_options_lite::OptionFunc Struct Reference

#include <program_options_lite.h>

Inheritance diagram for df::program_options_lite::OptionFunc:
Inheritance graph
[legend]
Collaboration diagram for df::program_options_lite::OptionFunc:
Collaboration graph
[legend]

Public Types

typedef void( Func) (Options &, const std::string &)
 

Public Member Functions

 OptionFunc (const std::string &name, Options &parent_, Func *func_, const std::string &desc)
 
void parse (const std::string &arg)
 
void setDefault ()
 
- Public Member Functions inherited from df::program_options_lite::OptionBase
 OptionBase (const std::string &name, const std::string &desc)
 
virtual ~OptionBase ()
 

Private Attributes

Optionsparent
 
void(* func )(Options &, const std::string &)
 

Additional Inherited Members

- Public Attributes inherited from df::program_options_lite::OptionBase
std::string opt_string
 
std::string opt_desc
 

Detailed Description

Option class for argument handling using a user provided function

Definition at line 142 of file program_options_lite.h.

Member Typedef Documentation

typedef void( df::program_options_lite::OptionFunc::Func) (Options &, const std::string &)

Definition at line 144 of file program_options_lite.h.

Constructor & Destructor Documentation

df::program_options_lite::OptionFunc::OptionFunc ( const std::string &  name,
Options parent_,
Func func_,
const std::string &  desc 
)
inline

Definition at line 146 of file program_options_lite.h.

Member Function Documentation

void df::program_options_lite::OptionFunc::parse ( const std::string &  arg)
inlinevirtual

Implements df::program_options_lite::OptionBase.

Definition at line 150 of file program_options_lite.h.

void df::program_options_lite::OptionFunc::setDefault ( )
inlinevirtual

Implements df::program_options_lite::OptionBase.

Definition at line 155 of file program_options_lite.h.

Member Data Documentation

void(* df::program_options_lite::OptionFunc::func) (Options &, const std::string &)
private

Definition at line 162 of file program_options_lite.h.

Options& df::program_options_lite::OptionFunc::parent
private

Definition at line 161 of file program_options_lite.h.


The documentation for this struct was generated from the following file: