MISR Toolkit  1.5.1
Public Member Functions | Protected Member Functions
H5::AtomType Class Reference

AtomType is a base class, inherited by IntType, FloatType, StrType, and PredType. More...

#include <H5AtomType.h>

Inheritance diagram for H5::AtomType:
Inheritance graph
Collaboration diagram for H5::AtomType:
Collaboration graph

Public Member Functions

H5T_order_t getOrder () const
 
H5T_order_t getOrder (H5std_string &order_string) const
 
void setOrder (H5T_order_t order) const
 
int getOffset () const
 
void setOffset (size_t offset) const
 
void getPad (H5T_pad_t &lsb, H5T_pad_t &msb) const
 
void setPad (H5T_pad_t lsb, H5T_pad_t msb) const
 
size_t getPrecision () const
 
void setPrecision (size_t precision) const
 
void setSize (size_t size) const
 
virtual H5std_string fromClass () const
 Returns this class name. More...
 
 AtomType (const AtomType &original)
 
virtual ~AtomType ()
 
- Public Member Functions inherited from H5::DataType
 DataType (const H5T_class_t type_class, size_t size)
 
 DataType (const DataType &original)
 
 DataType (const PredType &pred_type)
 
 DataType (const H5Location &loc, const char *name)
 
 DataType (const H5Location &loc, const H5std_string &name)
 
 DataType (const H5Location &loc, const void *ref, H5R_type_t ref_type=H5R_OBJECT)
 
 DataType (const Attribute &attr, const void *ref, H5R_type_t ref_type=H5R_OBJECT)
 
virtual void close ()
 
void copy (const DataType &like_type)
 
void copy (const DataSet &dset)
 
virtual DataTypedecode () const
 
void encode ()
 
H5T_class_t getClass () const
 
void commit (const H5Location &loc, const char *name)
 
void commit (const H5Location &loc, const H5std_string &name)
 
bool committed () const
 
H5T_conv_t find (const DataType &dest, H5T_cdata_t **pcdata) const
 
void convert (const DataType &dest, size_t nelmts, void *buf, void *background, const PropList &plist=PropList::DEFAULT) const
 
DataTypeoperator= (const DataType &rhs)
 
bool operator== (const DataType &compared_type) const
 
void lock () const
 
size_t getSize () const
 
DataType getSuper () const
 
void registerFunc (H5T_pers_t pers, const char *name, const DataType &dest, H5T_conv_t func) const
 
void registerFunc (H5T_pers_t pers, const H5std_string &name, const DataType &dest, H5T_conv_t func) const
 
void unregister (H5T_pers_t pers, const char *name, const DataType &dest, H5T_conv_t func) const
 
void unregister (H5T_pers_t pers, const H5std_string &name, const DataType &dest, H5T_conv_t func) const
 
void setTag (const char *tag) const
 
void setTag (const H5std_string &tag) const
 
H5std_string getTag () const
 
bool detectClass (H5T_class_t cls) const
 
bool isVariableStr () const
 
PropList getCreatePlist () const
 
virtual void throwException (const H5std_string &func_name, const H5std_string &msg) const
 
 DataType (const hid_t type_id)
 
 DataType ()
 
bool hasBinaryDesc () const
 
virtual hid_t getId () const
 Returns an identifier. (pure virtual) More...
 
virtual ~DataType ()
 
- Public Member Functions inherited from H5::H5Object
Attribute createAttribute (const char *name, const DataType &type, const DataSpace &space, const PropList &create_plist=PropList::DEFAULT) const
 
Attribute createAttribute (const H5std_string &name, const DataType &type, const DataSpace &space, const PropList &create_plist=PropList::DEFAULT) const
 
Attribute openAttribute (const char *name) const
 
Attribute openAttribute (const H5std_string &name) const
 
Attribute openAttribute (const unsigned int idx) const
 
int getNumAttrs () const
 
bool attrExists (const char *name) const
 
bool attrExists (const H5std_string &name) const
 
void renameAttr (const char *oldname, const char *newname) const
 
void renameAttr (const H5std_string &oldname, const H5std_string &newname) const
 
void removeAttr (const char *name) const
 
void removeAttr (const H5std_string &name) const
 
ssize_t getObjName (char *obj_name, size_t buf_size=0) const
 
ssize_t getObjName (H5std_string &obj_name, size_t len=0) const
 
H5std_string getObjName () const
 
virtual ~H5Object ()
 
- Public Member Functions inherited from H5::H5Location
int getNumAttrs () const
 
bool nameExists (const char *name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
bool nameExists (const H5std_string &name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void flush (H5F_scope_t scope) const
 
H5std_string getFileName () const
 
void getObjectInfo (H5O_info_t *oinfo) const
 
void getObjectInfo (const char *name, H5O_info_t *oinfo, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void getObjectInfo (const H5std_string &name, H5O_info_t *oinfo, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
H5G_obj_t getObjType (void *ref, H5R_type_t ref_type=H5R_OBJECT) const
 
H5O_type_t getRefObjType (void *ref, H5R_type_t ref_type=H5R_OBJECT) const
 
unsigned objVersion () const
 
void setComment (const char *name, const char *comment) const
 
void setComment (const H5std_string &name, const H5std_string &comment) const
 
void setComment (const char *comment) const
 
void setComment (const H5std_string &comment) const
 
ssize_t getComment (const char *name, size_t buf_size, char *comment) const
 
H5std_string getComment (const char *name, size_t buf_size=0) const
 
H5std_string getComment (const H5std_string &name, size_t buf_size=0) const
 
void removeComment (const char *name) const
 
void removeComment (const H5std_string &name) const
 
void reference (void *ref, const char *name, H5R_type_t ref_type=H5R_OBJECT) const
 
void reference (void *ref, const H5std_string &name, H5R_type_t ref_type=H5R_OBJECT) const
 
void reference (void *ref, const char *name, const DataSpace &dataspace, H5R_type_t ref_type=H5R_DATASET_REGION) const
 
void reference (void *ref, const H5std_string &name, const DataSpace &dataspace, H5R_type_t ref_type=H5R_DATASET_REGION) const
 
void dereference (const H5Location &loc, const void *ref, H5R_type_t ref_type=H5R_OBJECT)
 
void dereference (const Attribute &attr, const void *ref, H5R_type_t ref_type=H5R_OBJECT)
 
DataSpace getRegion (void *ref, H5R_type_t ref_type=H5R_DATASET_REGION) const
 
hid_t openObjId (const char *name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
hid_t openObjId (const H5std_string &name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void link (const char *target_name, const char *link_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void link (const H5std_string &target_name, const H5std_string &link_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void link (const char *curr_name, const H5Location &new_loc, const char *new_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void link (const H5std_string &curr_name, const H5Location &new_loc, const H5std_string &new_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void link (const char *curr_name, const hid_t same_loc, const char *new_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void link (const H5std_string &curr_name, const hid_t same_loc, const H5std_string &new_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void unlink (const char *link_name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void unlink (const H5std_string &link_name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void copyLink (const char *src_name, const H5Location &dst, const char *dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void copyLink (const H5std_string &src_name, const H5Location &dst, const H5std_string &dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void copyLink (const char *src_name, const char *dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void copyLink (const H5std_string &src_name, const H5std_string &dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void moveLink (const char *src_name, const H5Location &dst, const char *dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void moveLink (const H5std_string &src_name, const H5Location &dst, const H5std_string &dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void moveLink (const char *src_name, const char *dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
void moveLink (const H5std_string &src_name, const H5std_string &dst_name, const LinkCreatPropList &lcpl=LinkCreatPropList::DEFAULT, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
H5L_info_t getLinkInfo (const char *link_name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
H5L_info_t getLinkInfo (const H5std_string &link_name, const LinkAccPropList &lapl=LinkAccPropList::DEFAULT) const
 
H5std_string getLinkval (const char *link_name, size_t size=0) const
 
H5std_string getLinkval (const H5std_string &link_name, size_t size=0) const
 
virtual int iterateAttrs (attr_operator_t user_op, unsigned *idx=NULL, void *op_data=NULL)
 
- Public Member Functions inherited from H5::IdComponent
void incRefCount (const hid_t obj_id) const
 
void incRefCount () const
 
void decRefCount (const hid_t obj_id) const
 
void decRefCount () const
 
int getCounter (const hid_t obj_id) const
 
int getCounter () const
 
H5I_type_t getHDFObjType () const
 
IdComponentoperator= (const IdComponent &rhs)
 
void setId (const hid_t new_id)
 
H5std_string inMemFunc (const char *func_name) const
 
virtual ~IdComponent ()
 

Protected Member Functions

 AtomType ()
 
 AtomType (const hid_t existing_id)
 
- Protected Member Functions inherited from H5::DataType
hid_t p_decode () const
 
virtual void p_setId (const hid_t new_id)
 
hid_t p_opentype (const H5Location &loc, const char *dtype_name) const
 
- Protected Member Functions inherited from H5::H5Object
 H5Object ()
 
- Protected Member Functions inherited from H5::H5Location
 H5Location ()
 
 H5Location (const hid_t loc_id)
 
void p_reference (void *ref, const char *name, hid_t space_id, H5R_type_t ref_type) const
 
hid_t p_dereference (hid_t loc_id, const void *ref, H5R_type_t ref_type, const char *from_func)
 
H5G_obj_t p_get_obj_type (void *ref, H5R_type_t ref_type) const
 
H5O_type_t p_get_ref_obj_type (void *ref, H5R_type_t ref_type) const
 
virtual ~H5Location ()
 
- Protected Member Functions inherited from H5::IdComponent
 IdComponent ()
 
H5std_string p_get_file_name () const
 

Additional Inherited Members

- Static Public Member Functions inherited from H5::H5Location
static void closeObjId (hid_t obj_id)
 
- Static Public Member Functions inherited from H5::IdComponent
static H5I_type_t getHDFObjType (const hid_t obj_id)
 
static bool isValid (hid_t an_id)
 
- Static Protected Member Functions inherited from H5::IdComponent
static bool p_valid_id (const hid_t obj_id)
 
- Protected Attributes inherited from H5::DataType
hid_t id
 
- Static Protected Attributes inherited from H5::IdComponent
static bool H5dontAtexit_called
 

Detailed Description

AtomType is a base class, inherited by IntType, FloatType, StrType, and PredType.

AtomType provides operations on HDF5 atomic datatypes. It also inherits from DataType.

Definition at line 28 of file H5AtomType.h.

Constructor & Destructor Documentation

◆ AtomType() [1/3]

H5::AtomType::AtomType ( const AtomType original)

◆ ~AtomType()

virtual H5::AtomType::~AtomType ( )
virtual

◆ AtomType() [2/3]

H5::AtomType::AtomType ( )
protected

◆ AtomType() [3/3]

H5::AtomType::AtomType ( const hid_t  existing_id)
protected

Member Function Documentation

◆ fromClass()

virtual H5std_string H5::AtomType::fromClass ( ) const
inlinevirtual

Returns this class name.

Reimplemented from H5::DataType.

Reimplemented in H5::FloatType, H5::StrType, H5::IntType, and H5::PredType.

Definition at line 60 of file H5AtomType.h.

◆ getOffset()

int H5::AtomType::getOffset ( ) const

◆ getOrder() [1/2]

H5T_order_t H5::AtomType::getOrder ( ) const

◆ getOrder() [2/2]

H5T_order_t H5::AtomType::getOrder ( H5std_string order_string) const

◆ getPad()

void H5::AtomType::getPad ( H5T_pad_t lsb,
H5T_pad_t msb 
) const

◆ getPrecision()

size_t H5::AtomType::getPrecision ( ) const

◆ setOffset()

void H5::AtomType::setOffset ( size_t  offset) const

◆ setOrder()

void H5::AtomType::setOrder ( H5T_order_t  order) const

◆ setPad()

void H5::AtomType::setPad ( H5T_pad_t  lsb,
H5T_pad_t  msb 
) const

◆ setPrecision()

void H5::AtomType::setPrecision ( size_t  precision) const

◆ setSize()

void H5::AtomType::setSize ( size_t  size) const

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

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:54