33 #ifndef BESHTMLInfo_h_ 34 #define BESHTMLInfo_h_ 1 54 BESHTMLInfo(
const string &key, ostream *strm,
bool strm_owned ) ;
61 virtual void add_tag(
const string &tag_name,
62 const string &tag_data,
63 map<string,string> *attrs = 0 ) ;
64 virtual void begin_tag(
const string &tag_name,
65 map<string,string> *attrs = 0 ) ;
66 virtual void end_tag(
const string &tag_name ) ;
68 virtual void add_data(
const string &s ) ;
69 virtual void add_space(
unsigned long num_spaces ) ;
70 virtual void add_break(
unsigned long num_breaks ) ;
73 const string &name ) ;
77 virtual void dump( ostream &strm )
const ;
79 static BESInfo *BuildHTMLInfo(
const string &info_type ) ;
82 #endif // BESHTMLInfo_h_ BESHTMLInfo()
constructs an html formatted information response object.
virtual void end_response()
end the response
virtual void add_space(unsigned long num_spaces)
add a space to the informational response
informational response 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 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_data(const string &s)
add data to this informational object.
virtual void add_break(unsigned long num_breaks)
add a line break to the information
virtual void end_tag(const string &tag_name)
end a tagged part of the informational response
Structure storing information used by the BES to handle the request.
virtual void dump(ostream &strm) const
dumps 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
represents an html formatted response object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the text information as text
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response