Nektar++
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
H5.h File Reference
#include <exception>
#include <hdf5.h>
#include <memory>
#include <string>
#include <vector>
#include <LibUtilities/BasicUtils/ErrorUtil.hpp>
#include <LibUtilities/Communication/Comm.h>

Go to the source code of this file.

Classes

class  Nektar::LibUtilities::H5::Error
 
class  Nektar::LibUtilities::H5::Object
 HDF5 base class. More...
 
class  Nektar::LibUtilities::H5::PList
 
class  Nektar::LibUtilities::H5::CanHaveGroupsDataSets
 Mixin for objects that contain groups and datasets (Group and File) More...
 
class  Nektar::LibUtilities::H5::CanHaveGroupsDataSets::LinkIterator
 
class  Nektar::LibUtilities::H5::CanHaveAttributes
 Mixin for objects that can have attributes (Group, DataSet, DataType) More...
 
class  Nektar::LibUtilities::H5::CanHaveAttributes::AttrIterator
 
class  Nektar::LibUtilities::H5::DataSpace
 HDF5 DataSpace wrapper. More...
 
struct  Nektar::LibUtilities::H5::DataTypeConversionPolicy< T >
 
struct  Nektar::LibUtilities::H5::DataTypeTraits< T >
 Traits class for HDF5 data types. More...
 
class  Nektar::LibUtilities::H5::DataType
 Wrap and HDF5 data type object. Technically this can have attributes, but not really bothered. More...
 
class  Nektar::LibUtilities::H5::CompoundDataType
 
class  Nektar::LibUtilities::H5::PredefinedDataType
 Predefined HDF data types that must not be closed when done with. More...
 
class  Nektar::LibUtilities::H5::Attribute
 HDF5 Attribute Wrapper. More...
 
class  Nektar::LibUtilities::H5::File
 HDF5 file wrapper. More...
 
class  Nektar::LibUtilities::H5::Group
 HDF5 Group wrapper. More...
 
class  Nektar::LibUtilities::H5::DataSet
 
struct  Nektar::LibUtilities::H5::DataTypeConversionPolicy< std::string >
 

Namespaces

namespace  Nektar
 
namespace  Nektar::LibUtilities
 
namespace  Nektar::LibUtilities::H5
 

Macros

#define H5_CONSTRUCT(ans, func, args)
 
#define H5_CALL(func, args)
 

Typedefs

typedef std::shared_ptr< ObjectNektar::LibUtilities::H5::ObjectSharedPtr
 
typedef std::shared_ptr< DataTypeNektar::LibUtilities::H5::DataTypeSharedPtr
 
typedef std::shared_ptr< CompoundDataTypeNektar::LibUtilities::H5::CompoundDataTypeSharedPtr
 
typedef std::shared_ptr< DataSpaceNektar::LibUtilities::H5::DataSpaceSharedPtr
 
typedef std::shared_ptr< CanHaveAttributesNektar::LibUtilities::H5::CanHaveAttributesSharedPtr
 
typedef std::shared_ptr< AttributeNektar::LibUtilities::H5::AttributeSharedPtr
 
typedef std::shared_ptr< CanHaveGroupsDataSetsNektar::LibUtilities::H5::CanHaveGroupsDataSetsSharedPtr
 
typedef std::shared_ptr< FileNektar::LibUtilities::H5::FileSharedPtr
 
typedef std::shared_ptr< DataSetNektar::LibUtilities::H5::DataSetSharedPtr
 
typedef std::shared_ptr< PListNektar::LibUtilities::H5::PListSharedPtr
 

Macro Definition Documentation

◆ H5_CALL

#define H5_CALL (   func,
  args 
)
Value:
{ \
herr_t ret = func args; \
if (ret < 0) \
ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
"HDF5 error in API function " #func, 0); \
}

Definition at line 58 of file H5.h.

59 { \
60 herr_t ret = func args; \
61 if (ret < 0) \
62 ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
63 "HDF5 error in API function " #func, 0); \
64 }

◆ H5_CONSTRUCT

#define H5_CONSTRUCT (   ans,
  func,
  args 
)
Value:
{ \
hid_t ret = func args; \
if (ret < 0) \
ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
"HDF5 error in API function " #func, 0); \
ans = ret; \
}

Definition at line 50 of file H5.h.

51 { \
52 hid_t ret = func args; \
53 if (ret < 0) \
54 ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
55 "HDF5 error in API function " #func, 0); \
56 ans = ret; \
57 }