37#ifndef Alembic_AbcCoreHDF5_HDF5Util_h
38#define Alembic_AbcCoreHDF5_HDF5Util_h
40#include <Alembic/AbcCoreHDF5/Foundation.h>
41#include <Alembic/AbcCoreHDF5/HDF5Hierarchy.h>
44namespace AbcCoreHDF5 {
45namespace ALEMBIC_VERSION_NS {
48typedef ::Alembic::Util::BaseDimensions<hsize_t> HDimensions;
53 AttrCloser( hid_t
id ) : m_id(
id ) {}
54 ~AttrCloser() {
if ( m_id >= 0 ) H5Aclose( m_id ); }
61 DspaceCloser( hid_t
id ) : m_id(
id ) {}
62 ~DspaceCloser() {
if ( m_id >= 0 ) H5Sclose( m_id ); }
69 DsetCloser( hid_t
id ) : m_id(
id ) {}
70 ~DsetCloser() {
if (m_id >= 0 ) H5Dclose( m_id ); }
78 GroupCloser( hid_t
id ) : m_id(
id ) {}
79 ~GroupCloser() {
if ( m_id >= 0 ) H5Gclose( m_id ); }
86 DtypeCloser( hid_t
id ) : m_id(
id ) {}
87 ~DtypeCloser() {
if ( m_id >= 0 ) H5Tclose( m_id ); }
94 PlistCloser( hid_t
id ) : m_id(
id ) {}
95 ~PlistCloser() {
if ( m_id >= 0 ) H5Pclose( m_id ); }
100hid_t CreationOrderPlist();
101hid_t DsetGzipCreatePlist(
const Dimensions &dims,
int level );
104bool EquivalentDatatypes( hid_t idA, hid_t idB );
107H5Node OpenGroup(
H5Node& iParent,
const std::string& iName );
110void CloseObject (
H5Node& iNode );
113bool GroupExists(
H5Node& iParent,
const std::string &iName );
116bool ObjectExists(
H5Node& iParent,
const std::string &iName );
119bool AttrExists(
H5Node& iParent,
const std::string &iName );
122bool DatasetExists(
H5Node& iParent,
const std::string &iName );
126using namespace ALEMBIC_VERSION_NS;
Definition HDF5Hierarchy.h:50
Alembic namespace ...
Definition ArchiveInfo.cpp:39