24.02.1
|
Implementation of a dataset holding a single value. More...
#include <SingletonDataset.h>
Data Structures | |
struct | iterator |
Iterator for the dataset. More... | |
Public Types | |
using | type = std::tuple< T > |
Type of the dataset. More... | |
Public Member Functions | |
SingletonDataset (std::string name, T &&value) | |
Construct dataset with given name and value. More... | |
SingletonDataset (SingletonDataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
iterator | begin () const |
Iterator pointing at the begin of the dataset. More... | |
int | size () const |
Size of the dataset. More... | |
Public Member Functions inherited from NamedDataset | |
NamedDataset (NamedDataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
std::string | name () const |
Return name of the dataset. More... | |
Public Member Functions inherited from Dataset | |
Dataset (Dataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
Implementation of a dataset holding a single value.
Definition at line 46 of file SingletonDataset.h.
using type = std::tuple<T> |
Type of the dataset.
Definition at line 63 of file SingletonDataset.h.
|
inline |
Construct dataset with given name and value.
[in] | name | Description of the value. |
[in] | value | Value for the dataset. |
Definition at line 54 of file SingletonDataset.h.
References NamedDataset::name().
|
default |
Allow instances of this class to be move constructed.
|
inline |
Iterator pointing at the begin of the dataset.
Definition at line 127 of file SingletonDataset.h.
References NamedDataset::name().
|
inline |
Size of the dataset.
Definition at line 136 of file SingletonDataset.h.