| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Public Member Functions | Protected Member Functions

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

the template specialization for ranges More...

`#include <GetData.h>`

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 314 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 342 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 325 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_v23r0/GaudiAlg/GaudiAlg/GetData.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines