bes  Updated for version 3.20.6
agg_util::TopLevelArrayGetter Struct Reference

#include <AggregationUtil.h>

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.

Member Function Documentation

◆ clone()

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

Virtual constructor idiom

Implements agg_util::ArrayGetterInterface.

Definition at line 88 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 95 of file AggregationUtil.cc.


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