Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > > Struct Template Reference

the template specialization for ranges More...

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

Inheritance diagram for Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >:

Public Member Functions

bool operator() (IDataProviderSvc *service, const std::string &location) const
 the only one essential method More...
 
bool operator() (IDataProviderSvc *service, const std::string &location) const
 the only one essential method More...
 

Protected Member Functions

DataObjectgetData (IDataProviderSvc *service, const std::string &location) const
 get the data form transient store More...
 
DataObjectgetData (IDataProviderSvc *service, const std::string &location) const
 get the data form transient store More...
 

Detailed Description

template<class TYPE>
struct Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >

the template specialization for ranges

Definition at line 338 of file GetData.h.

Member Function Documentation

template<class TYPE >
DataObject* Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >::getData ( IDataProviderSvc service,
const std::string &  location 
) const
inlineprotected

get the data form transient store

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

Try to be efficient

Definition at line 366 of file GetData.h.

368  {
370  SmartDataObjectPtr getter
372  service , 0 , location ) ;
373  return getter.accessData () ;
374  }
A small class used to access easily (and efficiently) data items residing in data stores...
template<class TYPE >
DataObject* Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >::getData ( IDataProviderSvc service,
const std::string &  location 
) const
inlineprotected

get the data form transient store

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

Try to be efficient

Definition at line 366 of file GetData.h.

368  {
370  SmartDataObjectPtr getter
372  service , 0 , location ) ;
373  return getter.accessData () ;
374  }
A small class used to access easily (and efficiently) data items residing in data stores...
template<class TYPE >
bool Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >::operator() ( IDataProviderSvc service,
const std::string &  location 
) const
inline

the only one essential method

Parameters
commonthe actual "worker"
servicepointer to Data Provider Service
locationlocation of objects in TES
Returns
true for valid data

Definition at line 349 of file GetData.h.

351  {
352  DataObject* object = this->getData( service , location ) ;
353  if ( 0 == object ) { return false ; }
354  return
355  0 != dynamic_cast<typename TYPE::Selection*> ( object ) ||
356  0 != dynamic_cast<typename TYPE::Container*> ( object ) ;
357  }
return false
Definition: Bootstrap.cpp:338
DataObject * getData(IDataProviderSvc *service, const std::string &location) const
get the data form transient store
Definition: GetData.h:366
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:31
template<class TYPE >
bool Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >::operator() ( IDataProviderSvc service,
const std::string &  location 
) const
inline

the only one essential method

Parameters
commonthe actual "worker"
servicepointer to Data Provider Service
locationlocation of objects in TES
Returns
true for valid data

Definition at line 349 of file GetData.h.

351  {
352  DataObject* object = this->getData( service , location ) ;
353  if ( 0 == object ) { return false ; }
354  return
355  0 != dynamic_cast<typename TYPE::Selection*> ( object ) ||
356  0 != dynamic_cast<typename TYPE::Container*> ( object ) ;
357  }
return false
Definition: Bootstrap.cpp:338
DataObject * getData(IDataProviderSvc *service, const std::string &location) const
get the data form transient store
Definition: GetData.h:366
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:31

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