CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
l1t::RegionalOutput< T >::Region Class Reference

#include <RegionalOutput.h>

Public Types

typedef RegionalOutput< T >::const_iterator const_iterator
 
typedef RegionalOutput< T >::iterator iterator
 
typedef T::value_type value_type
 

Public Member Functions

const value_typeback () const
 
iterator begin () const
 
bool empty () const
 
iterator end () const
 
const value_typefront () const
 
edm::ProductID id () const
 
const value_typeoperator[] (unsigned int idx) const
 
ref refAt (unsigned int idx) const
 
unsigned int size () const
 

Private Member Functions

 Region (const RegionalOutput< T > *src, unsigned int ibegin, unsigned int iend)
 

Private Attributes

unsigned int ibegin_
 
unsigned int iend_
 
const RegionalOutput< T > * src_
 

Friends

class RegionalOutput< T >
 

Detailed Description

template<typename T>
class l1t::RegionalOutput< T >::Region

Definition at line 71 of file RegionalOutput.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 75 of file RegionalOutput.h.

◆ iterator

template<typename T>
typedef RegionalOutput<T>::iterator l1t::RegionalOutput< T >::Region::iterator

Definition at line 74 of file RegionalOutput.h.

◆ value_type

template<typename T>
typedef T::value_type l1t::RegionalOutput< T >::Region::value_type

Definition at line 73 of file RegionalOutput.h.

Constructor & Destructor Documentation

◆ Region()

template<typename T>
l1t::RegionalOutput< T >::Region::Region ( const RegionalOutput< T > *  src,
unsigned int  ibegin,
unsigned int  iend 
)
inlineprivate

Definition at line 92 of file RegionalOutput.h.

93  : src_(src), ibegin_(ibegin), iend_(iend) {}
const RegionalOutput< T > * src_

Member Function Documentation

◆ back()

template<typename T>
const value_type& l1t::RegionalOutput< T >::Region::back ( ) const
inline

Definition at line 79 of file RegionalOutput.h.

References l1t::RegionalOutput< T >::Region::iend_, and l1t::RegionalOutput< T >::Region::src_.

79 { return src_->objAt(iend_ - 1); }
const RegionalOutput< T > * src_

◆ begin()

template<typename T>
iterator l1t::RegionalOutput< T >::Region::begin ( void  ) const
inline

Definition at line 80 of file RegionalOutput.h.

References l1t::RegionalOutput< T >::Region::ibegin_, and l1t::RegionalOutput< T >::Region::src_.

80 { return iterator(*src_, ibegin_); }
RegionalOutput< T >::iterator iterator
const RegionalOutput< T > * src_

◆ empty()

template<typename T>
bool l1t::RegionalOutput< T >::Region::empty ( ) const
inline

◆ end()

template<typename T>
iterator l1t::RegionalOutput< T >::Region::end ( void  ) const
inline

◆ front()

template<typename T>
const value_type& l1t::RegionalOutput< T >::Region::front ( ) const
inline

Definition at line 78 of file RegionalOutput.h.

References l1t::RegionalOutput< T >::Region::ibegin_, and l1t::RegionalOutput< T >::Region::src_.

78 { return src_->objAt(ibegin_); }
const RegionalOutput< T > * src_

◆ id()

template<typename T>
edm::ProductID l1t::RegionalOutput< T >::Region::id ( ) const
inline

Definition at line 86 of file RegionalOutput.h.

References l1t::RegionalOutput< T >::Region::src_.

86 { return src_->id(); }
const RegionalOutput< T > * src_

◆ operator[]()

template<typename T>
const value_type& l1t::RegionalOutput< T >::Region::operator[] ( unsigned int  idx) const
inline

◆ refAt()

template<typename T>
ref l1t::RegionalOutput< T >::Region::refAt ( unsigned int  idx) const
inline

◆ size()

template<typename T>
unsigned int l1t::RegionalOutput< T >::Region::size ( void  ) const
inline

Friends And Related Function Documentation

◆ RegionalOutput< T >

template<typename T>
friend class RegionalOutput< T >
friend

Definition at line 91 of file RegionalOutput.h.

Member Data Documentation

◆ ibegin_

template<typename T>
unsigned int l1t::RegionalOutput< T >::Region::ibegin_
private

◆ iend_

template<typename T>
unsigned int l1t::RegionalOutput< T >::Region::iend_
private

◆ src_

template<typename T>
const RegionalOutput<T>* l1t::RegionalOutput< T >::Region::src_
private