echelon  0.8.0
Public Member Functions | List of all members
echelon::dimension Class Reference

Handle to a dataset dimension. More...

#include <dataset_dimensions.hpp>

Public Member Functions

dimension_scale attach_dimension_scale (const std::string &name, const type &datatype)
 Attach a new dimension scale to this dimension. More...
 
template<typename T >
dimension_scale attach_dimension_scale (const std::string &name)
 Attach a new dimension scale to this dimension. More...
 
std::string label () const
 The label of the dimension.
 
void relabel (const std::string &new_label)
 Relabel the dimension. More...
 
hsize_t extend () const
 The extend of the dimension.
 

Detailed Description

Handle to a dataset dimension.

Member Function Documentation

dimension_scale echelon::dimension::attach_dimension_scale ( const std::string &  name,
const type datatype 
)

Attach a new dimension scale to this dimension.

Parameters
nameName of the new dimension scale
datatypeDatatype 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
nameName of the new dimension scale
Template Parameters
TC++ 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_labelNew label of the dimension

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