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();
static std::auto_ptr< BESDapResponse > makeResponseForType(ResponseType type)
provides persistent storage for data storage information represented by a container.
BESDataHandlerInterface & getDHI() const
static std::string getActionNameForType(ResponseType type)
static bool checkResponseIsValidType(ResponseType type, BESDapResponse *pResponse)
Helper class for temporarily hijacking an existing dhi to load a DDX response for one particular file...
static std::string getActionForType(ResponseType type)
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.
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.
Structure storing information used by the BES to handle the request.
A container is something that holds data. E.G., a netcdf file or a database entry.
DDSLoader(BESDataHandlerInterface &dhi)
Create a loader that will hijack dhi on a load call, then restore it's state.
Abstract base class representing a specific set of information in response to a request to the BES.
void cleanup()
restore dhi to clean state