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

◆ ~OptionValue()

tdc::OptionValue::~OptionValue ( )
inline

Definition at line 139 of file OptionValue.hpp.

◆ OptionValue() [1/5]

tdc::OptionValue::OptionValue ( )
inline

Definition at line 141 of file OptionValue.hpp.

◆ OptionValue() [2/5]

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

Definition at line 142 of file OptionValue.hpp.

◆ OptionValue() [3/5]

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

Definition at line 145 of file OptionValue.hpp.

◆ OptionValue() [4/5]

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

Definition at line 149 of file OptionValue.hpp.

◆ OptionValue() [5/5]

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

Definition at line 153 of file OptionValue.hpp.

Member Function Documentation

◆ as()

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

Definition at line 189 of file OptionValue.hpp.

◆ as_algorithm()

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

Definition at line 160 of file OptionValue.hpp.

◆ as_bool()

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

Definition at line 180 of file OptionValue.hpp.

◆ as_floating()

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

Definition at line 177 of file OptionValue.hpp.

◆ as_integer()

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

Definition at line 174 of file OptionValue.hpp.

◆ as_string()

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

Definition at line 170 of file OptionValue.hpp.

◆ is_algorithm()

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

Definition at line 157 of file OptionValue.hpp.

◆ operator=()

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

Definition at line 192 of file OptionValue.hpp.

◆ to_algorithm()

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

Definition at line 165 of file OptionValue.hpp.

Friends And Related Function Documentation

◆ AlgorithmValue

friend class AlgorithmValue
friend

Definition at line 67 of file OptionValue.hpp.


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