| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions

# Gaudi::Utils::CheckData< TYPE > Struct Template Reference

Helper structure for implementation of "exists"-functions for GaudiCommon<BASE> More...

`#include <GetData.h>`

Inheritance diagram for Gaudi::Utils::CheckData< TYPE >:
[legend]

List of all members.

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

## Detailed Description

### template<class TYPE>
struct Gaudi::Utils::CheckData< TYPE >

Helper structure for implementation of "exists"-functions for GaudiCommon<BASE>

Author:
  Vanya BELYAEV Ivan.Belyaev@nikhef.nl

Date:
  2008-07-22

Definition at line 291 of file GetData.h.

## Member Function Documentation

template<class TYPE>

bool Gaudi::Utils::CheckData< 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

use Data Provider Service

Definition at line 302 of file GetData.h.

          {
            SmartDataPtr<TYPE> obj ( service , location ) ;
            return !(!obj) ;
          }

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

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

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