|
Gaudi Framework, version v21r9 |
| Home | Generated: 3 May 2010 |
#include <GetData.h>

Public Types | |
| typedef TYPE | Type |
| typedef _GetType< Type > ::return_type | return_type |
| the actual return type | |
Public Member Functions | |
| template<class COMMON> | |
| return_type | operator() (const COMMON &common, IDataProviderSvc *service, const std::string &location) const |
| the only one essential method | |
Definition at line 67 of file GetData.h.
| return_type Gaudi::Utils::GetData< TYPE >::operator() | ( | const COMMON & | common, | |
| IDataProviderSvc * | service, | |||
| const std::string & | location | |||
| ) | const [inline] |
the only one essential method
| common | the actual "worker" | |
| service | pointer to Data Provider Service | |
| location | location of objects in TES |
use Data Provider Service
check the data
debug printout
Definition at line 85 of file GetData.h.
00088 { 00090 SmartDataPtr<TYPE> obj ( service , location ) ; 00091 return_type aux = obj ; 00093 common.Assert ( !(!aux) , "get():: No valid data at '" + location + "'" ) ; 00095 if ( common.msgLevel ( MSG::DEBUG ) ) 00096 { common.debug() << "The object of type '" 00097 << System::typeinfoName(typeid(aux)) 00098 << "' has been retrieved from TS at address '" 00099 << location << "'" << endmsg ; } 00100 // return located *VALID* data 00101 return aux ; 00102 // ====================================================================== 00103 }