Gaudi Framework, version v22r0

Home   Generated: 9 Feb 2011

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 >:
Inheritance graph
[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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Wed Feb 9 16:33:17 2011 for Gaudi Framework, version v22r0 by Doxygen version 1.6.2 written by Dimitri van Heesch, © 1997-2004