hops
Classes | Typedefs | Functions
HighFive::details Namespace Reference

Classes

struct  array_dims
 
struct  array_dims< FixedLenStringArray< N > >
 
struct  array_dims< std::array< T, N > >
 
struct  array_dims< std::vector< T > >
 
struct  array_dims< T * >
 
struct  array_dims< T[N]>
 
struct  BufferInfo
 
struct  container_converter
 
struct  data_converter
 
struct  data_converter< CArray, typename std::enable_if<(is_c_array< CArray >::value)>::type >
 
struct  data_converter< Eigen::Matrix< T, M, N >, void >
 
struct  data_converter< FixedLenStringArray< N >, void >
 
struct  data_converter< std::array< T, S >, typename std::enable_if<(std::is_same< T, typename type_of_array< T >::type >::value)>::type >
 
struct  data_converter< std::string, void >
 
struct  data_converter< std::vector< Eigen::Matrix< T, M, N > >, void >
 
struct  data_converter< std::vector< Reference >, void >
 
struct  data_converter< std::vector< std::string >, void >
 
struct  data_converter< std::vector< T >, typename std::enable_if<(is_container< T >::value)>::type >
 
struct  data_converter< std::vector< T >, typename std::enable_if<(std::is_same< T, typename type_of_array< T >::type >::value &&!std::is_same< T, Reference >::value)>::type >
 
struct  HighFiveIterateData
 
struct  is_c_array
 
struct  is_c_array< T * >
 
struct  is_c_array< T[N]>
 
struct  is_container
 
struct  is_container< std::vector< T > >
 
struct  string_type_checker
 
struct  string_type_checker< char * >
 
struct  string_type_checker< char[FixedLen]>
 
struct  string_type_checker< void >
 
struct  type_char_array
 
struct  type_char_array< T * >
 
struct  type_char_array< T[N]>
 
struct  type_of_array
 
struct  type_of_array< std::array< T, N > >
 
struct  type_of_array< std::vector< T > >
 
struct  type_of_array< T * >
 
struct  type_of_array< T[N]>
 

Typedefs

template<typename T >
using unqualified_t = typename std::remove_const< typename std::remove_reference< T >::type >::type
 

Functions

bool is_1D (const std::vector< size_t > &dims)
 
size_t compute_total_size (const std::vector< size_t > &dims)
 
void check_dimensions_vector (size_t size_vec, size_t size_dataset, size_t dimension)
 
template<typename T >
void vectors_to_single_buffer (const std::vector< T > &vec_single_dim, const std::vector< size_t > &dims, const size_t current_dim, std::vector< T > &buffer)
 
template<typename T , typename U = typename type_of_array<T>::type>
void vectors_to_single_buffer (const std::vector< T > &vec_multi_dim, const std::vector< size_t > &dims, size_t current_dim, std::vector< U > &buffer)
 
template<typename T >
std::vector< T >::const_iterator single_buffer_to_vectors (typename std::vector< T >::const_iterator begin_buffer, typename std::vector< T >::const_iterator end_buffer, const std::vector< size_t > &dims, const size_t current_dim, std::vector< T > &vec_single_dim)
 
template<typename T , typename U = typename type_of_array<T>::type>
std::vector< U >::const_iterator single_buffer_to_vectors (typename std::vector< U >::const_iterator begin_buffer, typename std::vector< U >::const_iterator end_buffer, const std::vector< size_t > &dims, const size_t current_dim, std::vector< std::vector< T >> &vec_multi_dim)
 
template<typename T , int M, int N>
size_t compute_total_size (const Eigen::Matrix< T, M, N > &matrix)
 
template<typename T , int M, int N>
size_t compute_total_size (const std::vector< Eigen::Matrix< T, M, N >> &vec)
 
template<typename T , int M, int N>
size_t compute_total_row_size (const std::vector< Eigen::Matrix< T, M, N >> &vec)
 
template<typename T , int M, int N>
void vectors_to_single_buffer (const std::vector< Eigen::Matrix< T, M, N >> &vec, const std::vector< size_t > &dims, const size_t current_dim, std::vector< T > &buffer)
 
bool checkDimensions (const DataSpace &mem_space, size_t input_dims)
 dimension checks More...
 
template<typename InfoType >
herr_t internal_high_five_iterate (hid_t, const char *name, const InfoType *, void *op_data)
 
const DataSetget_dataset (const Selection &sel)
 
const DataSetget_dataset (const DataSet &ds)
 
hid_t get_memspace_id (const Selection &ptr)
 
hid_t get_memspace_id (const DataSet &)
 
template<typename T >
void get_dim_vector_rec (const T &, std::vector< size_t > &)
 
template<typename T >
void get_dim_vector_rec (const std::vector< T > &vec, std::vector< size_t > &dims)
 
template<typename T >
std::vector< size_t > get_dim_vector (const std::vector< T > &vec)
 
template<typename T , std::size_t N>
void get_dim_vector_rec (const T(&vec)[N], std::vector< size_t > &dims)
 
template<typename T , std::size_t N>
std::vector< size_t > get_dim_vector (const T(&vec)[N])
 
template<typename Size >
std::vector< std::size_t > to_vector_size_t (const std::vector< Size > &vec)
 
std::vector< std::size_t > to_vector_size_t (const std::vector< std::size_t > &vec)
 
template<typename T >
std::string get_name (T fct)
 

Typedef Documentation

◆ unqualified_t

template<typename T >
using HighFive::details::unqualified_t = typedef typename std::remove_const<typename std::remove_reference<T>::type >::type

Function Documentation

◆ check_dimensions_vector()

void HighFive::details::check_dimensions_vector ( size_t  size_vec,
size_t  size_dataset,
size_t  dimension 
)
inline

◆ checkDimensions()

bool HighFive::details::checkDimensions ( const DataSpace mem_space,
size_t  input_dims 
)
inline

dimension checks

◆ compute_total_row_size()

template<typename T , int M, int N>
size_t HighFive::details::compute_total_row_size ( const std::vector< Eigen::Matrix< T, M, N >> &  vec)
inline

◆ compute_total_size() [1/3]

template<typename T , int M, int N>
size_t HighFive::details::compute_total_size ( const Eigen::Matrix< T, M, N > &  matrix)
inline

◆ compute_total_size() [2/3]

template<typename T , int M, int N>
size_t HighFive::details::compute_total_size ( const std::vector< Eigen::Matrix< T, M, N >> &  vec)
inline

◆ compute_total_size() [3/3]

size_t HighFive::details::compute_total_size ( const std::vector< size_t > &  dims)
inline

◆ get_dataset() [1/2]

const DataSet& HighFive::details::get_dataset ( const DataSet ds)
inline

◆ get_dataset() [2/2]

const DataSet& HighFive::details::get_dataset ( const Selection sel)
inline

◆ get_dim_vector() [1/2]

template<typename T >
std::vector<size_t> HighFive::details::get_dim_vector ( const std::vector< T > &  vec)
inline

◆ get_dim_vector() [2/2]

template<typename T , std::size_t N>
std::vector<size_t> HighFive::details::get_dim_vector ( const T(&)  vec[N])
inline

◆ get_dim_vector_rec() [1/3]

template<typename T >
void HighFive::details::get_dim_vector_rec ( const std::vector< T > &  vec,
std::vector< size_t > &  dims 
)
inline

◆ get_dim_vector_rec() [2/3]

template<typename T >
void HighFive::details::get_dim_vector_rec ( const T &  ,
std::vector< size_t > &   
)
inline

◆ get_dim_vector_rec() [3/3]

template<typename T , std::size_t N>
void HighFive::details::get_dim_vector_rec ( const T(&)  vec[N],
std::vector< size_t > &  dims 
)
inline

◆ get_memspace_id() [1/2]

hid_t HighFive::details::get_memspace_id ( const DataSet )
inline

◆ get_memspace_id() [2/2]

hid_t HighFive::details::get_memspace_id ( const Selection ptr)
inline

◆ get_name()

template<typename T >
std::string HighFive::details::get_name ( fct)
inline

◆ internal_high_five_iterate()

template<typename InfoType >
herr_t HighFive::details::internal_high_five_iterate ( hid_t  ,
const char *  name,
const InfoType *  ,
void *  op_data 
)
inline

◆ is_1D()

bool HighFive::details::is_1D ( const std::vector< size_t > &  dims)
inline

◆ single_buffer_to_vectors() [1/2]

template<typename T >
std::vector<T>::const_iterator HighFive::details::single_buffer_to_vectors ( typename std::vector< T >::const_iterator  begin_buffer,
typename std::vector< T >::const_iterator  end_buffer,
const std::vector< size_t > &  dims,
const size_t  current_dim,
std::vector< T > &  vec_single_dim 
)
inline

◆ single_buffer_to_vectors() [2/2]

template<typename T , typename U = typename type_of_array<T>::type>
std::vector<U>::const_iterator HighFive::details::single_buffer_to_vectors ( typename std::vector< U >::const_iterator  begin_buffer,
typename std::vector< U >::const_iterator  end_buffer,
const std::vector< size_t > &  dims,
const size_t  current_dim,
std::vector< std::vector< T >> &  vec_multi_dim 
)
inline

◆ to_vector_size_t() [1/2]

template<typename Size >
std::vector<std::size_t> HighFive::details::to_vector_size_t ( const std::vector< Size > &  vec)
inline

◆ to_vector_size_t() [2/2]

std::vector<std::size_t> HighFive::details::to_vector_size_t ( const std::vector< std::size_t > &  vec)
inline

◆ vectors_to_single_buffer() [1/3]

template<typename T , int M, int N>
void HighFive::details::vectors_to_single_buffer ( const std::vector< Eigen::Matrix< T, M, N >> &  vec,
const std::vector< size_t > &  dims,
const size_t  current_dim,
std::vector< T > &  buffer 
)
inline

◆ vectors_to_single_buffer() [2/3]

template<typename T , typename U = typename type_of_array<T>::type>
void HighFive::details::vectors_to_single_buffer ( const std::vector< T > &  vec_multi_dim,
const std::vector< size_t > &  dims,
size_t  current_dim,
std::vector< U > &  buffer 
)
inline

◆ vectors_to_single_buffer() [3/3]

template<typename T >
void HighFive::details::vectors_to_single_buffer ( const std::vector< T > &  vec_single_dim,
const std::vector< size_t > &  dims,
const size_t  current_dim,
std::vector< T > &  buffer 
)
inline