| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# Gaudi::NamedRange_< TYPE > Class Template Reference

`#include <NamedRange.h>`

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

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.

    00057 : 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.

    00066       : 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.

    00073       : 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.

    00080       : 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.

    00087       : 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.

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

template<class TYPE>

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

destructor

Definition at line 96 of file NamedRange.h.

    00096 {};

## Member Function Documentation

template<class TYPE>

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

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

Definition at line 101 of file NamedRange.h.

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

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.

    00107 { 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.

    00109 { m_name = value ; }

## 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_v21r11/GaudiKernel/GaudiKernel/NamedRange.h