OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Go to the source code of this file.
Classes | |
class | BESDebug |
Macros | |
#define | BESDEBUG(x, y) do { if( BESDebug::IsSet( x ) ) *(BESDebug::GetStrm()) << "[" << BESDebug::GetPidStr() << "] " << y ; } while( 0 ) |
macro used to send debug information to the debug stream More... | |
#define | BESISDEBUG(x) BESDebug::IsSet( x ) |
macro used to determine if the specified debug context is set More... | |
#define BESDEBUG | ( | x, | |
y | |||
) | do { if( BESDebug::IsSet( x ) ) *(BESDebug::GetStrm()) << "[" << BESDebug::GetPidStr() << "] " << y ; } while( 0 ) |
macro used to send debug information to the debug stream
The BESDEBUG macro is used by developers to display debug information if the specified debug context is set to true.
example:
BESDEBUG( "bes", "function entered with values " << val1 << " and " << val2 << endl ) ;
x | the debug context to check |
y | information to send to the output stream |
Definition at line 64 of file BESDebug.h.
Referenced by BESContainerStorageVolatile::add_container(), BESContainerStorageCatalog::add_container(), BESMemoryGlobalArea::BESMemoryGlobalArea(), BESXMLInterface::build_data_request_plan(), BESBasicInterface::build_data_request_plan(), BESMemoryManager::check_memory_pool(), BESCache3::create_and_lock(), DaemonCommandHandler::DaemonCommandHandler(), BESInterface::end_request(), BESDDSResponseHandler::execute(), BESDataResponseHandler::execute(), BESDataDDXResponseHandler::execute(), BESDDXResponseHandler::execute(), BESSetContainerResponseHandler::execute(), BESInterface::execute_data_request_plan(), PPTStreamBuf::finish(), BESCache3::get_read_lock(), TcpSocket::getRecvBufferSize(), TcpSocket::getSendBufferSize(), DaemonCommandHandler::handle(), DapModule::initialize(), BESXMLDefaultCommands::initialize(), BESDefaultModule::initialize(), BESDapModule::initialize(), BESXMLDapCommandModule::initialize(), StandAloneApp::initialize(), ServerApp::initialize(), CmdApp::initialize(), BESBasicInterface::initialize(), BESApacheInterface::initialize(), BESInterface::initialize(), BESInterface::invoke_aggregation(), TcpSocket::listen(), BESCache3::lock_cache_read(), BESCache3::lock_cache_write(), main(), BESXMLGetCommand::parse_basic_get(), BESXMLShowCommand::parse_request(), BESXMLDefineCommand::prep_request(), BESCache::purge(), PPTConnection::receive(), BESMemoryManager::release_global_pool(), BESInterface::report_request(), StandAloneApp::run(), ServerApp::run(), CmdApp::run(), PPTConnection::send(), BESCatalogDirectory::show_catalog(), BESStopWatch::start(), start_master_beslistener(), BESStopWatch::stop(), stop_all_beslisteners(), DapModule::terminate(), BESXMLDefaultCommands::terminate(), BESDefaultModule::terminate(), BESDapModule::terminate(), BESXMLDapCommandModule::terminate(), StandAloneApp::terminate(), ServerApp::terminate(), BESXMLInterface::transmit_data(), BESInterface::transmit_data(), BESUncompress3Z::uncompress(), BESUncompressZ::uncompress(), BESUncompressManager3::uncompress(), BESUncompressManager::uncompress(), BESCache3::unlock_and_close(), BESCache3::unlock_cache(), BESCache3::update_and_purge(), update_beslistener_args(), BESCache3::update_cache_info(), and BESPlugin< C >::~BESPlugin().
#define BESISDEBUG | ( | x) | BESDebug::IsSet( x ) |
macro used to determine if the specified debug context is set
If there is a lot of debugging information, use this macro to determine if debug context is set.
example:
if( BESISDEBUG( "bes" ) ) { for( int i = 0; i < _list_size; i++ ) { BESDEBUG( "bes", " _list[" << i << "] = " << _list[i] << endl ) ; } }
x | bes debug to check |
Definition at line 83 of file BESDebug.h.
Referenced by BESCache::purge(), and BESCache3::update_and_purge().