template<class T>
class idol::Versions< T >
This class is used to store the different versions associated to a given object (e.g., a variable).
- Template Parameters
-
| T | the class representing an object's version |
Definition at line 27 of file Versions.h.
|
| template<class ... ArgsT> |
| | Versions (ArgsT &&...t_args) |
|
| Versions (const Versions &)=delete |
|
| Versions (Versions &&) noexcept=delete |
|
Versions & | operator= (const Versions &)=delete |
|
Versions & | operator= (Versions &&) noexcept=delete |
| template<class ... ArgsT> |
| void | create (const Model &t_model, unsigned int t_index, ArgsT &&...t_args) |
| void | remove (const Model &t_model) |
| bool | has (const Model &t_model) const |
| const T & | get (const Model &t_model) const |
| T & | get (const Model &t_model) |
| const T & | get_default () const |
| T & | get_default () |
| template<class ValueT> |
| const ValueT * | get_annotation (unsigned int t_index) const |
| template<class ValueT, class ... ArgsT> |
| void | set_annotation (unsigned int t_index, ArgsT &&...t_args) |