Handle to a dataset dimension.
More...
#include <dataset_dimensions.hpp>
Handle to a dataset dimension.
dimension_scale echelon::dimension::attach_dimension_scale |
( |
const std::string & |
name, |
|
|
const type & |
datatype |
|
) |
| |
Attach a new dimension scale to this dimension.
- Parameters
-
name | Name of the new dimension scale |
datatype | Datatype of the new dimension scale |
- Returns
- a handle to the new dimension scale.
template<typename T >
dimension_scale echelon::dimension::attach_dimension_scale |
( |
const std::string & |
name | ) |
|
|
inline |
Attach a new dimension scale to this dimension.
- Parameters
-
name | Name of the new dimension scale |
- Template Parameters
-
T | C++ type, which should be used to determine the dimension scale's value typele |
- Returns
- a handle to the new dimension scale.
void echelon::dimension::relabel |
( |
const std::string & |
new_label | ) |
|
Relabel the dimension.
- Parameters
-
new_label | New label of the dimension |
The documentation for this class was generated from the following files: