29 #ifndef __AGG_UTIL__ARRAY_AGGREGATION_BASE_H__
30 #define __AGG_UTIL__ARRAY_AGGREGATION_BASE_H__
61 const libdap::Array& granuleProto,
63 std::auto_ptr<ArrayGetterInterface>& arrayGetter
126 void cleanup()
throw();
135 std::auto_ptr<libdap::Array> _pSubArrayProto;
139 std::auto_ptr<ArrayGetterInterface> _pArrayGetter;
virtual bool read()
Base implementation that works for both joinNew and joinExisting.
ArrayAggregationBase & operator=(const ArrayAggregationBase &rhs)
libdap::Array & getGranuleTemplateArray()
Accessor for subclasses Note this is protected, so not const! Subclasses may mutate the return hence ...
virtual ArrayAggregationBase * ptr_duplicate()
virtual constructor i.e.
void printConstraints(const Array &fromArray)
Print out the constraints on fromArray to the debug channel.
ArrayAggregationBase(const libdap::Array &granuleProto, const AMDList &memberDatasets, std::auto_ptr< ArrayGetterInterface > &arrayGetter)
Construct the base class using the given parameters.
Helper class for temporarily hijacking an existing dhi to load a DDX response for one particular file...
Helper class hierarchy for acquiring variable of a certain type from a DDS.
Base class for subclasses of libdap::Array which perform aggregation on a list of AggMemberDatasets w...
const ArrayGetterInterface & getArrayGetterInterface() const
Accessor for subclasses Note this is protected, so not const! Subclasses may mutate the return hence ...
std::vector< RCPtr< AggMemberDataset > > AMDList
const AMDList & getDatasetList() const
Get the list of AggMemberDataset's that comprise this aggregation.
virtual ~ArrayAggregationBase()
virtual void readConstrainedGranuleArraysAndAggregateDataHook()
The meat of the subclass impl of read().
virtual void transferOutputConstraintsIntoGranuleTemplateHook()
subclass hook from read() to setup constraints on inner dims correctly