|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Functions to generate DDS and DAS for one object(variable). More...
#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <iostream>#include <sstream>#include <InternalErr.h>#include "h5cfdaputil.h"#include "h5gmcfdap.h"#include "HDF5CFByte.h"#include "HDF5CFUInt16.h"#include "HDF5CFInt16.h"#include "HDF5CFUInt32.h"#include "HDF5CFInt32.h"#include "HDF5CFFloat32.h"#include "HDF5CFFloat64.h"#include "HDF5CFStr.h"#include "HDF5CFArray.h"
Go to the source code of this file.
Macros | |
| #define | HANDLE_CASE(tid, type) |
Functions | |
| void | gen_dap_oneobj_das (AttrTable *at, const HDF5CF::Attribute *attr, const HDF5CF::Var *var) |
| void | gen_dap_onevar_dds (DDS &dds, const HDF5CF::Var *var, const hid_t file_id, const string &filename) |
| void | gen_dap_special_oneobj_das (AttrTable *at, const HDF5CF::Attribute *attr, const HDF5CF::Var *var) |
| void | gen_dap_str_attr (AttrTable *at, const HDF5CF::Attribute *attr) |
| bool | need_special_attribute_handling (const HDF5CF::Attribute *attr, const HDF5CF::Var *var) |
Functions to generate DDS and DAS for one object(variable).
Definition in file h5commoncfdap.cc.
| #define HANDLE_CASE | ( | tid, | |
| type | |||
| ) |
Referenced by gen_dap_onevar_dds().
| void gen_dap_oneobj_das | ( | AttrTable * | at, |
| const HDF5CF::Attribute * | attr, | ||
| const HDF5CF::Var * | var | ||
| ) |
Definition at line 234 of file h5commoncfdap.cc.
References gen_dap_special_oneobj_das(), gen_dap_str_attr(), HDF5CFDAPUtil::get_mem_dtype(), HDF5CF::Attribute::getBufSize(), HDF5CF::Attribute::getCount(), HDF5CF::Attribute::getNewName(), HDF5CF::Attribute::getType(), HDF5CF::Attribute::getValue(), H5FSTRING, H5VSTRING, need_special_attribute_handling(), NULL, HDF5CFDAPUtil::print_attr(), and HDF5CFDAPUtil::print_type().
Referenced by gen_eos5_cfdas(), and gen_gmh5_cfdas().

| void gen_dap_onevar_dds | ( | DDS & | dds, |
| const HDF5CF::Var * | var, | ||
| const hid_t | file_id, | ||
| const string & | filename | ||
| ) |
Definition at line 57 of file h5commoncfdap.cc.
References HDF5CF::Var::getDimensions(), HDF5CF::Var::getFullPath(), HDF5CF::Var::getNewName(), HDF5CF::Var::getRank(), HDF5CF::Var::getType(), H5CHAR, H5FLOAT32, H5FLOAT64, H5FSTRING, H5INT16, H5INT32, H5UCHAR, H5UINT16, H5UINT32, H5VSTRING, HANDLE_CASE, and NULL.
Referenced by gen_eos5_cfdds(), and gen_gmh5_cfdds().

| void gen_dap_special_oneobj_das | ( | AttrTable * | at, |
| const HDF5CF::Attribute * | attr, | ||
| const HDF5CF::Var * | var | ||
| ) |
Definition at line 148 of file h5commoncfdap.cc.
References HDF5CF::Attribute::getCount(), HDF5CF::Attribute::getNewName(), HDF5CF::Var::getType(), HDF5CF::Attribute::getValue(), H5CHAR, H5FLOAT32, H5FLOAT64, H5INT16, H5INT32, H5UCHAR, H5UINT16, H5UINT32, HDF5CFDAPUtil::print_attr(), and HDF5CFDAPUtil::print_type().
Referenced by gen_dap_oneobj_das().

| void gen_dap_str_attr | ( | AttrTable * | at, |
| const HDF5CF::Attribute * | attr | ||
| ) |
Definition at line 284 of file h5commoncfdap.cc.
References HDF5CFDAPUtil::check_beskeys(), HDF5CFDAPUtil::escattr(), HDF5CF::Attribute::getCount(), HDF5CF::Attribute::getNewName(), HDF5CF::Attribute::getStrSize(), HDF5CF::Attribute::getValue(), and NC_JAVA_STR_SIZE_LIMIT.
Referenced by gen_dap_oneobj_das().

| bool need_special_attribute_handling | ( | const HDF5CF::Attribute * | attr, |
| const HDF5CF::Var * | var | ||
| ) |
Definition at line 142 of file h5commoncfdap.cc.
References HDF5CF::Attribute::getNewName(), HDF5CF::Attribute::getType(), and HDF5CF::Var::getType().
Referenced by gen_dap_oneobj_das().
