HighFive 2.10.0
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
HighFive::AttributePhaseChange Class Reference

Set threshold for attribute storage. More...

#include <H5PropertyList.hpp>

Inheritance diagram for HighFive::AttributePhaseChange:
Collaboration diagram for HighFive::AttributePhaseChange:

Public Member Functions

 AttributePhaseChange (unsigned max_compact, unsigned min_dense)
 Create the property from the threshold values.
 
 AttributePhaseChange (const GroupCreateProps &gcpl)
 Extract threshold values from property list.
 
unsigned max_compact () const
 
unsigned min_dense () const
 

Detailed Description

Set threshold for attribute storage.

HDF5 can store Attributes in the object header (compact) or in the B-tree (dense). This property sets the threshold when attributes are moved to one or the other storage format.

Please refer to the upstream documentation of H5Pset_attr_phase_change or Section 8 (Attributes) in the User Guide, in particular Subsection 8.5.

Constructor & Destructor Documentation

◆ AttributePhaseChange() [1/2]

HighFive::AttributePhaseChange::AttributePhaseChange ( unsigned max_compact,
unsigned min_dense )
inline

Create the property from the threshold values.

When the number of attributes hits max_compact the attributes are moved to dense storage, once the number drops to below min_dense the attributes are moved to compact storage.

◆ AttributePhaseChange() [2/2]

HighFive::AttributePhaseChange::AttributePhaseChange ( const GroupCreateProps & gcpl)
inlineexplicit

Extract threshold values from property list.

Member Function Documentation

◆ max_compact()

unsigned HighFive::AttributePhaseChange::max_compact ( ) const
inline

◆ min_dense()

unsigned HighFive::AttributePhaseChange::min_dense ( ) const
inline

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