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

Public Member Functions

 HDFStructure (const std::string &n, const std::string &d)
 
libdap::BaseType * ptr_duplicate () override
 
bool read () override
 
bool read_from_value (vector< uint8_t > &values, size_t &values_offset)
 
bool read_tagref (int32 tag, int32 ref, int &error) override
 
void set_read_p (bool state) override
 
void transfer_attributes (libdap::AttrTable *at_container) override
 

Detailed Description

Definition at line 52 of file HDFStructure.h.

Constructor & Destructor Documentation

◆ HDFStructure()

HDFStructure::HDFStructure ( const std::string & n,
const std::string & d )

Definition at line 67 of file HDFStructure.cc.

Member Function Documentation

◆ ptr_duplicate()

BaseType * HDFStructure::ptr_duplicate ( )
override

Definition at line 73 of file HDFStructure.cc.

◆ read()

bool HDFStructure::read ( )
override

Definition at line 136 of file HDFStructure.cc.

◆ read_from_value()

bool HDFStructure::read_from_value ( vector< uint8_t > & values,
size_t & values_offset )

Definition at line 84 of file HDFStructure.cc.

◆ read_tagref()

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

Implements ReadTagRef.

Definition at line 148 of file HDFStructure.cc.

◆ set_read_p()

void HDFStructure::set_read_p ( bool state)
override

Definition at line 79 of file HDFStructure.cc.

◆ transfer_attributes()

void HDFStructure::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 noteworthy 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 this DAS is flat.

Because this handler builds a flat attribute object, each variable has to look at the entire top level set of attribute containers to find its own attribute container. If the DAS were built correctly, then this method would find the container for this Structure and pass only that to the child variables for them to search. See the default method in libdap.

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

Definition at line 203 of file HDFStructure.cc.


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