Loading...
Searching...
No Matches
idol::Annotation< ValueT > Class Template Reference

Description

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

Definition at line 16 of file Annotation.h.

Public Methods

 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

Public Static Methods

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

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.

Methods Documentation

◆ default_value()

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

Definition at line 34 of file Annotation.h.

◆ make_with_default_value()

template<class ValueT = unsigned int>
template<class ... ArgsT>
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.