#include <BESObj.h>
Inheritance diagram for BESObj:
Public Member Functions | |
virtual | ~BESObj () |
Default constructor. | |
virtual void | dump (ostream &strm) const =0 |
dump the contents of this object to the specified ostream |
A base object for any BES objects in bes to use. Provides simple methods for dumping the contents of the object.
Definition at line 52 of file BESObj.h.
virtual BESObj::~BESObj | ( | ) | [inline, virtual] |
virtual void BESObj::dump | ( | ostream & | strm | ) | const [pure virtual] |
dump the contents of this object to the specified ostream
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...
The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from BESObj. A user could do the following:
Animal *a = new dog( "Sparky" ) ; cout << a << endl ;
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...
strm | C++ i/o stream to dump the object to |
Implemented in BESAbstractModule, BESAggFactory, BESAggregationServer, BESApp, BESBaseApp, BESBasicHttpTransmitter, BESBasicTransmitter, BESCache, BESCatalog, BESCatalogDirectory, BESCatalogList, BESCatalogResponseHandler, BESCatalogUtils, BESCgiInterface, BESContainer, BESContainerStorage, BESContainerStorageCatalog, BESContainerStorageException, BESContainerStorageFile, BESContainerStorageList, BESContainerStorageVolatile, BESContextManager, BESDapModule, BESDapRequestHandler, BESDASResponse, BESDASResponseHandler, BESDataDDSResponse, BESDataResponseHandler, BESDDSResponse, BESDDSResponseHandler, BESDDXResponseHandler, BESDefine, BESDefineResponseHandler, BESDefinitionStorage, BESDefinitionStorageList, BESDefinitionStorageVolatile, BESDelContainerResponseHandler, BESDelContainersResponseHandler, BESDelDefResponseHandler, BESDelDefsResponseHandler, BESException, BESExceptionManager, BESFileContainer, BESFilterTransmitter, BESGlobalInit, BESHelpResponseHandler, BESHTMLInfo, BESInfo, BESInfoList, BESInitializer, BESInterface, BESKeys, BESKeysResponseHandler, BESLog, BESMemoryGlobalArea, BESModuleApp, BESPlugin< M >, BESPluginFactory< C >, BESProcessEncodedString, BESProcIdResponseHandler, BESReporter, BESReporterList, BESRequestHandler, BESRequestHandlerList, BESResponseHandler, BESResponseHandlerList, BESResponseObject, BESReturnManager, BESSetContainerResponseHandler, BESSetContextResponseHandler, BESShowContainersResponseHandler, BESShowContextResponseHandler, BESShowDefsResponseHandler, BESSilentInfo, BESStatusResponseHandler, BESStreamResponseHandler, BESTextInfo, BESTransmitter, BESUncompressManager, BESVersionInfo, BESVersionResponseHandler, BESXMLInfo, TestAggServer, TestReporter, BESServerHandler, ServerApp, TestCommand, TestEhmResponseHandler, TestModule, TestRequestHandler, TestSigResponseHandler, Connection, PPTClient, PPTConnection, PPTServer, ServerHandler, Socket, SocketListener, SSLClient, SSLConnection, SSLServer, TcpSocket, UnixSocket, CmdApp, CmdClient, BESCatalogCommand, BESCmdInterface, BESCommand, BESDefineCommand, BESDelContainerCommand, BESDelContainersCommand, BESDelDefCommand, BESDelDefsCommand, BESDeleteCommand, BESGetCommand, BESSetCommand, BESSetContainerCommand, BESSetContextCommand, BESShowCommand, BESTermCommand, BESTokenizer, DAPCommandModule, OPENDAP_CLASSOPENDAP_COMMANDCommand, OPENDAP_CLASSModule, OPENDAP_CLASSRequestHandler, OPENDAP_RESPONSEResponseHandler, and BESPluginFactory< BESAbstractModule >.
Referenced by operator<<().