CMS 3D CMS Logo

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

#include <IterWithDict.h>

Inheritance diagram for edm::IterWithDict< T >:
edm::IterWithDictBase

Public Member Functions

 IterWithDict ()
 
 IterWithDict (TList *list)
 
Toperator* () const
 
IterWithDict< T > & operator++ ()
 
- Public Member Functions inherited from edm::IterWithDictBase
 IterWithDictBase ()
 
 IterWithDictBase (TList *)
 
bool operator!= (IterWithDictBase const &) const
 

Additional Inherited Members

- Protected Member Functions inherited from edm::IterWithDictBase
void advance ()
 
TIter const & iter () const
 

Detailed Description

template<typename T>
class edm::IterWithDict< T >

Definition at line 30 of file IterWithDict.h.

Constructor & Destructor Documentation

◆ IterWithDict() [1/2]

template<typename T>
edm::IterWithDict< T >::IterWithDict ( )
inline

Definition at line 32 of file IterWithDict.h.

32 : IterWithDictBase() {}

◆ IterWithDict() [2/2]

template<typename T>
edm::IterWithDict< T >::IterWithDict ( TList *  list)
inlineexplicit

Definition at line 33 of file IterWithDict.h.

33 : IterWithDictBase(list) {}

Member Function Documentation

◆ operator*()

template<typename T>
T* edm::IterWithDict< T >::operator* ( void  ) const
inline

Definition at line 38 of file IterWithDict.h.

38 { return static_cast<T*>(*iter()); }

References edm::IterWithDictBase::iter().

◆ operator++()

template<typename T>
IterWithDict<T>& edm::IterWithDict< T >::operator++ ( void  )
inline

Definition at line 34 of file IterWithDict.h.

34  {
35  advance();
36  return *this;
37  }

References edm::IterWithDictBase::advance().

edm::IterWithDictBase::iter
TIter const & iter() const
Definition: IterWithDict.cc:16
edm::IterWithDictBase::advance
void advance()
Definition: IterWithDict.cc:6
edm::IterWithDictBase::IterWithDictBase
IterWithDictBase()
Definition: IterWithDict.cc:18