33 #ifndef BESHTMLInfo_h_ 34 #define BESHTMLInfo_h_ 1 53 BESHTMLInfo(
const string &key, ostream *strm,
bool strm_owned);
59 virtual void add_tag(
const string &tag_name,
const string &tag_data, map<string, string> *attrs = 0);
60 virtual void begin_tag(
const string &tag_name, map<string, string> *attrs = 0);
61 virtual void end_tag(
const string &tag_name);
63 virtual void add_data(
const string &s);
64 virtual void add_space(
unsigned long num_spaces);
65 virtual void add_break(
unsigned long num_breaks);
70 virtual void dump(ostream &strm)
const;
72 static BESInfo *BuildHTMLInfo(
const string &info_type);
75 #endif // BESHTMLInfo_h_ virtual void dump(ostream &strm) const
dumps information about this object
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 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