bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDFArray Class Reference
Inheritance diagram for HDFArray:
Inheritance graph
Collaboration diagram for HDFArray:
Collaboration graph

Public Member Functions

bool GetSlabConstraint (std::vector< int > &start_array, std::vector< int > &edge_array, std::vector< int > &stride_array)
 
 HDFArray (const std::string &n, const std::string &d, libdap::BaseType *v)
 
libdap::BaseType * ptr_duplicate () override
 
bool read () override
 
bool read_tagref (int32 tag, int32 ref, int &error) override
 
void transfer_attributes (libdap::AttrTable *at_container) override
 
virtual void transfer_dimension_attribute (libdap::AttrTable *dim)
 

Detailed Description

Definition at line 55 of file HDFArray.h.

Constructor & Destructor Documentation

◆ HDFArray()

HDFArray::HDFArray ( const std::string & n,
const std::string & d,
libdap::BaseType * v )

Definition at line 66 of file HDFArray.cc.

Member Function Documentation

◆ GetSlabConstraint()

bool HDFArray::GetSlabConstraint ( std::vector< int > & start_array,
std::vector< int > & edge_array,
std::vector< int > & stride_array )

Definition at line 161 of file HDFArray.cc.

◆ ptr_duplicate()

BaseType * HDFArray::ptr_duplicate ( )
override

Definition at line 73 of file HDFArray.cc.

◆ read()

bool HDFArray::read ( )
override

Definition at line 80 of file HDFArray.cc.

◆ read_tagref()

bool HDFArray::read_tagref ( int32 tag,
int32 ref,
int & error )
overridevirtual

Implements ReadTagRef.

Definition at line 92 of file HDFArray.cc.

◆ transfer_attributes()

void HDFArray::transfer_attributes ( libdap::AttrTable * at_container)
override

Transfer attributes from a separately built DAS to the DDS. This method overrides the implementation found in libdap to accommodate the special characteristics of the HDF4 handler's DAS object. The notworthy feature of this handler's DAS is that it lacks the specified structure that provides an easy way to match DAS and DDS items. Instead the DAS is flat.

This version of the method first calls the libdap implementation which, in turn, looks for attribtues that match the name of the variable exactly. Then it looks for 'dimension' attributes that should be bound to this array by searching for attribtue containers whose names fit the pattern dim<digit>, where is the name of this variable and <digit> is some interger, usually small.

Parameters
atAn AttrTable for the entire DAS. Search this for attribtues by name.
See also
HDFSequence::transfer_attributes
HDFGrid::transfer_attributes
HDFStructure::transfer_attributes

Definition at line 212 of file HDFArray.cc.

◆ transfer_dimension_attribute()

void HDFArray::transfer_dimension_attribute ( libdap::AttrTable * dim)
virtual

Definition at line 244 of file HDFArray.cc.


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