OWBI1::Enumeration_input_iterator< T > Class Template Reference

#include <OWBI1_Enumeration.hpp>

Collaboration diagram for OWBI1::Enumeration_input_iterator< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Enumeration< T > enumeration_type
typedef std::input_iterator_tag iterator_category
typedef T value_type
typedef const T * pointer
typedef const T & reference
typedef ptrdiff_t difference_type

Public Member Functions

 Enumeration_input_iterator ()
 Enumeration_input_iterator (enumeration_type &e)
reference operator * () const
pointer operator-> () const
Enumeration_input_iteratoroperator++ ()
Enumeration_input_iterator operator++ (int)
bool m_equal (const Enumeration_input_iterator &x) const

Private Member Functions

void m_read ()

Private Attributes

enumeration_typem_enumeration
m_value
bool m_ok

Detailed Description

template<class T>
class OWBI1::Enumeration_input_iterator< T >

Definition at line 138 of file OWBI1_Enumeration.hpp.


Member Typedef Documentation

template<class T>
typedef ptrdiff_t OWBI1::Enumeration_input_iterator< T >::difference_type
 

Definition at line 146 of file OWBI1_Enumeration.hpp.

template<class T>
typedef Enumeration<T> OWBI1::Enumeration_input_iterator< T >::enumeration_type
 

Definition at line 141 of file OWBI1_Enumeration.hpp.

template<class T>
typedef std::input_iterator_tag OWBI1::Enumeration_input_iterator< T >::iterator_category
 

Definition at line 142 of file OWBI1_Enumeration.hpp.

template<class T>
typedef const T* OWBI1::Enumeration_input_iterator< T >::pointer
 

Definition at line 144 of file OWBI1_Enumeration.hpp.

template<class T>
typedef const T& OWBI1::Enumeration_input_iterator< T >::reference
 

Definition at line 145 of file OWBI1_Enumeration.hpp.

template<class T>
typedef T OWBI1::Enumeration_input_iterator< T >::value_type
 

Definition at line 143 of file OWBI1_Enumeration.hpp.


Constructor & Destructor Documentation

template<class T>
OWBI1::Enumeration_input_iterator< T >::Enumeration_input_iterator  )  [inline]
 

Definition at line 147 of file OWBI1_Enumeration.hpp.

template<class T>
OWBI1::Enumeration_input_iterator< T >::Enumeration_input_iterator enumeration_type e  )  [inline]
 

Definition at line 150 of file OWBI1_Enumeration.hpp.

References OWBI1::Enumeration_input_iterator< T >::m_read().


Member Function Documentation

template<class T>
bool OWBI1::Enumeration_input_iterator< T >::m_equal const Enumeration_input_iterator< T > &  x  )  const [inline]
 

Definition at line 177 of file OWBI1_Enumeration.hpp.

References OWBI1::Enumeration_input_iterator< T >::m_enumeration, and OWBI1::Enumeration_input_iterator< T >::m_ok.

Referenced by OWBI1::operator!=(), and OWBI1::operator==().

template<class T>
void OWBI1::Enumeration_input_iterator< T >::m_read  )  [inline, private]
 

Definition at line 185 of file OWBI1_Enumeration.hpp.

References OWBI1::Enumeration< T >::hasMoreElements(), OWBI1::Enumeration_input_iterator< T >::m_enumeration, OWBI1::Enumeration_input_iterator< T >::m_ok, OWBI1::Enumeration_input_iterator< T >::m_value, and OWBI1::Enumeration< T >::nextElement().

Referenced by OWBI1::Enumeration_input_iterator< T >::Enumeration_input_iterator(), and OWBI1::Enumeration_input_iterator< T >::operator++().

template<class T>
reference OWBI1::Enumeration_input_iterator< T >::operator *  )  const [inline]
 

Definition at line 158 of file OWBI1_Enumeration.hpp.

References OWBI1::Enumeration_input_iterator< T >::m_value.

Referenced by OWBI1::Enumeration_input_iterator< T >::operator->().

template<class T>
Enumeration_input_iterator OWBI1::Enumeration_input_iterator< T >::operator++ int   )  [inline]
 

Definition at line 171 of file OWBI1_Enumeration.hpp.

References OWBI1::Enumeration_input_iterator< T >::m_read().

template<class T>
Enumeration_input_iterator& OWBI1::Enumeration_input_iterator< T >::operator++  )  [inline]
 

Definition at line 166 of file OWBI1_Enumeration.hpp.

References OWBI1::Enumeration_input_iterator< T >::m_read().

template<class T>
pointer OWBI1::Enumeration_input_iterator< T >::operator->  )  const [inline]
 

Definition at line 162 of file OWBI1_Enumeration.hpp.

References OWBI1::Enumeration_input_iterator< T >::operator *().


Member Data Documentation

template<class T>
enumeration_type* OWBI1::Enumeration_input_iterator< T >::m_enumeration [private]
 

Definition at line 182 of file OWBI1_Enumeration.hpp.

Referenced by OWBI1::Enumeration_input_iterator< T >::m_equal(), and OWBI1::Enumeration_input_iterator< T >::m_read().

template<class T>
bool OWBI1::Enumeration_input_iterator< T >::m_ok [private]
 

Definition at line 184 of file OWBI1_Enumeration.hpp.

Referenced by OWBI1::Enumeration_input_iterator< T >::m_equal(), and OWBI1::Enumeration_input_iterator< T >::m_read().

template<class T>
T OWBI1::Enumeration_input_iterator< T >::m_value [private]
 

Definition at line 183 of file OWBI1_Enumeration.hpp.

Referenced by OWBI1::Enumeration_input_iterator< T >::m_read(), and OWBI1::Enumeration_input_iterator< T >::operator *().


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:18:29 2006 for openwbem by  doxygen 1.4.6