| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Types | Public Member Functions | Private Attributes

# Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > > Struct Template Reference

the template specialization for named ranges More...

`#include <GetData.h>`

Collaboration diagram for Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >:
[legend]

List of all members.

## Public Types
typedef Gaudi::NamedRange_ < std::vector< const TYPE * > > | Type
| the actual return type
typedef _GetType< Type > ::return_type | return_type
## Public Member Functions
template<class COMMON >
return_type | operator() (const COMMON &common, IDataProviderSvc *service, const std::string &location) const
| the only one essential method
return_type | make_range (const typename TYPE::Container *cnt) const
return_type | make_range (const typename TYPE::Selection *cnt) const
DataObject * | getData (IDataProviderSvc *service, const std::string &location) const
| get the data form transient store
## Private Attributes
GetData< Gaudi::Range_ < std::vector< const TYPE * > > > | m_range
| ===================================================================== the actual processor

## Detailed Description

### template<class TYPE>
struct Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >

the template specialization for named ranges

Definition at line 208 of file GetData.h.

## Member Typedef Documentation

template<class TYPE >

typedef _GetType<Type>::return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::return_type

Definition at line 214 of file GetData.h.

template<class TYPE >

typedef Gaudi::NamedRange_<std::vector<const TYPE*> > Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::Type

the actual return type

Definition at line 213 of file GetData.h.

## Member Function Documentation

template<class TYPE >

DataObject* Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::getData | ( | IDataProviderSvc * | service,
|  | const std::string & | location
| ) |  | const`[inline]`

get the data form transient store

Parameters:

  service | pointer to data provider service
  location | the location

Returns:
  the object for TES

Definition at line 259 of file GetData.h.

          { return m_range.getData ( service , location ) ; }

template<class TYPE >

return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::make_range | ( | const typename TYPE::Container * | cnt ) | const`[inline]`

Definition at line 236 of file GetData.h.

          {
            if ( 0 == cnt ) { return return_type() ; }
            static const std::string s_empty = "" ;
            const IRegistry* reg = cnt->registry() ;
            return return_type
              ( m_range.make_range  ( cnt ) , 0 != reg ? reg->identifier() : s_empty ) ;
          }

template<class TYPE >

return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::make_range | ( | const typename TYPE::Selection * | cnt ) | const`[inline]`

Definition at line 245 of file GetData.h.

          {
            if ( 0 == cnt ) { return return_type() ; }
            static const std::string s_empty = "" ;
            const IRegistry* reg = cnt->registry() ;
            return return_type
              ( m_range.make_range  ( cnt ) , 0 != reg ? reg->identifier() : s_empty ) ;
          }

template<class TYPE >
template<class COMMON >

return_type Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::operator() | ( | const COMMON & | common,
|  | 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:
  the data

Definition at line 226 of file GetData.h.

          {
            return return_type ( m_range( common , service , location ) , location ) ;
          }

## Member Data Documentation

template<class TYPE >

GetData<Gaudi::Range_<std::vector<const TYPE*> > > Gaudi::Utils::GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > >::m_range`[private]`

===================================================================== the actual processor

Definition at line 266 of file GetData.h.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines