| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 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 416 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 420 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 422 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 424 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 428 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 430 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 442 of file GetData.h.

    00446       {
    00447         DataObject* obj = m_getter.getData ( service , location ) ;
    00448         if ( 0 == obj )
    00449         {
    00450           TYPE2* o = new TYPE2() ;
    00451           common.put ( service , o , location2 ) ;
    00452           if ( common.msgLevel ( MSG::DEBUG ) )
    00453           { common.debug() << "The object of type '"
    00454                            << System::typeinfoName(typeid(*o))
    00455                            << "' has been created from TS at address '"
    00456                            << location2 << "'" << endmsg ; }
    00457         }
    00458         return m_getter ( common , service , location ) ;
    00459         // ====================================================================
    00460       }

## 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 465 of file GetData.h.

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

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