The Gaudi Framework  v36r6 (b1ee9983)
Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > > Struct Template Reference

the template specialization for ranges More...

#include </builds/gaudi/Gaudi/GaudiAlg/include/GaudiAlg/GetData.h>

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

Public Member Functions

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

Protected Member Functions

DataObject * getData (IDataProviderSvc *service, 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 336 of file GetData.h.

Member Function Documentation

◆ getData()

template<class TYPE >
DataObject* Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >::getData ( IDataProviderSvc *  service,
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 358 of file GetData.h.

358  {
361  std::move( location ) );
362  return getter.accessData();
363  }

◆ operator()()

template<class TYPE >
bool Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >::operator() ( IDataProviderSvc *  service,
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 345 of file GetData.h.

345  {
346  DataObject* object = this->getData( service, std::move( location ) );
347  return object && ( dynamic_cast<typename TYPE::Selection*>( object ) ||
348  dynamic_cast<typename TYPE::Container*>( object ) );
349  }

The documentation for this struct was generated from the following file:
SmartDataObjectPtr::ObjectLoader::access
static AccessFunction access()
Definition: SmartDataObjectPtr.cpp:27
GaudiPython.HistoUtils.location
location
Definition: HistoUtils.py:965
Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > >::getData
DataObject * getData(IDataProviderSvc *service, std::string location) const
get the data form transient store
Definition: GetData.h:358
std::move
T move(T... args)
SmartDataObjectPtr
Definition: SmartDataObjectPtr.h:42
DataObject
Definition: DataObject.h:40