#include <BESSilentInfo.h>
Inheritance diagram for BESSilentInfo:
Public Member Functions | |
BESSilentInfo () | |
constructs a BESSilentInfo object for the specified type. | |
virtual | ~BESSilentInfo () |
virtual void | begin_response (const string &response_name) |
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 | begin_tag (const string &tag_name, map< string, string > *attrs=0) |
begin a tagged part of the information, information to follow | |
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_space (unsigned long num_spaces) |
add a space to the informational response | |
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 | add_exception (BESException &e) |
ignore exception data to this informational object. If buffering is not set then the information is output directly to the output stream. | |
virtual void | transmit (BESTransmitter *transmitter, BESDataHandlerInterface &dhi) |
transmit the informational object | |
virtual void | print (FILE *out) |
ignore printing the information | |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
virtual void | end_response () |
virtual bool | set_buffered (bool buffered) |
return whether the information is to be buffered or not. | |
virtual bool | is_buffered () |
return whether the information is to be buffered or not. | |
Protected Attributes | |
ostream * | _strm |
bool | _buffered |
bool | _response_started |
stack< string > | _tags |
string | _response_name |
This class ignores any data added to an informational object and ignores the print command. Basically, it is silent!
|
constructs a BESSilentInfo object for the specified type.
|
|
|
|
add a line break to the information because this is a silent response, nothing is added
Implements BESInfo. |
|
add data to the inforamtional object because this is a silent response, nothing is added
Reimplemented from BESInfo. |
|
ignore data from a file to the informational object.
Reimplemented from BESInfo. |
|
ignore exception data to this informational object. If buffering is not set then the information is output directly to the output stream.
Reimplemented from BESInfo. |
|
add a space to the informational response because this is a silent response, nothing is added
Implements BESInfo. |
|
add tagged information to the inforamtional response
Implements BESInfo. |
|
begin the informational response Because this is silent, there is nothing to do
Reimplemented from BESInfo. |
|
begin a tagged part of the information, information to follow
Reimplemented from BESInfo. |
|
dumps information about this object Displays the pointer value of this instance
Reimplemented from BESInfo. |
|
Reimplemented in BESHTMLInfo, BESVersionInfo, and BESXMLInfo. |
|
end a tagged part of the informational response If the named tag is not the current tag then an error is thrown.
Reimplemented from BESInfo. |
|
return whether the information is to be buffered or not.
|
|
ignore printing the information
Reimplemented from BESInfo. |
|
return whether the information is to be buffered or not.
|
|
transmit the informational object The derived informational object knows how it needs to be transmitted. Does it need to be sent as html? As text? As something else?
Implements BESInfo. |
|
|
|
|
|
|
|
|
|
|