bes Updated for version 3.20.13
HDF5BaseArray Class Referenceabstract
Collaboration diagram for HDF5BaseArray:
Collaboration graph

Public Member Functions

libdap::BaseType * h5cfdims_transform_to_dap4 (libdap::D4Group *grp)
 
 HDF5BaseArray (const std::string &n="", libdap::BaseType *v=nullptr)
 

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)
 
virtual void read_data_NOT_from_mem_cache (bool add_cache, void *buf)=0
 
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 56 of file HDF5BaseArray.h.

Constructor & Destructor Documentation

◆ HDF5BaseArray()

HDF5BaseArray::HDF5BaseArray ( const std::string &  n = "",
libdap::BaseType *  v = nullptr 
)
inline

Definition at line 58 of file HDF5BaseArray.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
protected

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
protected

Definition at line 487 of file HDF5BaseArray.cc.

◆ format_constraint()

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

Definition at line 74 of file HDF5BaseArray.cc.

◆ h5cfdims_transform_to_dap4()

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

Definition at line 612 of file HDF5BaseArray.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 
)
protected

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
protected

Definition at line 429 of file HDF5BaseArray.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 
)
protected

Definition at line 148 of file HDF5BaseArray.cc.

◆ read_data_NOT_from_mem_cache()

virtual void HDF5BaseArray::read_data_NOT_from_mem_cache ( bool  add_cache,
void *  buf 
)
protectedpure virtual

Implemented in HDF5CFArray.

◆ 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 
)
protected

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 
)
protected

Definition at line 114 of file HDF5BaseArray.cc.


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