64 d_explicit_containers =
true;
65 else if (context ==
"no")
66 d_explicit_containers =
false;
68 throw BESError(
"dap_explicit_containers must be yes or no",
75 if (context ==
"dap2")
76 d_explicit_containers =
false;
78 d_explicit_containers =
true;
84 d_dap_client_protocol = context;
88 d_request_xml_base = context;
101 return !d_explicit_containers;
105 "dap_format", found);
106 if (found && (context ==
"dap2" || context ==
"2.0")) {
188 << (
void *)
this <<
")" << endl ;
190 strm <<
BESIndent::LMarg <<
"d_explicit_containers: " << d_explicit_containers << endl;
191 strm <<
BESIndent::LMarg <<
"d_dap_client_protocol: " << d_dap_client_protocol << endl;
#define BES_SYNTAX_USER_ERROR
string get_constraint() const
retrieve the constraint expression for this container
virtual void dump(ostream &strm) const
dumps information about this object
string get_dap4_function() const
retrieve the constraint expression for this container
virtual void set_dap4_constraint(BESDataHandlerInterface &dhi)
set the constraint depending on the context
virtual string get_context(const string &name, bool &found)
retrieve the value of the specified context from the BES
virtual void set_dap4_function(BESDataHandlerInterface &dhi)
set the constraint depending on the context
Abstract exception class for the BES with basic string message.
void read_contexts()
Extract the dap protocol from the setConext information.
virtual void set_constraint(BESDataHandlerInterface &dhi)
set the constraint depending on the context
static ostream & LMarg(ostream &strm)
string get_dap4_constraint() const
retrieve the constraint expression for this container
static BESContextManager * TheManager()
bool is_dap2()
See get_explicit_containers()
Structure storing information used by the BES to handle the request.
map< string, string > data
the map of string data that will be required for the current request.
void post_append(BESDataHandlerInterface &dhi)
BESContainer * container
pointer to current container in this interface