idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
idol::Annotation< ValueT > Class Template Reference
Inheritance diagram for idol::Annotation< ValueT >:
Inheritance graph
Collaboration diagram for idol::Annotation< ValueT >:
Collaboration graph

Public Member Functions

 Annotation (Env &t_env, std::string t_name)
 
template<class ... ArgsT>
 Annotation (Env &t_env, std::string t_name, ArgsT &&...t_args)
 
const ValueT & default_value () const
 

Static Public Member Functions

template<class ... ArgsT>
static Annotation< ValueT > make_with_default_value (Env &t_env, std::string t_name, ArgsT &&...t_args)
 

Detailed Description

template<class ValueT = unsigned int>
class idol::Annotation< ValueT >

Definition at line 16 of file Annotation.h.

Constructor & Destructor Documentation

◆ Annotation() [1/2]

template<class ValueT = unsigned int>
idol::Annotation< ValueT >::Annotation ( Env t_env,
std::string  t_name 
)
inline

Definition at line 18 of file Annotation.h.

◆ Annotation() [2/2]

template<class ValueT = unsigned int>
template<class ... ArgsT>
idol::Annotation< ValueT >::Annotation ( Env t_env,
std::string  t_name,
ArgsT &&...  t_args 
)
inline

Definition at line 20 of file Annotation.h.

Member Function Documentation

◆ default_value()

template<class ValueT = unsigned int>
const ValueT & idol::Annotation< ValueT >::default_value ( ) const
inline

Definition at line 34 of file Annotation.h.

◆ make_with_default_value()

template<class ValueT = unsigned int>
template<class ... ArgsT>
static Annotation< ValueT > idol::Annotation< ValueT >::make_with_default_value ( Env t_env,
std::string  t_name,
ArgsT &&...  t_args 
)
inlinestatic

Definition at line 28 of file Annotation.h.