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

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. More...

#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 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
 Lookup name within the top level of DDS ONLY and return it as an Array* if it is a subclass of Array. More...
 
 TopLevelArrayGetter ()
 
virtual ~TopLevelArrayGetter ()
 

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 103 of file AggregationUtil.h.

Constructor & Destructor Documentation

agg_util::TopLevelArrayGetter::TopLevelArrayGetter ( )

Definition at line 75 of file AggregationUtil.cc.

Referenced by clone().

agg_util::TopLevelArrayGetter::~TopLevelArrayGetter ( )
virtual

Definition at line 81 of file AggregationUtil.cc.

Member Function Documentation

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

Virtual constructor idiom.

Implements agg_util::ArrayGetterInterface.

Definition at line 87 of file AggregationUtil.cc.

References TopLevelArrayGetter().

Here is the call graph for this function:

libdap::Array * agg_util::TopLevelArrayGetter::readAndGetArray ( const std::string &  name,
const libdap::DataDDS &  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 94 of file AggregationUtil.cc.

References agg_util::AggregationUtil::getVariableNoRecurse(), and agg_util::AggregationUtil::transferArrayConstraints().

Here is the call graph for this function:


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