| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 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 271 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 282 of file GetData.h.

    00284       {
    00286         SmartDataPtr<TYPE> obj ( service , location ) ;
    00287         return !(!obj) ;
    00288       }

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

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