StochHMM  v0.34
Flexible Hidden Markov Model C++ Library and Application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes
StochHMM::opt_data Class Reference

Store the actual command line options data for each option defined by user. More...

#include <options.h>

List of all members.

Public Member Functions

 opt_data ()

Public Attributes

optionType type
bool set
bool default_value
bool required
bool restricted
union {
   int   i
   double   d
data
std::string str
std::map< std::string, bool > flags

Detailed Description

Store the actual command line options data for each option defined by user.

Definition at line 85 of file options.h.


Constructor & Destructor Documentation

StochHMM::opt_data::opt_data ( )

Definition at line 21 of file options.cpp.

References default_value, required, restricted, type, and StochHMM::UNDEF_OPT.

{
type=UNDEF_OPT; //what datatype does the option store
set=false; //Has the parameter been set
required=false; //Is the parameter required, else exit
restricted=false; //Are the entries restricted to allowable
}

Member Data Documentation

double StochHMM::opt_data::d

Definition at line 95 of file options.h.

Referenced by StochHMM::options::set_parameters().

union { ... } StochHMM::opt_data::data
bool StochHMM::opt_data::default_value

Definition at line 90 of file options.h.

Referenced by opt_data(), and StochHMM::options::set_parameters().

std::map<std::string,bool> StochHMM::opt_data::flags

Definition at line 98 of file options.h.

Referenced by StochHMM::options::set_parameters().

int StochHMM::opt_data::i

Definition at line 94 of file options.h.

Referenced by StochHMM::options::set_parameters().

bool StochHMM::opt_data::required

Definition at line 91 of file options.h.

Referenced by opt_data(), and StochHMM::options::set_parameters().

bool StochHMM::opt_data::restricted

Definition at line 92 of file options.h.

Referenced by opt_data(), and StochHMM::options::set_parameters().

bool StochHMM::opt_data::set

Definition at line 89 of file options.h.

Referenced by StochHMM::options::set_parameters().

std::string StochHMM::opt_data::str

Definition at line 97 of file options.h.

Referenced by StochHMM::options::set_parameters().

optionType StochHMM::opt_data::type

Definition at line 88 of file options.h.

Referenced by opt_data(), and StochHMM::options::set_parameters().


The documentation for this class was generated from the following files: