Gaudi Framework, version v23r2

Home   Generated: Thu Jun 28 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

DataObjectgetData (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:
servicepointer to data provider service
locationthe 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:
commonthe actual "worker"
servicepointer to Data Provider Service
locationlocation 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Thu Jun 28 2012 23:27:51 for Gaudi Framework, version v23r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004