| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

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

the template specialization for ranges More...

`#include <GetData.h>`

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

[legend]

List of all members.

## 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 294 of file GetData.h.

## Member Function Documentation

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 305 of file GetData.h.

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

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 322 of file GetData.h.

    00324       {
    00326         SmartDataObjectPtr getter
    00327           ( SmartDataObjectPtr::ObjectLoader::access() ,
    00328             service , 0 , location ) ;
    00329         return getter.accessData () ;
    00330       }

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

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