IODA
ioda::detail::Engines::HH::HH_Type Class Reference

This is the implementation of ioda::Type using HDF5. Do not use outside of IODA. More...

#include <HH-types.h>

Inheritance diagram for ioda::detail::Engines::HH::HH_Type:
Collaboration diagram for ioda::detail::Engines::HH::HH_Type:

Public Member Functions

virtual ~HH_Type ()
 
 HH_Type (HH_hid_t h)
 
size_t getSize () const final
 Get the size of a single element of a type, in bytes. More...
 
- Public Member Functions inherited from ioda::detail::Type_Backend
virtual ~Type_Backend ()
 
- Public Member Functions inherited from ioda::detail::Type_Base< Type_Implementation >
virtual ~Type_Base ()
 
std::shared_ptr< Type_BackendgetBackend () const
 
bool isValid () const
 

Public Attributes

HH_hid_t handle
 

Additional Inherited Members

- Protected Member Functions inherited from ioda::detail::Type_Backend
 Type_Backend ()
 
- Protected Member Functions inherited from ioda::detail::Type_Base< Type_Implementation >
 Type_Base (std::shared_ptr< Type_Backend > b, ::ioda::detail::Type_Provider *p)
 
detail::Type_ProvidergetTypeProvider () const
 Get the type provider. More...
 
- Protected Attributes inherited from ioda::detail::Type_Base< Type_Implementation >
::ioda::detail::Type_Providerprovider_
 

Detailed Description

This is the implementation of ioda::Type using HDF5. Do not use outside of IODA.

Definition at line 40 of file HH-types.h.

Constructor & Destructor Documentation

◆ ~HH_Type()

ioda::detail::Engines::HH::HH_Type::~HH_Type ( )
virtualdefault

◆ HH_Type()

ioda::detail::Engines::HH::HH_Type::HH_Type ( HH_hid_t  h)

Definition at line 27 of file HH-types.cpp.

Member Function Documentation

◆ getSize()

size_t ioda::detail::Engines::HH::HH_Type::getSize ( ) const
finalvirtual

Get the size of a single element of a type, in bytes.

This function is paired with the read and write functions to allow you to read and write data in a type-agnostic manner. This size report is a bit complicated when variable-length strings are encountered. In these cases, the size of the string pointer is returned.

Reimplemented from ioda::detail::Type_Backend.

Definition at line 29 of file HH-types.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ handle

HH_hid_t ioda::detail::Engines::HH::HH_Type::handle

Definition at line 43 of file HH-types.h.


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