CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::Range< T > Class Template Reference

#include <Range.h>

Public Member Functions

T begin () const
 
bool empty () const
 
T end () const
 
 Range (T begin, T end)
 

Private Attributes

const T begin_
 
const T end_
 

Detailed Description

template<class T>
class edm::Range< T >

Definition at line 11 of file Range.h.

Constructor & Destructor Documentation

◆ Range()

template<class T >
edm::Range< T >::Range ( T  begin,
T  end 
)
inline

Definition at line 13 of file Range.h.

13 : begin_(begin), end_(end) {}
T begin() const
Definition: Range.h:15
const T end_
Definition: Range.h:22
T end() const
Definition: Range.h:16
const T begin_
Definition: Range.h:21

Member Function Documentation

◆ begin()

template<class T >
T edm::Range< T >::begin ( void  ) const
inline

◆ empty()

template<class T >
bool edm::Range< T >::empty ( void  ) const
inline

Definition at line 18 of file Range.h.

References edm::Range< T >::begin_, and edm::Range< T >::end_.

18 { return begin_ == end_; }
const T end_
Definition: Range.h:22
const T begin_
Definition: Range.h:21

◆ end()

template<class T >
T edm::Range< T >::end ( void  ) const
inline

Definition at line 16 of file Range.h.

References edm::Range< T >::end_.

Referenced by reco::ElectronSeed::createHitInfo(), and HLTMuonTrackMassFilter::pairMatched().

16 { return end_; }
const T end_
Definition: Range.h:22

Member Data Documentation

◆ begin_

template<class T >
const T edm::Range< T >::begin_
private

Definition at line 21 of file Range.h.

Referenced by edm::Range< T >::begin(), and edm::Range< T >::empty().

◆ end_

template<class T >
const T edm::Range< T >::end_
private

Definition at line 22 of file Range.h.

Referenced by edm::Range< T >::empty(), and edm::Range< T >::end().