bes Updated for version 3.20.13
HDFArray Class Reference
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)
 
virtual libdap::BaseType * ptr_duplicate ()
 
virtual bool read ()
 
virtual bool read_tagref (int32 tag, int32 ref, int &error)
 
virtual void transfer_attributes (libdap::AttrTable *at_container)
 
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.

◆ ~HDFArray()

HDFArray::~HDFArray ( )
virtual

Definition at line 70 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 159 of file HDFArray.cc.

◆ ptr_duplicate()

BaseType * HDFArray::ptr_duplicate ( )
virtual

Definition at line 73 of file HDFArray.cc.

◆ read()

bool HDFArray::read ( )
virtual

Definition at line 80 of file HDFArray.cc.

◆ read_tagref()

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

Implements ReadTagRef.

Definition at line 92 of file HDFArray.cc.

◆ transfer_attributes()

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

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 208 of file HDFArray.cc.

◆ transfer_dimension_attribute()

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

Definition at line 240 of file HDFArray.cc.


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