24.02.1
|
Implementation of a dataset created from an initializer list. More...
#include <InitializerListDataset.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 | |
InitializerListDataset (std::string name, std::initializer_list< T > &&list) | |
Construct dataset with given name and values from the container. More... | |
InitializerListDataset (InitializerListDataset &&)=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 created from an initializer list.
Definition at line 46 of file InitializerListDataset.h.
using type = std::tuple<T> |
Type of the dataset.
Definition at line 66 of file InitializerListDataset.h.
|
inline |
Construct dataset with given name and values from the container.
[in] | name | Description of the values. |
[in] | list | Values for the dataset. |
Definition at line 57 of file InitializerListDataset.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 118 of file InitializerListDataset.h.
References NamedDataset::name().
|
inline |
Size of the dataset.
Definition at line 127 of file InitializerListDataset.h.