| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# 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.

    00304       {
    00306         SmartDataPtr<TYPE> obj ( service , location ) ;
    00307         return !(!obj) ;
    00308       }

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

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