HEVC Test Model (HM)  HM-16.3
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)=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 79 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 81 of file program_options_lite.h.

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

Definition at line 85 of file program_options_lite.h.

Member Function Documentation

virtual void df::program_options_lite::OptionBase::parse ( const std::string &  arg)
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 93 of file program_options_lite.h.

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

Definition at line 92 of file program_options_lite.h.


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