81 BESInfo(
const string &buffered_key,
82 ostream *strm,
bool strm_owned ) ;
89 virtual void add_tag(
const string &tag_name,
90 const string &tag_data,
91 map<string,string> *attrs = 0 ) = 0 ;
92 virtual void begin_tag(
const string &tag_name,
93 map<string,string> *attrs = 0 ) ;
94 virtual void end_tag(
const string &tag_name ) ;
96 virtual void add_data(
const string &s ) ;
97 virtual void add_space(
unsigned long num_spaces ) = 0 ;
98 virtual void add_break(
unsigned long num_breaks ) = 0 ;
101 const string &name ) ;
117 virtual void print( ostream &strm ) ;
129 virtual void dump( ostream &strm )
const ;
virtual void end_response()
virtual void dump(ostream &strm) const
Displays debug information about this object.
virtual void add_data_from_file(const string &key, const string &name)
add data from a file to the informational object.
BESInfo()
constructs a BESInfo object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the informational object
virtual void add_tag(const string &tag_name, const string &tag_data, map< string, string > *attrs=0)=0
virtual bool is_buffered()
return whether the information is to be buffered or not.
virtual void add_space(unsigned long num_spaces)=0
informational response object
Abstract exception class for the BES with basic string message.
virtual void add_exception(BESError &e, const string &admin)
add exception information to this informational object
virtual void begin_tag(const string &tag_name, map< string, string > *attrs=0)
virtual void add_break(unsigned long num_breaks)=0
Structure storing information used by the BES to handle the request.
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void add_data(const string &s)
add data to this informational object.
virtual void print(ostream &strm)
print the information from this informational object to the specified stream
Abstract base class representing a specific set of information in response to a request to the BES...
virtual void end_tag(const string &tag_name)