Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > > Struct Template Reference

the template specialization for named ranges More...

#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiAlg/GetData.h>

Public Types

typedef Gaudi::NamedRange_< std::vector< const TYPE * > > Type
 the actual return type More...
 
typedef _GetType< Type >::return_type return_type
 
typedef Gaudi::NamedRange_< std::vector< const TYPE * > > Type
 the actual return type More...
 
typedef _GetType< Type >::return_type return_type
 

Public Member Functions

template<class COMMON >
return_type operator() (const COMMON &common, IDataProviderSvc *service, const std::string &location, const bool checkData=true) const
 the only one essential method More...
 
return_type make_range (const typename TYPE::Container *cnt) const
 
return_type make_range (const typename TYPE::Selection *cnt) const
 
DataObjectgetData (IDataProviderSvc *service, const std::string &location) const
 get the data form transient store More...
 
template<class COMMON >
return_type operator() (const COMMON &common, IDataProviderSvc *service, const std::string &location, const bool checkData=true) const
 the only one essential method More...
 
return_type make_range (const typename TYPE::Container *cnt) const
 
return_type make_range (const typename TYPE::Selection *cnt) const
 
DataObjectgetData (IDataProviderSvc *service, const std::string &location) const
 get the data form transient store More...
 

Private Attributes

GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
 ===================================================================== the actual processor More...
 

Detailed Description

template<class TYPE>
struct Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >

the template specialization for named ranges

Definition at line 231 of file GetData.h.

Member Typedef Documentation

template<class TYPE >
typedef _GetType<Type>::return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::return_type

Definition at line 237 of file GetData.h.

template<class TYPE >
typedef _GetType<Type>::return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::return_type

Definition at line 237 of file GetData.h.

template<class TYPE >
typedef Gaudi::NamedRange_<std::vector<const TYPE*> > Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::Type

the actual return type

Definition at line 236 of file GetData.h.

template<class TYPE >
typedef Gaudi::NamedRange_<std::vector<const TYPE*> > Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::Type

the actual return type

Definition at line 236 of file GetData.h.

Member Function Documentation

template<class TYPE >
DataObject* Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::getData ( IDataProviderSvc service,
const std::string &  location 
) const
inline

get the data form transient store

Parameters
servicepointer to data provider service
locationthe location
Returns
the object for TES

Definition at line 284 of file GetData.h.

286  { return m_range.getData ( service , location ) ; }
DataObject * getData(IDataProviderSvc *service, const std::string &location) const
get the data form transient store
Definition: GetData.h:205
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291
template<class TYPE >
DataObject* Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::getData ( IDataProviderSvc service,
const std::string &  location 
) const
inline

get the data form transient store

Parameters
servicepointer to data provider service
locationthe location
Returns
the object for TES

Definition at line 284 of file GetData.h.

286  { return m_range.getData ( service , location ) ; }
DataObject * getData(IDataProviderSvc *service, const std::string &location) const
get the data form transient store
Definition: GetData.h:205
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291
template<class TYPE >
return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::make_range ( const typename TYPE::Container *  cnt) const
inline

Definition at line 261 of file GetData.h.

262  {
263  if ( 0 == cnt ) { return return_type() ; }
264  static const std::string s_empty = "" ;
265  const IRegistry* reg = cnt->registry() ;
266  return return_type
267  ( m_range.make_range ( cnt ) , 0 != reg ? reg->identifier() : s_empty ) ;
268  }
return_type make_range(const typename TYPE::Container *cnt) const
Definition: GetData.h:194
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
virtual const id_type & identifier() const =0
Full identifier (or key)
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291
template<class TYPE >
return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::make_range ( const typename TYPE::Container *  cnt) const
inline

Definition at line 261 of file GetData.h.

262  {
263  if ( 0 == cnt ) { return return_type() ; }
264  static const std::string s_empty = "" ;
265  const IRegistry* reg = cnt->registry() ;
266  return return_type
267  ( m_range.make_range ( cnt ) , 0 != reg ? reg->identifier() : s_empty ) ;
268  }
return_type make_range(const typename TYPE::Container *cnt) const
Definition: GetData.h:194
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
virtual const id_type & identifier() const =0
Full identifier (or key)
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291
template<class TYPE >
return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::make_range ( const typename TYPE::Selection *  cnt) const
inline

Definition at line 270 of file GetData.h.

271  {
272  if ( 0 == cnt ) { return return_type() ; }
273  static const std::string s_empty = "" ;
274  const IRegistry* reg = cnt->registry() ;
275  return return_type
276  ( m_range.make_range ( cnt ) , 0 != reg ? reg->identifier() : s_empty ) ;
277  }
return_type make_range(const typename TYPE::Container *cnt) const
Definition: GetData.h:194
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
virtual const id_type & identifier() const =0
Full identifier (or key)
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291
template<class TYPE >
return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::make_range ( const typename TYPE::Selection *  cnt) const
inline

Definition at line 270 of file GetData.h.

271  {
272  if ( 0 == cnt ) { return return_type() ; }
273  static const std::string s_empty = "" ;
274  const IRegistry* reg = cnt->registry() ;
275  return return_type
276  ( m_range.make_range ( cnt ) , 0 != reg ? reg->identifier() : s_empty ) ;
277  }
return_type make_range(const typename TYPE::Container *cnt) const
Definition: GetData.h:194
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
virtual const id_type & identifier() const =0
Full identifier (or key)
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291
template<class TYPE >
template<class COMMON >
return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::operator() ( const COMMON &  common,
IDataProviderSvc service,
const std::string &  location,
const bool  checkData = true 
) const
inline

the only one essential method

Parameters
commonthe actual "worker"
servicepointer to Data Provider Service
locationlocation of objects in TES
checkDatawhether to check if the pointer is valid before returning it
Returns
the data

Definition at line 250 of file GetData.h.

254  {
255  return return_type ( m_range( common , service , location, checkData ) , location ) ;
256  }
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291
template<class TYPE >
template<class COMMON >
return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::operator() ( const COMMON &  common,
IDataProviderSvc service,
const std::string &  location,
const bool  checkData = true 
) const
inline

the only one essential method

Parameters
commonthe actual "worker"
servicepointer to Data Provider Service
locationlocation of objects in TES
checkDatawhether to check if the pointer is valid before returning it
Returns
the data

Definition at line 250 of file GetData.h.

254  {
255  return return_type ( m_range( common , service , location, checkData ) , location ) ;
256  }
GetData< Gaudi::Range_< std::vector< const TYPE * > > > m_range
===================================================================== the actual processor ...
Definition: GetData.h:291

Member Data Documentation

template<class TYPE >
GetData< Gaudi::Range_< std::vector< const TYPE * > > > Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::m_range
private

===================================================================== the actual processor

Definition at line 291 of file GetData.h.


The documentation for this struct was generated from the following file: