33 #ifndef BESSilentInfo_h_
34 #define BESSilentInfo_h_ 1
58 virtual void add_tag(
const string &tag_name,
59 const string &tag_data,
60 map<string,string> *attrs = 0 ) ;
61 virtual void begin_tag(
const string &tag_name,
62 map<string,string> *attrs = 0 ) ;
63 virtual void end_tag(
const string &tag_name ) ;
65 virtual void add_data(
const string &s ) ;
66 virtual void add_space(
unsigned long num_spaces ) ;
67 virtual void add_break(
unsigned long num_breaks ) ;
70 const string &name ) ;
74 virtual void print( ostream &strm ) ;
76 virtual void dump( ostream &strm )
const ;
79 #endif // BESSilentInfo_h_
silent informational response object
virtual void end_tag(const string &tag_name)
end a tagged part of the informational response
virtual void add_data(const string &s)
add data to the inforamtional object
virtual void add_exception(BESError &e, const string &admin)
ignore exception data to this informational object.
informational response object
Abstract exception class for the BES with basic string message.
virtual void add_break(unsigned long num_breaks)
add a line break to the information
virtual void add_data_from_file(const string &key, const string &name)
ignore data from a file to the informational object.
virtual void begin_tag(const string &tag_name, map< string, string > *attrs=0)
begin a tagged part of the information, information to follow
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit this informational object
Structure storing information used by the BES to handle the request.
virtual void dump(ostream &strm) const
dumps information about this object
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void add_tag(const string &tag_name, const string &tag_data, map< string, string > *attrs=0)
add tagged information to the inforamtional response
virtual void add_space(unsigned long num_spaces)
add a space to the informational response
BESSilentInfo()
constructs an informational object that doesn't write any output to the stream
virtual void print(ostream &strm)
printg this informational object