| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Public Member Functions | Protected Types | Private Attributes

# Gaudi::NamedRange_< TYPE > Class Template Reference

`#include <NamedRange.h>`

Inheritance diagram for Gaudi::NamedRange_< TYPE >:
[legend]
Collaboration diagram for Gaudi::NamedRange_< TYPE >:
[legend]

List of all members.

## Public Member Functions
| NamedRange_ ()
| default constructor
| NamedRange_ (typename Base::iterator ibegin, typename Base::iterator iend, const std::string &name="")
| Constructor.
| NamedRange_ (const Base &base, const std::string &name="")
| constructor from the base class
| NamedRange_ (const typename Base::_Base &base, const std::string &name="")
| constructor from the base class
| NamedRange_ (const typename Base::Container &base, const std::string &name="")
| constructor from the base class
| NamedRange_ (typename Base::iterator ibegin, const std::string &name="")
| ~NamedRange_ ()
| destructor
NamedRange_ | slice (long index1, long index2) const
| get a "slice" of a range, in Python style
const std::string & | name () const
| get the name of the range
void | setName (const std::string &value)
| set the name of the range
## Protected Types
typedef Gaudi::Range_< TYPE > | Base
| the base class
typedef NamedRange_< TYPE > | Self
| "self"-type
## Private Attributes
std::string | m_name
| the name, associated to the range

## Detailed Description

### template<class TYPE>
class Gaudi::NamedRange_< TYPE >

Definition at line 45 of file NamedRange.h.

## Member Typedef Documentation

template<class TYPE >

typedef Gaudi::Range_<TYPE> Gaudi::NamedRange_< TYPE >::Base`[protected]`

the base class

Reimplemented from Gaudi::Range_< CONTAINER >.

Definition at line 50 of file NamedRange.h.

template<class TYPE >

typedef NamedRange_<TYPE> Gaudi::NamedRange_< TYPE >::Self`[protected]`

"self"-type

Definition at line 52 of file NamedRange.h.

## Constructor & Destructor Documentation

template<class TYPE >

Gaudi::NamedRange_< TYPE >::NamedRange_ | ( | ) | `[inline]`

default constructor

Definition at line 57 of file NamedRange.h.

    : Base() , m_name() {};

template<class TYPE >

Gaudi::NamedRange_< TYPE >::NamedRange_ | ( | typename Base::iterator | ibegin,
|  | typename Base::iterator | iend,
|  | const std::string & | name = `""`
| ) |  | `[inline]`

Constructor.

Parameters:

  ibegin | iterator to begin of the sequence
  iend | iterator to end of the sequence
  name | name of the range

Definition at line 63 of file NamedRange.h.

          : Base   ( ibegin , iend ) , m_name ( name ) {} ;

template<class TYPE >

Gaudi::NamedRange_< TYPE >::NamedRange_ | ( | const Base & | base,
|  | const std::string & | name = `""`
| ) |  | `[inline]`

constructor from the base class

Parameters:

  base | base objects
  name | name of the range

Definition at line 71 of file NamedRange.h.

          : Base   ( base ) , m_name ( name ) {};

template<class TYPE >

Gaudi::NamedRange_< TYPE >::NamedRange_ | ( | const typename Base::_Base & | base,
|  | const std::string & | name = `""`
| ) |  | `[inline]`

constructor from the base class

Parameters:

  base | base objects
  name | name of the range

Definition at line 78 of file NamedRange.h.

          : Base   ( base ) , m_name ( name ) {};

template<class TYPE >

Gaudi::NamedRange_< TYPE >::NamedRange_ | ( | const typename Base::Container & | base,
|  | const std::string & | name = `""`
| ) |  | `[inline]`

constructor from the base class

Parameters:

  base | base objects
  name | name of the range

Definition at line 85 of file NamedRange.h.

          : Base   ( base ) , m_name ( name ) {};

template<class TYPE >

Gaudi::NamedRange_< TYPE >::NamedRange_ | ( | typename Base::iterator | ibegin,
|  | const std::string & | name = `""`
| ) |  | `[inline]`

Definition at line 92 of file NamedRange.h.

          : Base   ( ibegin , ibegin ) , m_name ( name ) {};

template<class TYPE >

Gaudi::NamedRange_< TYPE >::~NamedRange_ | ( | ) | `[inline]`

destructor

Definition at line 96 of file NamedRange.h.

    {};

## Member Function Documentation

template<class TYPE >

const std::string& Gaudi::NamedRange_< TYPE >::name | ( | ) | const`[inline]`

get the name of the range

Definition at line 107 of file NamedRange.h.

    { return m_name ; }

template<class TYPE >

void Gaudi::NamedRange_< TYPE >::setName | ( | const std::string & | value ) | `[inline]`

set the name of the range

Definition at line 109 of file NamedRange.h.

    { m_name = value ; }

template<class TYPE >

NamedRange_ Gaudi::NamedRange_< TYPE >::slice | ( | long | index1,
|  | long | index2
| ) |  | const`[inline]`

get a "slice" of a range, in Python style

Reimplemented from Gaudi::Range_< CONTAINER >.

Definition at line 101 of file NamedRange.h.

        {  return NamedRange_( Base::slice ( index1 , index2 ) , m_name ) ; }

## Member Data Documentation

template<class TYPE >

std::string Gaudi::NamedRange_< TYPE >::m_name`[private]`

the name, associated to the range

Definition at line 114 of file NamedRange.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiKernel/GaudiKernel/NamedRange.h

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