Utopia  2
Framework for studying models of complex & adaptive systems.
Classes | Namespaces | Functions
hdftype.hh File Reference

This file provides a class which is responsible for the automatic conversion between C/C++ types and HDF5 type identifiers. More...

#include <variant>
#include <hdf5.h>
#include <hdf5_hl.h>
#include <utopia/core/type_traits.hh>
#include "hdfobject.hh"
#include "hdfutilities.hh"
Include dependency graph for hdftype.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Utopia::DataIO::HDFType
 Class which handles the conversion of C-types into hdf5types. More...
 

Namespaces

 Utopia
 
 Utopia::DataIO
 
 Utopia::DataIO::Detail
 

Functions

template<typename T >
hid_t Utopia::DataIO::Detail::get_type ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< float > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< double > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< long double > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< int > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< short int > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< long int > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< long long int > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< unsigned int > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< unsigned short int > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< std::size_t > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< unsigned long long > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< bool > ()
 
template<>
hid_t Utopia::DataIO::Detail::get_type< char > ()
 
bool Utopia::DataIO::operator== (const HDFType &lhs, const HDFType &rhs)
 Check equality of argument typefactories. Two typefactories are considered equal when they refer to the same HDF5 type, e.g., H5T_INTEGER, or H5T_VLEN. More...
 
bool Utopia::DataIO::operator!= (const HDFType &lhs, const HDFType &rhs)
 TODO. More...
 

Detailed Description

This file provides a class which is responsible for the automatic conversion between C/C++ types and HDF5 type identifiers.