bes  Updated for version 3.20.6
HDF5CFArray Class Reference
Collaboration diagram for HDF5CFArray:
Collaboration graph

Public Member Functions

libdap::BaseType * h5cfdims_transform_to_dap4 (libdap::D4Group *root)
 
 HDF5CFArray (int h5_rank, const hid_t h5_file_id, const std::string &h5_filename, H5DataType h5_dtype, const std::vector< size_t > &h5_dimsizes, const std::string &varfullpath, const size_t h5_total_elems, const CVType h5_cvtype, const bool h5_islatlon, const float h5_comp_ratio, const std::string &n="", libdap::BaseType *v=0)
 
virtual libdap::BaseType * ptr_duplicate ()
 
virtual bool read ()
 
virtual void read_data_NOT_from_mem_cache (bool add_cache, void *buf)
 

Protected Member Functions

std::string check_str_sect_in_list (const std::vector< string > &, const std::string &, char)
 
bool check_var_cache_files (const std::vector< string > &, const std::string &, const std::string &)
 
int format_constraint (int *cor, int *step, int *edg)
 
void handle_data_with_mem_cache (H5DataType, size_t t_elems, const short cache_case, const std::string &key)
 
size_t INDEX_nD_TO_1D (const std::vector< size_t > &dims, const std::vector< size_t > &pos)
 
void read_data_from_mem_cache (H5DataType h5type, const std::vector< size_t > &h5_dimsizes, void *buf)
 
template<typename T >
int subset (void *input, int rank, const std::vector< size_t > &dim, int start[], int stride[], int edge[], std::vector< T > *poutput, std::vector< size_t > &pos, int index)
 Getting a subset of a variable. More...
 
void write_nature_number_buffer (int rank, int tnumelm)
 

Detailed Description

Definition at line 47 of file HDF5CFArray.h.

Member Function Documentation

◆ read_data_NOT_from_mem_cache()

void HDF5CFArray::read_data_NOT_from_mem_cache ( bool  add_cache,
void *  buf 
)
virtual

Read the data from the cache

Implements HDF5BaseArray.

Definition at line 175 of file HDF5CFArray.cc.

◆ subset()

template<typename T >
int HDF5BaseArray::subset ( void *  input,
int  rank,
const std::vector< size_t > &  dim,
int  start[],
int  stride[],
int  edge[],
std::vector< T > *  poutput,
std::vector< size_t > &  pos,
int  index 
)
protectedinherited

Getting a subset of a variable.

Definition at line 396 of file HDF5BaseArray.cc.


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