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

Public Member Functions

libdap::BaseType * h5cfdims_transform_to_dap4 (libdap::D4Group *grp)
 
libdap::BaseType * h5cfdims_transform_to_dap4_int64 (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 bool h5_is_dap4, const std::string &n="", libdap::BaseType *v=nullptr)
 
libdap::BaseType * ptr_duplicate () override
 
bool read () override
 
void read_data_NOT_from_mem_cache (bool add_cache, void *buf) override
 

Protected Member Functions

std::string check_str_sect_in_list (const std::vector< string > &, const std::string &, char) const
 
bool check_var_cache_files (const std::vector< string > &, const std::string &, const std::string &) const
 
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, const bool is_dap4)
 
size_t INDEX_nD_TO_1D (const std::vector< size_t > &dims, const std::vector< size_t > &pos) const
 
void read_data_from_mem_cache (H5DataType h5type, const std::vector< size_t > &h5_dimsizes, void *buf, const bool is_dap4)
 
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.
 
void write_nature_number_buffer (int rank, int tnumelm)
 

Detailed Description

Definition at line 47 of file HDF5CFArray.h.

Constructor & Destructor Documentation

◆ HDF5CFArray()

HDF5CFArray::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 bool  h5_is_dap4,
const std::string &  n = "",
libdap::BaseType *  v = nullptr 
)
inline

Definition at line 49 of file HDF5CFArray.h.

Member Function Documentation

◆ check_str_sect_in_list()

string HDF5BaseArray::check_str_sect_in_list ( const std::vector< string > &  ,
const std::string &  ,
char   
) const
protectedinherited

Definition at line 453 of file HDF5BaseArray.cc.

◆ check_var_cache_files()

bool HDF5BaseArray::check_var_cache_files ( const std::vector< string > &  ,
const std::string &  ,
const std::string &   
) const
protectedinherited

Definition at line 487 of file HDF5BaseArray.cc.

◆ format_constraint()

int HDF5BaseArray::format_constraint ( int cor,
int step,
int edg 
)
protectedinherited

Definition at line 74 of file HDF5BaseArray.cc.

◆ h5cfdims_transform_to_dap4()

BaseType * HDF5BaseArray::h5cfdims_transform_to_dap4 ( libdap::D4Group *  grp)
inherited

Definition at line 612 of file HDF5BaseArray.cc.

◆ h5cfdims_transform_to_dap4_int64()

BaseType * HDF5CFArray::h5cfdims_transform_to_dap4_int64 ( libdap::D4Group *  root)

Definition at line 1684 of file HDF5CFArray.cc.

◆ handle_data_with_mem_cache()

void HDF5BaseArray::handle_data_with_mem_cache ( H5DataType  h5_dtype,
size_t  t_elems,
const short  cache_case,
const std::string &  key,
const bool  is_dap4 
)
protectedinherited

Definition at line 526 of file HDF5BaseArray.cc.

◆ INDEX_nD_TO_1D()

size_t HDF5BaseArray::INDEX_nD_TO_1D ( const std::vector< size_t > &  dims,
const std::vector< size_t > &  pos 
) const
protectedinherited

Definition at line 429 of file HDF5BaseArray.cc.

◆ ptr_duplicate()

BaseType * HDF5CFArray::ptr_duplicate ( )
override

Definition at line 49 of file HDF5CFArray.cc.

◆ read()

bool HDF5CFArray::read ( )
override

Definition at line 55 of file HDF5CFArray.cc.

◆ read_data_from_mem_cache()

void HDF5BaseArray::read_data_from_mem_cache ( H5DataType  h5type,
const std::vector< size_t > &  h5_dimsizes,
void *  buf,
const bool  is_dap4 
)
protectedinherited

Definition at line 148 of file HDF5BaseArray.cc.

◆ read_data_NOT_from_mem_cache()

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

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 402 of file HDF5BaseArray.cc.

◆ write_nature_number_buffer()

void HDF5BaseArray::write_nature_number_buffer ( int  rank,
int  tnumelm 
)
protectedinherited

Definition at line 114 of file HDF5BaseArray.cc.


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