33 #ifndef BESDataHandlerInterface_h_ 34 #define BESDataHandlerInterface_h_ 1 63 ostream *output_stream ;
98 string err =
"output stream has already been set" ;
101 output_stream = strm ;
106 throw BESInternalError(
"output stream has not yet been set, cannot use", __FILE__, __LINE__ ) ;
107 return *output_stream ;
124 containers_iterator = containers.begin();
125 if( containers_iterator != containers.end() )
126 container = (*containers_iterator) ;
135 containers_iterator++ ;
136 if( containers_iterator != containers.end() )
137 container = (*containers_iterator) ;
163 void dump( ostream &strm )
const ;
167 #endif // BESDataHandlerInterface_h_
void clean()
clean up any information created within this data handler interface
exception thrown if inernal error encountered
void set_output_stream(ostream *strm)
BESDataHandlerInterface()
map< string, string >::const_iterator data_citer
void next_container()
set the container pointer to the next * container in the list, null if at the end or no containers in...
list< BESContainer * > containers
ostream & get_output_stream()
void make_copy(const BESDataHandlerInterface ©_from)
make a copy of only some data from specified object
Base object for bes objects.
handler object that knows how to create a specific response object
informational response object
BESResponseHandler * response_handler
BESResponseObject * get_response_object()
returns the response object using the response handler
string transmit_protocol
request protocol, such as HTTP
list< BESContainer * >::iterator containers_iterator
void dump(ostream &strm) const
dumps information about this object
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 first_container()
set the container pointer to the first container in the containers list
BESInfo * error_info
error information object
A container is something that holds data.
const map< string, string > & data_c() const
Abstract base class representing a specific set of information in response to a request to the BES...
string action
the response object requested, e.g.
BESContainer * container
pointer to current container in this interface