Nektar++
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Nektar::LibUtilities::H5::Object Class Referenceabstract

HDF5 base class. More...

#include <H5.h>

Inheritance diagram for Nektar::LibUtilities::H5::Object:
[legend]

Public Member Functions

void Close ()
 
hid_t GetId () const
 
 operator hid_t () const
 

Protected Member Functions

 Object ()
 
 Object (hid_t id)
 
virtual ~Object ()
 
virtual void v_Close ()=0
 

Protected Attributes

hid_t m_Id
 

Detailed Description

HDF5 base class.

Definition at line 95 of file H5.h.

Constructor & Destructor Documentation

◆ Object() [1/2]

Nektar::LibUtilities::H5::Object::Object ( )
protected

Definition at line 45 of file H5.cpp.

45 : m_Id(H5I_INVALID_HID)
46{
47}

◆ Object() [2/2]

Nektar::LibUtilities::H5::Object::Object ( hid_t  id)
protected

Definition at line 48 of file H5.cpp.

48 : m_Id(id)
49{
50}

◆ ~Object()

Nektar::LibUtilities::H5::Object::~Object ( )
protectedvirtual

Definition at line 51 of file H5.cpp.

52{
53}

Member Function Documentation

◆ Close()

void Nektar::LibUtilities::H5::Object::Close ( )
inline

◆ GetId()

hid_t Nektar::LibUtilities::H5::Object::GetId ( ) const
inline

Definition at line 102 of file H5.h.

103 {
104 return m_Id;
105 }

References m_Id.

Referenced by operator hid_t().

◆ operator hid_t()

Nektar::LibUtilities::H5::Object::operator hid_t ( ) const
inline

Definition at line 108 of file H5.h.

109 {
110 return GetId();
111 }

References GetId().

◆ v_Close()

virtual void Nektar::LibUtilities::H5::Object::v_Close ( )
protectedpure virtual

Member Data Documentation

◆ m_Id

hid_t Nektar::LibUtilities::H5::Object::m_Id
protected

Definition at line 117 of file H5.h.

Referenced by Nektar::LibUtilities::H5::CompoundDataType::Add(), Nektar::LibUtilities::H5::CompoundDataType::AddString(), Nektar::LibUtilities::H5::DataSpace::AppendRange(), Nektar::LibUtilities::H5::DataSpace::ClearRange(), Nektar::LibUtilities::H5::DataType::Copy(), Nektar::LibUtilities::H5::CanHaveAttributes::CreateAttribute(), Nektar::LibUtilities::H5::CanHaveGroupsDataSets::CreateDataSet(), Nektar::LibUtilities::H5::CanHaveGroupsDataSets::CreateGroup(), Nektar::LibUtilities::H5::DataSpace::DataSpace(), Nektar::LibUtilities::H5::DataSpace::GetDims(), Nektar::LibUtilities::H5::Group::GetElementNames(), GetId(), Nektar::LibUtilities::H5::CanHaveAttributes::GetNumAttr(), Nektar::LibUtilities::H5::DataSpace::GetSize(), Nektar::LibUtilities::H5::Attribute::GetSpace(), Nektar::LibUtilities::H5::DataSet::GetSpace(), Nektar::LibUtilities::H5::CanHaveAttributes::OpenAttribute(), Nektar::LibUtilities::H5::CanHaveGroupsDataSets::OpenDataSet(), Nektar::LibUtilities::H5::CanHaveGroupsDataSets::OpenGroup(), Nektar::LibUtilities::H5::PList::PList(), Nektar::LibUtilities::H5::DataSet::Read(), Nektar::LibUtilities::H5::DataSet::ReadVectorString(), Nektar::LibUtilities::H5::DataSpace::SelectRange(), Nektar::LibUtilities::H5::PList::SetChunk(), Nektar::LibUtilities::H5::PList::SetDeflate(), Nektar::LibUtilities::H5::DataSpace::SetSelection(), Nektar::LibUtilities::H5::PList::v_Close(), Nektar::LibUtilities::H5::DataSpace::v_Close(), Nektar::LibUtilities::H5::DataType::v_Close(), Nektar::LibUtilities::H5::CompoundDataType::v_Close(), Nektar::LibUtilities::H5::PredefinedDataType::v_Close(), Nektar::LibUtilities::H5::Attribute::v_Close(), Nektar::LibUtilities::H5::File::v_Close(), Nektar::LibUtilities::H5::Group::v_Close(), Nektar::LibUtilities::H5::DataSet::v_Close(), Nektar::LibUtilities::H5::Group::v_GetNumElements(), Nektar::LibUtilities::H5::DataSet::Write(), Nektar::LibUtilities::H5::DataSet::WriteString(), Nektar::LibUtilities::H5::DataSet::WriteVectorString(), Nektar::LibUtilities::H5::File::~File(), and Nektar::LibUtilities::H5::Group::~Group().