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) {}

Member Function Documentation

◆ begin()

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

Definition at line 15 of file Range.h.

15 { return begin_; }

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

◆ empty()

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

Definition at line 18 of file Range.h.

18 { return begin_ == end_; }

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

◆ end()

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

Definition at line 16 of file Range.h.

16 { return end_; }

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

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().

edm::Range::end
T end() const
Definition: Range.h:16
edm::Range::begin_
const T begin_
Definition: Range.h:21
edm::Range::begin
T begin() const
Definition: Range.h:15
edm::Range::end_
const T end_
Definition: Range.h:22