KiCad PCB EDA Suite
DLIST_ITERATOR_WRAPPER< T > Class Template Reference

#include <iterators.h>

Public Member Functions

 DLIST_ITERATOR_WRAPPER (DLIST< T > &list)
 
DLIST_ITERATOR< T * > begin ()
 
DLIST_ITERATOR< T * > end ()
 
unsigned int Size () const
 

Private Attributes

DLIST< T > & m_list
 

Detailed Description

template<class T>
class DLIST_ITERATOR_WRAPPER< T >

Definition at line 70 of file iterators.h.

Constructor & Destructor Documentation

template<class T >
DLIST_ITERATOR_WRAPPER< T >::DLIST_ITERATOR_WRAPPER ( DLIST< T > &  list)
inlineexplicit

Definition at line 73 of file iterators.h.

73  :
74  m_list(list) {}
DLIST< T > & m_list
Definition: iterators.h:92

Member Function Documentation

template<class T >
DLIST_ITERATOR<T*> DLIST_ITERATOR_WRAPPER< T >::begin ( )
inline

Definition at line 76 of file iterators.h.

77  {
78  return DLIST_ITERATOR<T*> ( m_list.GetFirst() );
79  }
DLIST< T > & m_list
Definition: iterators.h:92
template<class T >
DLIST_ITERATOR<T*> DLIST_ITERATOR_WRAPPER< T >::end ( )
inline

Definition at line 81 of file iterators.h.

82  {
83  return DLIST_ITERATOR<T*> ( nullptr );
84  }
template<class T >
unsigned int DLIST_ITERATOR_WRAPPER< T >::Size ( ) const
inline

Definition at line 86 of file iterators.h.

87  {
88  return m_list.GetCount();
89  }
DLIST< T > & m_list
Definition: iterators.h:92

Member Data Documentation

template<class T >
DLIST<T>& DLIST_ITERATOR_WRAPPER< T >::m_list
private

Definition at line 92 of file iterators.h.


The documentation for this class was generated from the following file: