bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
agg_util::ArrayGetterInterface Struct Referenceabstract

#include <AggregationUtil.h>

Inheritance diagram for agg_util::ArrayGetterInterface:
Inheritance graph
Collaboration diagram for agg_util::ArrayGetterInterface:
Collaboration graph

Public Member Functions

virtual ArrayGetterInterfaceclone () const =0
 
virtual libdap::Array * readAndGetArray (const std::string &name, const libdap::DDS &dds, const libdap::Array *const pConstraintTemplate, const std::string &debugChannel) const =0
 

Detailed Description

Helper class hierarchy for acquiring variable of a certain type from a DDS. Will be passed into a static helper function within AggregationUtil. Interface class for the functor

Definition at line 59 of file AggregationUtil.h.

Constructor & Destructor Documentation

◆ ~ArrayGetterInterface()

agg_util::ArrayGetterInterface::~ArrayGetterInterface ( )
virtual

Definition at line 82 of file AggregationUtil.cc.

Member Function Documentation

◆ clone()

virtual ArrayGetterInterface * agg_util::ArrayGetterInterface::clone ( ) const
pure virtual

◆ readAndGetArray()

virtual libdap::Array * agg_util::ArrayGetterInterface::readAndGetArray ( const std::string & name,
const libdap::DDS & dds,
const libdap::Array *const pConstraintTemplate,
const std::string & debugChannel ) const
pure virtual

Find, constrain, read, and return an Array inside the DDS using the given name information (somehow, as specified in subclasses)

NOTE: this is a functor so sbuclasses may do searches, may dig into Grid's, etc in order to find the item it needs.

Parameters
namename information on finding the correct Array note: this need not be the exact FQN, but can be interpreted by subclasses as "name.name" in the case of a Grid array, e.g.
ddsthe DDS to search for the Array
pConstraintTemplateif not NULL, use this Array as a template from which to copy constraints onto the returned Array prior to read.
debugChannelif !empty(), the channel to print out debug information.

Implemented in agg_util::TopLevelArrayGetter, agg_util::TopLevelGridDataArrayGetter, and agg_util::TopLevelGridMapArrayGetter.


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