|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Container representing a NCML request. More...
#include <NCMLContainer.h>


Public Member Functions | |
| virtual string | access () |
| access the NCML target response by making the NCML request More... | |
| virtual void | dump (ostream &strm) const |
| dumps information about this object More... | |
| string | get_attributes () const |
| retrieve the attributes desired from this container More... | |
| string | get_constraint () const |
| retrieve the constraint expression for this container More... | |
| string | get_container_type () const |
| retrieve the type of data this container holds, such as cedar or netcdf. More... | |
| string | get_dap4_constraint () const |
| retrieve the constraint expression for this container More... | |
| string | get_dap4_function () const |
| retrieve the constraint expression for this container More... | |
| string | get_real_name () const |
| retrieve the real name for this container, such as a file name. More... | |
| string | get_symbolic_name () const |
| retrieve the symbolic name for this container More... | |
| NCMLContainer (const string &sym_name, const string &real_name) | |
| Creates an instances of NCMLContainer with the symbolic name and the xml document string. More... | |
| NCMLContainer (const NCMLContainer ©_from) | |
| virtual BESContainer * | ptr_duplicate () |
| pure abstract method to duplicate this instances of BESContainer More... | |
| virtual bool | release () |
| release the NCML cached resources More... | |
| void | set_attributes (const string &attrs) |
| set desired attributes for this container More... | |
| void | set_constraint (const string &s) |
| set the constraint for this container More... | |
| void | set_container_type (const string &type) |
| set the type of data that this container represents, such as cedar or netcdf. More... | |
| void | set_dap4_constraint (const string &s) |
| set the constraint for this container More... | |
| void | set_dap4_function (const string &s) |
| set the constraint for this container More... | |
| void | set_real_name (const string &real_name) |
| set the real name for this container, such as a file name if reading a data file. More... | |
| virtual | ~NCMLContainer () |
Protected Member Functions | |
| void | _duplicate (NCMLContainer ©_to) |
| void | _duplicate (BESContainer ©_to) |
| duplicate this instance into the passed container More... | |
Container representing a NCML request.
The real name of a NCMLContainer is the actual NCML request. When the access method is called the NCML request is made, the response cached if successfull, and the target response returned as the real container that a data handler would then open.
Definition at line 51 of file NCMLContainer.h.
| NCMLContainer::NCMLContainer | ( | const string & | sym_name, |
| const string & | xml_doc | ||
| ) |
Creates an instances of NCMLContainer with the symbolic name and the xml document string.
The xml document is contained within the DHI, so must be passed in here.
The type of the container is ncml. This way we know to use the ncml handler for this container.
| sym_name | symbolic name representing this NCML container |
| ncml_doc | string of the xml document |
Definition at line 68 of file NCMLContainer.cc.
| NCMLContainer::NCMLContainer | ( | const NCMLContainer & | copy_from | ) |
Definition at line 73 of file NCMLContainer.cc.
|
virtual |
Definition at line 103 of file NCMLContainer.cc.
References release().

|
protected |
Definition at line 84 of file NCMLContainer.cc.
References BESContainer::_duplicate().
Referenced by ptr_duplicate().

|
protectedinherited |
duplicate this instance into the passed container
| copy_to | The container to copy this instance into |
Definition at line 50 of file BESContainer.cc.
Referenced by _duplicate(), GatewayContainer::_duplicate(), BESFileContainer::_duplicate(), and BESFileContainer::ptr_duplicate().
|
virtual |
access the NCML target response by making the NCML request
| BESError | if there is a problem making the NCML request |
Implements BESContainer.
Definition at line 115 of file NCMLContainer.cc.
References BESDEBUG, and NCMLContainerStorage::NCML_TempDir.
|
virtual |
dumps information about this object
Displays the pointer value of this instance along with information about this container.
| strm | C++ i/o stream to dump the information to |
Reimplemented from BESContainer.
Definition at line 191 of file NCMLContainer.cc.
References BESContainer::dump(), BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().

|
inlineinherited |
retrieve the attributes desired from this container
Definition at line 217 of file BESContainer.h.
|
inlineinherited |
retrieve the constraint expression for this container
Definition at line 170 of file BESContainer.h.
Referenced by BESDDSResponseHandler::execute(), BESDataResponseHandler::execute(), BESDataDDXResponseHandler::execute(), BESDDXResponseHandler::execute(), ncml_module::NCMLRequestHandler::ncml_build_data(), ncml_module::NCMLRequestHandler::ncml_build_dds(), BESConstraintFuncs::post_append(), and BESDapResponse::set_constraint().
|
inlineinherited |
retrieve the type of data this container holds, such as cedar or netcdf.
Definition at line 208 of file BESContainer.h.
Referenced by GatewayContainer::access(), BESContainerStorageVolatile::add_container(), BESRequestHandlerList::execute_current(), FONcTransform::FONcTransform(), BESContainerStorageVolatile::isData(), BESContainerStorageFile::isData(), and BESContainerStorageVolatile::show_containers().
|
inlineinherited |
retrieve the constraint expression for this container
Definition at line 179 of file BESContainer.h.
Referenced by BESDapResponse::set_dap4_constraint().
|
inlineinherited |
retrieve the constraint expression for this container
Definition at line 188 of file BESContainer.h.
Referenced by BESDapResponse::set_dap4_function().
|
inlineinherited |
retrieve the real name for this container, such as a file name.
Definition at line 161 of file BESContainer.h.
Referenced by GatewayContainer::access(), BESFileContainer::access(), BESRequestHandlerList::execute_current(), and BESContainerStorageVolatile::show_containers().
|
inlineinherited |
retrieve the symbolic name for this container
Definition at line 197 of file BESContainer.h.
Referenced by BESContainerStorageVolatile::add_container(), DapRequestHandler::dap_build_das(), DapRequestHandler::dap_build_data(), DapRequestHandler::dap_build_dds(), FFRequestHandler::ff_build_das(), FFRequestHandler::ff_build_data(), FFRequestHandler::ff_build_dds(), FitsRequestHandler::fits_build_das(), FitsRequestHandler::fits_build_data(), FitsRequestHandler::fits_build_dds(), GDALRequestHandler::gdal_build_das(), GDALRequestHandler::gdal_build_data(), GDALRequestHandler::gdal_build_dds(), HDF4RequestHandler::hdf4_build_das(), HDF4RequestHandler::hdf4_build_data(), HDF4RequestHandler::hdf4_build_data_with_IDs(), HDF4RequestHandler::hdf4_build_dds(), HDF5RequestHandler::hdf5_build_das(), HDF5RequestHandler::hdf5_build_data(), HDF5RequestHandler::hdf5_build_data_with_IDs(), HDF5RequestHandler::hdf5_build_dds(), NCRequestHandler::nc_build_das(), NCRequestHandler::nc_build_data(), NCRequestHandler::nc_build_dds(), BESConstraintFuncs::post_append(), and BESContainerStorageVolatile::show_containers().
|
virtual |
pure abstract method to duplicate this instances of BESContainer
Implements BESContainer.
Definition at line 96 of file NCMLContainer.cc.
References _duplicate().

|
virtual |
release the NCML cached resources
Release the resource
Implements BESContainer.
Definition at line 174 of file NCMLContainer.cc.
Referenced by ~NCMLContainer().
|
inlineinherited |
set desired attributes for this container
| attrs | attributes desired to access for this container |
Definition at line 151 of file BESContainer.h.
Referenced by BESXMLDefineCommand::prep_request().
|
inlineinherited |
set the constraint for this container
| s | constraint |
Definition at line 104 of file BESContainer.h.
Referenced by BESDDSResponseHandler::execute(), BESDataResponseHandler::execute(), BESDataDDXResponseHandler::execute(), BESDDXResponseHandler::execute(), and BESXMLDefineCommand::prep_request().
|
inlineinherited |
set the type of data that this container represents, such as cedar or netcdf.
| type | type of data, such as cedar or netcdf |
Definition at line 142 of file BESContainer.h.
Referenced by GatewayContainer::access(), and GatewayContainer::GatewayContainer().
|
inlineinherited |
set the constraint for this container
| s | constraint |
Definition at line 113 of file BESContainer.h.
Referenced by BESXMLDefineCommand::prep_request().
|
inlineinherited |
set the constraint for this container
| s | constraint |
Definition at line 122 of file BESContainer.h.
Referenced by BESXMLDefineCommand::prep_request().
|
inlineinherited |
set the real name for this container, such as a file name if reading a data file.
| real_name | real name, such as the file name |
Definition at line 132 of file BESContainer.h.