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

A handle to a dimension scale. More...

#include <dimension_scale.hpp>

Public Types

using native_handle_type = hdf5::dimension_scale
 Type of the underlying HDF5 low-level handle.
 

Public Member Functions

std::vector< hsize_t > shape () const
 The shape of the dimension scale.
 
native_handle_type native_handle () const
 The underlying HDF5 low-level handle.
 

Friends

template<typename T >
void operator<<= (dimension_scale &sink, const T &source)
 Writes the content of a data source into the dimension scale. More...
 
template<typename T >
void operator<<= (T &sink, const dimension_scale &source)
 Reads the content of the dimension scale into a data sink. More...
 

Detailed Description

A handle to a dimension scale.

Friends And Related Function Documentation

template<typename T >
void operator<<= ( dimension_scale sink,
const T &  source 
)
friend

Writes the content of a data source into the dimension scale.

The shape of the data source must match the shape of the dimension scale.

Template Parameters
Ttype of the container; T must satisfy the data source requirements.
Parameters
sinkthe dimension, which is used as a sink
sourcethe data source
template<typename T >
void operator<<= ( T &  sink,
const dimension_scale source 
)
friend

Reads the content of the dimension scale into a data sink.

Template Parameters
Ttype of the container; T must satisfy the data sink requirements.
Parameters
sinkthe data sink
sourcethe dimension scale, which is used as a source

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