| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
Gaudi::Utils::CheckData< Gaudi::Range_< std::vector< const TYPE * > > > Struct Template Reference

the template specialization for ranges More...

`#include <GetData.h>`

## Public Member Functions
bool | operator() (IDataProviderSvc *service, const std::string &location) const
| the only one essential method

## Protected Member Functions
DataObject * | getData (IDataProviderSvc *service, const std::string &location) const
| get the data form transient store

## 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
| inline protected

get the data form transient store

Parameters

  service | pointer to data provider service
  location | the location

Returns
  the object for TES

Try to be efficient

Definition at line 366 of file GetData.h.

{
SmartDataObjectPtr getter
( SmartDataObjectPtr::ObjectLoader::access() ,
service , 0 , location ) ;
return getter.accessData () ;
}
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

  common | the actual "worker"
  service | pointer to Data Provider Service
  location | location of objects in TES

Returns
  true for valid data

Definition at line 349 of file GetData.h.

{
DataObject* object = this->getData( service , location ) ;
if ( 0 == object ) { return false ; }
return
0 != dynamic_cast<typename TYPE::Selection*> ( object ) ||
0 != dynamic_cast<typename TYPE::Container*> ( object ) ;
}

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiAlg/GaudiAlg/GetData.h