Classes |
struct | sds_infos_type |
Public Member Functions |
| Hdf_sds (const int32 sds_id, const char *sds_name, const int32 sds_rank, const int32 *sds_dim_sizes, const int32 sds_data_type, const int32 sds_nattrs) |
| Hdf_sds (const Hdf_sds &hdf_sds) |
std::string | get_name () const |
int32 | get_id () const |
int32 | get_rank () const |
int32 | get_data_type () const |
int32 | get_nattrs () const |
int32 | get_dimension (int n) const |
void | get_fill_value (void *fill_value) |
void | set_fill_value (void *fill_value) |
void | set_dimension (int n, int32 dimension) |
void | get_dimensions (int32 *dimensions) const |
Hdf_attr | get_attribute (const char *attr_name) const |
void | get_attributes (Hdf_attr *attributes) const |
bool | has_attr (const char *file_attr) const |
void | read (void *sds_data, int32 *start=NULL, int32 *stride=NULL, int32 *edges=NULL) const |
void | write (const void *sds_data, int32 *start, int32 *stride, int32 *edges, float64 cal=0., float64 offset=0., float64 cal_err=0., float64 off_err=0.) const |
std::string | list_of_dimensions () const |
std::string | list_of_attributes (const int32 chars_to_display=80, const int32 numbers_to_display=10) const |
std::string | to_string () const |
void | get_calibration (float64 &cal, float64 &cal_error, float64 &offset, float64 &offset_err, int32 &data_type) const |
void | get_attr_value (const char *attr_name, void *value, int32 ival=0) const |
| read the value of an attribute
|
Hdf_sds & | operator= (const Hdf_sds &hdf_sds) |
Friends |
std::ostream & | operator<< (std::ostream &stream, const Hdf_sds &hdf_sds) |