Gaudi Framework, version v21r11

Home   Generated: 30 Sep 2010

Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 > Struct Template Reference

#include <GetData.h>

List of all members.

Public Types

typedef Getter::Type Type
typedef Getter::return_type return_type
 the actual return type

Public Member Functions

template<class COMMON>
return_type operator() (const COMMON &common, IDataProviderSvc *service, const std::string &location, const std::string &location2) const
 the only one essential method

Private Types

typedef Gaudi::Range_
< std::vector< const TYPE * > > 
Range
typedef GetData< Range > Getter
 the actual data getter
typedef CheckData< Range > Checker
 the actual data checker

Private Attributes

Getter m_getter
 the actual data getter


Detailed Description

template<class TYPE, class TYPE2>
struct Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >

Definition at line 436 of file GetData.h.


Member Typedef Documentation

template<class TYPE, class TYPE2>
typedef Gaudi::Range_<std::vector<const TYPE*> > Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >::Range [private]

Definition at line 440 of file GetData.h.

template<class TYPE, class TYPE2>
typedef GetData<Range> Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >::Getter [private]

the actual data getter

Definition at line 442 of file GetData.h.

template<class TYPE, class TYPE2>
typedef CheckData<Range> Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >::Checker [private]

the actual data checker

Definition at line 444 of file GetData.h.

template<class TYPE, class TYPE2>
typedef Getter::Type Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >::Type

Definition at line 448 of file GetData.h.

template<class TYPE, class TYPE2>
typedef Getter::return_type Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >::return_type

the actual return type

Definition at line 450 of file GetData.h.


Member Function Documentation

template<class TYPE, class TYPE2>
template<class COMMON>
return_type Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >::operator() ( const COMMON &  common,
IDataProviderSvc service,
const std::string location,
const std::string location2 
) 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:
the data

Definition at line 462 of file GetData.h.

00466       {
00467         DataObject* obj = m_getter.getData ( service , location ) ;
00468         if ( 0 == obj ) 
00469         {
00470           TYPE2* o = new TYPE2() ;
00471           common.put ( service , o , location2 ) ;
00472           if ( common.msgLevel ( MSG::DEBUG ) )
00473           { common.debug() << "The object of type '"
00474                            << System::typeinfoName(typeid(*o))
00475                            << "' has been created from TS at address '"
00476                            << location2 << "'" << endmsg ; }
00477         }
00478         return m_getter ( common , service , location ) ;
00479         // ====================================================================
00480       }


Member Data Documentation

template<class TYPE, class TYPE2>
Getter Gaudi::Utils::GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 >::m_getter [private]

the actual data getter

Definition at line 485 of file GetData.h.


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

Generated at Thu Sep 30 09:58:57 2010 for Gaudi Framework, version v21r11 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004