bes
Updated for version 3.20.5
|
33 #ifndef BESVersionInfo_h_
34 #define BESVersionInfo_h_ 1
52 void add_version(
const string &type,
const string &name,
const string &vers);
57 virtual void add_library(
const string &n,
const string &v);
58 virtual void add_module(
const string &n,
const string &v);
59 virtual void add_service(
const string &n,
const list<string> &vers);
65 virtual void end_response()
67 _info->end_response();
70 virtual void add_tag(
const string &tag_name,
const string &tag_data, map<string, string> *attrs = 0)
72 _info->add_tag(tag_name, tag_data, attrs);
74 virtual void begin_tag(
const string &tag_name, map<string, string> *attrs = 0)
76 _info->begin_tag(tag_name, attrs);
78 virtual void end_tag(
const string &tag_name)
80 _info->end_tag(tag_name);
87 virtual void add_space(
unsigned long num_spaces)
89 _info->add_space(num_spaces);
91 virtual void add_break(
unsigned long num_breaks)
93 _info->add_break(num_breaks);
112 virtual void dump(ostream &strm)
const;
115 #endif // BESVersionInfo_h_
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the informational object
virtual void add_exception(BESError &e, const string &admin)
add exception information to this informational object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the informational object
virtual void add_data(const string &s)
add data to this informational object. If buffering is not set then the information is output directl...
informational response object
virtual void add_data_from_file(const string &key, const string &name)
add data from a file to the informational object.
BESVersionInfo()
constructs a basic text information response object to write version information
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void dump(ostream &strm) const
dumps information about this object
virtual void print(ostream &strm)
print the information from this informational object to the specified stream
virtual void print(ostream &strm)
print the information from this informational object to the specified stream
virtual void add_data(const string &s)
add data to this informational object. If buffering is not set then the information is output directl...
virtual void add_exception(BESError &e, const string &admin)
add exception information to this informational object
Structure storing information used by the BES to handle the request.
Abstract exception class for the BES with basic string message.
virtual void add_data_from_file(const string &key, const string &name)
add data from a file to the informational object.