Compute Library
 22.11
NamedDataset Class Reference

Abstract implementation of a named dataset. More...

#include <Dataset.h>

Collaboration diagram for NamedDataset:
[legend]

Public Member Functions

 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...
 

Detailed Description

Abstract implementation of a named dataset.

The name should describe the values of the dataset.

Definition at line 56 of file Dataset.h.

Constructor & Destructor Documentation

◆ NamedDataset()

NamedDataset ( NamedDataset &&  )
default

Allow instances of this class to be move constructed.

Member Function Documentation

◆ name()

std::string name ( ) const
inline

Return name of the dataset.

Returns
Description of the values.

Definition at line 79 of file Dataset.h.

Referenced by InitializerListDataset< T >::begin(), RangeDataset< T >::begin(), and SingletonDataset< T >::begin().

80  {
81  return _name;
82  }

The documentation for this class was generated from the following file: