OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDFStructure Class Reference

#include <HDFStructure.h>

Inheritance diagram for HDFStructure:
Inheritance graph
Collaboration diagram for HDFStructure:
Collaboration graph

Public Member Functions

 HDFStructure (const string &n, const string &d)
 
virtual 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 (AttrTable *at_container)
 Transfer attributes from a separately built DAS to the DDS. More...
 
virtual ~HDFStructure ()
 

Detailed Description

Definition at line 53 of file HDFStructure.h.

Constructor & Destructor Documentation

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

Definition at line 62 of file HDFStructure.cc.

Referenced by ptr_duplicate().

HDFStructure::~HDFStructure ( )
virtual

Definition at line 66 of file HDFStructure.cc.

Member Function Documentation

BaseType * HDFStructure::ptr_duplicate ( )
virtual

Definition at line 68 of file HDFStructure.cc.

References HDFStructure().

Here is the call graph for this function:

bool HDFStructure::read ( )
virtual

Definition at line 79 of file HDFStructure.cc.

References read_tagref().

Here is the call graph for this function:

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

Implements ReadTagRef.

Definition at line 91 of file HDFStructure.cc.

References BESDEBUG, LoadStructureFromVgroup(), hdfistream_vgroup::seek_ref(), and set_read_p().

Referenced by read().

Here is the call graph for this function:

void HDFStructure::set_read_p ( bool  state)
virtual

Definition at line 74 of file HDFStructure.cc.

Referenced by LoadSequenceFromVdata(), and read_tagref().

void HDFStructure::transfer_attributes ( AttrTable *  at)
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 146 of file HDFStructure.cc.

References BESDEBUG.


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