OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
agg_util::TopLevelGridMapArrayGetter Struct Reference

#include <AggregationUtil.h>

Inheritance diagram for agg_util::TopLevelGridMapArrayGetter:
Inheritance graph
Collaboration diagram for agg_util::TopLevelGridMapArrayGetter:
Collaboration graph

Public Member Functions

virtual TopLevelGridMapArrayGetterclone () const
 Virtual constructor idiom. More...
 
virtual libdap::Array * readAndGetArray (const std::string &name, const libdap::DataDDS &dds, const libdap::Array *const pConstraintTemplate, const std::string &debugChannel) const
 Find's the Array using name as the name of a map to find within a top level Grid names in the constructor! More...
 
 TopLevelGridMapArrayGetter (const std::string &gridName)
 
virtual ~TopLevelGridMapArrayGetter ()
 

Public Attributes

const string _gridName
 

Detailed Description

Definition at line 150 of file AggregationUtil.h.

Constructor & Destructor Documentation

agg_util::TopLevelGridMapArrayGetter::TopLevelGridMapArrayGetter ( const std::string &  gridName)

Definition at line 250 of file AggregationUtil.cc.

Referenced by clone().

agg_util::TopLevelGridMapArrayGetter::~TopLevelGridMapArrayGetter ( )
virtual

Definition at line 257 of file AggregationUtil.cc.

Member Function Documentation

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

Virtual constructor idiom.

Implements agg_util::ArrayGetterInterface.

Definition at line 263 of file AggregationUtil.cc.

References TopLevelGridMapArrayGetter().

Here is the call graph for this function:

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

Find's the Array using name as the name of a map to find within a top level Grid names in the constructor!

Exceptions
AggregationExceptionif not found or illegal shape.
Parameters
namename of the Grid to find the Array in.
ddsDDS to search
pConstraintTemplatetemplate for constraints
debugChannelif !empty() the channel to print to.
Returns
the read in Array* or 0 if not found.

Implements agg_util::ArrayGetterInterface.

Definition at line 270 of file AggregationUtil.cc.

References _gridName, agg_util::AggregationUtil::findMapByName(), agg_util::AggregationUtil::getVariableNoRecurse(), NCML_ASSERT_MSG, and agg_util::AggregationUtil::transferArrayConstraints().

Here is the call graph for this function:

Member Data Documentation

const string agg_util::TopLevelGridMapArrayGetter::_gridName

Definition at line 175 of file AggregationUtil.h.

Referenced by readAndGetArray().


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