bes
Updated for version 3.20.6
|
29 #ifndef __NCML_MODULE_DDSLOADER_H__
30 #define __NCML_MODULE_DDSLOADER_H__
73 std::string _filename;
79 std::string _containerSymbol;
80 std::string _origAction;
81 std::string _origActionName;
87 static long _gensymID;
95 eRT_RequestDDX = 0, eRT_RequestDataDDS, eRT_Num
142 std::auto_ptr<BESDapResponse> load(
const std::string& location,
ResponseType type);
216 void removeContainerFromStorage();
226 static std::string getNextContainerName();
provides persistent storage for data storage information represented by a container.
virtual ~DDSLoader()
Dtor restores the state of dhi Restores the state of the dhi to what it was when object if it is stil...
Represents an OPeNDAP DAP response object within the BES.
static std::string getActionNameForType(ResponseType type)
DDSLoader(BESDataHandlerInterface &dhi)
Create a loader that will hijack dhi on a load call, then restore it's state.
Helper class for temporarily hijacking an existing dhi to load a DDX response for one particular file...
static std::auto_ptr< BESDapResponse > makeResponseForType(ResponseType type)
void cleanup()
restore dhi to clean state
A container is something that holds data. E.G., a netcdf file or a database entry.
void loadInto(const std::string &location, ResponseType type, BESDapResponse *pResponse)
Load a DDX or DataDDS response into the given pResponse object, which must be non-null.
static bool checkResponseIsValidType(ResponseType type, BESDapResponse *pResponse)
BESDataHandlerInterface & getDHI() const
Structure storing information used by the BES to handle the request.
static std::string getActionForType(ResponseType type)
Abstract base class representing a specific set of information in response to a request to the BES.