bes  Updated for version 3.20.6
HDFStructure Class Reference
Collaboration diagram for HDFStructure:
Collaboration graph

Public Member Functions

 HDFStructure (const std::string &n, const std::string &d)
 
virtual libdap::BaseType * ptr_duplicate ()
 
virtual bool read ()
 
virtual bool read_tagref (int32 tag, int32 ref, int &error)
 
virtual void set_read_p (bool state)
 
virtual void transfer_attributes (libdap::AttrTable *at_container)
 

Detailed Description

Definition at line 52 of file HDFStructure.h.

Member Function Documentation

◆ transfer_attributes()

void HDFStructure::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 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 149 of file HDFStructure.cc.


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