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

#include <AggregationUtil.h>

Inheritance diagram for agg_util::TopLevelArrayGetter:
Inheritance graph
Collaboration diagram for agg_util::TopLevelArrayGetter:
Collaboration graph

Public Member Functions

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

Detailed Description

Concrete impl that simply finds the Array by looking for a variable of the given name at the top level of the DDS (i.e. doesn't recurse using field notation!) and making sure it is of the proper type.

Definition at line 94 of file AggregationUtil.h.

Constructor & Destructor Documentation

◆ TopLevelArrayGetter()

agg_util::TopLevelArrayGetter::TopLevelArrayGetter ( )

Definition at line 89 of file AggregationUtil.cc.

◆ ~TopLevelArrayGetter()

agg_util::TopLevelArrayGetter::~TopLevelArrayGetter ( )
virtual

Definition at line 95 of file AggregationUtil.cc.

Member Function Documentation

◆ clone()

TopLevelArrayGetter * agg_util::TopLevelArrayGetter::clone ( ) const
virtual

Virtual constructor idiom

Implements agg_util::ArrayGetterInterface.

Definition at line 101 of file AggregationUtil.cc.

◆ readAndGetArray()

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

Lookup name within the top level of DDS ONLY and return it as an Array* if it is a subclass of Array. May return NULL if not found or other problem.

Exceptions
AggregationExceptionif not found or if found but cannot be cast properly into an Array*

Implements agg_util::ArrayGetterInterface.

Definition at line 108 of file AggregationUtil.cc.


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