HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
df::program_options_lite::OptionBase Struct Referenceabstract

#include <program_options_lite.h>

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

Public Member Functions

 OptionBase (const std::string &name, const std::string &desc)
 
virtual ~OptionBase ()
 
virtual void parse (const std::string &arg, ErrorReporter &)=0
 
virtual void setDefault ()=0
 

Public Attributes

std::string opt_string
 
std::string opt_desc
 

Detailed Description

OptionBase: Virtual base class for storing information relating to a specific option This base class describes common elements. Type specific information should be stored in a derived class.

Definition at line 85 of file program_options_lite.h.

Constructor & Destructor Documentation

df::program_options_lite::OptionBase::OptionBase ( const std::string &  name,
const std::string &  desc 
)
inline

Definition at line 87 of file program_options_lite.h.

virtual df::program_options_lite::OptionBase::~OptionBase ( )
inlinevirtual

Definition at line 91 of file program_options_lite.h.

Member Function Documentation

virtual void df::program_options_lite::OptionBase::parse ( const std::string &  arg,
ErrorReporter  
)
pure virtual
virtual void df::program_options_lite::OptionBase::setDefault ( )
pure virtual

Member Data Documentation

std::string df::program_options_lite::OptionBase::opt_desc

Definition at line 99 of file program_options_lite.h.

std::string df::program_options_lite::OptionBase::opt_string

Definition at line 98 of file program_options_lite.h.


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