Helper structure for implementation of "get"-functions for GaudiCommon<BASE>
More...
#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiAlg/GaudiCommon.h>
template<class TYPE>
struct Gaudi::Utils::GetData< TYPE >
Helper structure for implementation of "get"-functions for GaudiCommon<BASE>
- Author
- Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@n.nosp@m.ikhe.nosp@m.f.nl
- Date
- 2008-07-22
Definition at line 36 of file GaudiCommon.h.
the actual return type
Definition at line 87 of file GetData.h.
the actual return type
Definition at line 87 of file GetData.h.
template<class TYPE>
template<class COMMON >
the only one essential method
- Parameters
-
common | the actual "worker" |
service | pointer to Data Provider Service |
location | location of objects in TES |
checkData | whether to check if the pointer is valid before returning it |
- Returns
- the data
Definition at line 100 of file GetData.h.
106 return_type obj = getFromTS<Type>(service, location);
108 common.Assert(obj,
"get():: No valid data at '" + location +
"'");
112 common.debug() <<
"The object of type '"
115 << (obj ?
"has been" :
"could not be")
116 <<
" retrieved from TS at address '"
117 << location <<
"'" <<
endmsg ;
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
_GetType< Type >::return_type return_type
the actual return type
template<class TYPE>
template<class COMMON >
the only one essential method
- Parameters
-
common | the actual "worker" |
service | pointer to Data Provider Service |
location | location of objects in TES |
checkData | whether to check if the pointer is valid before returning it |
- Returns
- the data
Definition at line 100 of file GetData.h.
106 return_type obj = getFromTS<Type>(service, location);
108 common.Assert(obj,
"get():: No valid data at '" + location +
"'");
112 common.debug() <<
"The object of type '"
115 << (obj ?
"has been" :
"could not be")
116 <<
" retrieved from TS at address '"
117 << location <<
"'" <<
endmsg ;
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
_GetType< Type >::return_type return_type
the actual return type
The documentation for this struct was generated from the following files:
- InstallArea/x86_64-slc6-gcc48-opt/include/GaudiAlg/GaudiCommon.h
- InstallArea/x86_64-slc6-gcc48-opt/include/GaudiAlg/GetData.h