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

Accessor class for the dimensions of a dataset. More...

#include <dataset_dimensions.hpp>

Public Types

using iterator = std::vector< dimension >::iterator
 Type of the iterator over all dataset dimensions.
 
using const_iterator = std::vector< dimension >::const_iterator
 Type of the iterator over all dataset dimensions.
 

Public Member Functions

dimensionoperator[] (std::size_t index)
 Access a dimension by index. More...
 
const dimensionoperator[] (std::size_t index) const
 Access a dimension by index. More...
 
iterator begin ()
 Iterator pointing to the first dimension.
 
iterator end ()
 Iterator pointing just after the last dimension.
 
const_iterator begin () const
 Iterator pointing to the first dimension.
 
const_iterator end () const
 Iterator pointing just after the last dimension.
 

Detailed Description

Accessor class for the dimensions of a dataset.

Member Function Documentation

dimension& echelon::dataset_dimensions::operator[] ( std::size_t  index)
inline

Access a dimension by index.

Parameters
indexIndex of the dimension
Returns
a handle to the specified dimension.
const dimension& echelon::dataset_dimensions::operator[] ( std::size_t  index) const
inline

Access a dimension by index.

Parameters
indexIndex of the dimension
Returns
a handle to the specified dimension.

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