tudocomp
– The TU Dortmund Compression Framework
tdc::OptionValue Class Reference

#include <OptionValue.hpp>

Public Member Functions

 ~OptionValue ()
 
 OptionValue ()
 
 OptionValue (std::string &&value)
 
 OptionValue (AlgorithmValue &&algorithm)
 
 OptionValue (const OptionValue &other)
 
 OptionValue (OptionValue &&other)
 
bool is_algorithm () const
 
const AlgorithmValueas_algorithm () const
 
AlgorithmValue to_algorithm ()&&
 
const std::string & as_string () const
 
uint64_t as_integer () const
 
double as_floating () const
 
bool as_bool () const
 
template<class T >
as () const
 
OptionValueoperator= (OptionValue &&other)
 

Friends

class AlgorithmValue
 

Detailed Description

Definition at line 64 of file OptionValue.hpp.

Constructor & Destructor Documentation

tdc::OptionValue::~OptionValue ( )
inline

Definition at line 139 of file OptionValue.hpp.

tdc::OptionValue::OptionValue ( )
inline

Definition at line 141 of file OptionValue.hpp.

tdc::OptionValue::OptionValue ( std::string &&  value)
inline

Definition at line 142 of file OptionValue.hpp.

tdc::OptionValue::OptionValue ( AlgorithmValue &&  algorithm)
inline

Definition at line 145 of file OptionValue.hpp.

tdc::OptionValue::OptionValue ( const OptionValue other)
inline

Definition at line 149 of file OptionValue.hpp.

tdc::OptionValue::OptionValue ( OptionValue &&  other)
inline

Definition at line 153 of file OptionValue.hpp.

Member Function Documentation

template<class T >
T tdc::OptionValue::as ( ) const
inline

Definition at line 189 of file OptionValue.hpp.

const AlgorithmValue & tdc::OptionValue::as_algorithm ( ) const
inline

Definition at line 160 of file OptionValue.hpp.

bool tdc::OptionValue::as_bool ( ) const
inline

Definition at line 180 of file OptionValue.hpp.

double tdc::OptionValue::as_floating ( ) const
inline

Definition at line 177 of file OptionValue.hpp.

uint64_t tdc::OptionValue::as_integer ( ) const
inline

Definition at line 174 of file OptionValue.hpp.

const std::string & tdc::OptionValue::as_string ( ) const
inline

Definition at line 170 of file OptionValue.hpp.

bool tdc::OptionValue::is_algorithm ( ) const
inline

Definition at line 157 of file OptionValue.hpp.

OptionValue & tdc::OptionValue::operator= ( OptionValue &&  other)
inline

Definition at line 192 of file OptionValue.hpp.

AlgorithmValue tdc::OptionValue::to_algorithm ( )
inline

Definition at line 165 of file OptionValue.hpp.

Friends And Related Function Documentation

friend class AlgorithmValue
friend

Definition at line 67 of file OptionValue.hpp.


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