Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt > Class Template Reference

#include <VirtualIterator.h>

Inheritance diagram for Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >:
Audio::VirtualIterator< _T, _Rt, _Pt >

Public Types

typedef _T value_type
 
typedef _Rt reference_type
 
typedef _Pt pointer_type
 
typedef VirtualIterator< _T,
_Rt, _Pt > 
iterator_type
 
- Public Types inherited from Audio::VirtualIterator< _T, _Rt, _Pt >
typedef _T value_type
 
typedef _Rt reference_type
 
typedef _Pt pointer_type
 
typedef VirtualIterator< _T,
_Rt, _Pt > 
iterator_type
 

Public Member Functions

 VirtualMappingIterator (const _It &_begin, const _It &_end)
 
 VirtualMappingIterator (const iterator_type &o)
 
 VirtualMappingIterator (const VirtualStandardIterator< _It > &o)
 
virtual iterator_typeoperator++ ()
 
virtual iterator_typeoperator-- ()
 
virtual bool eos () const
 End-of-sequence. More...
 
virtual bool sos () const
 Start-of-sequence. More...
 
- Public Member Functions inherited from Audio::VirtualIterator< _T, _Rt, _Pt >
 VirtualIterator ()
 
virtual ~VirtualIterator ()
 
virtual reference_type operator* ()=0
 
virtual pointer_type operator-> ()=0
 
virtual SharedPtr< iterator_typeclone () const =0
 
reference_type get ()
 
pointer_type getPtr ()
 
iterator_typenext ()
 
iterator_typeprev ()
 

Protected Attributes

VirtualStandardIterator< _It > it
 

Detailed Description

template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
class Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >

Definition at line 89 of file VirtualIterator.h.

Member Typedef Documentation

template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
typedef VirtualIterator<_T,_Rt,_Pt> Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::iterator_type

Definition at line 100 of file VirtualIterator.h.

template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
typedef _Pt Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::pointer_type

Definition at line 99 of file VirtualIterator.h.

template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
typedef _Rt Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::reference_type

Definition at line 98 of file VirtualIterator.h.

template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
typedef _T Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::value_type

Definition at line 97 of file VirtualIterator.h.

Constructor & Destructor Documentation

template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::VirtualMappingIterator ( const _It &  _begin,
const _It &  _end 
)
inline

Definition at line 102 of file VirtualIterator.h.

102  :
103  it(_begin,_end) {}
template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::VirtualMappingIterator ( const iterator_type o)
inline

Definition at line 104 of file VirtualIterator.h.

104  :
105  it( o.it ) {}
template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::VirtualMappingIterator ( const VirtualStandardIterator< _It > &  o)
inline

Definition at line 106 of file VirtualIterator.h.

106  :
107  it( o ) {}

Member Function Documentation

template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
virtual bool Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::eos ( ) const
inlinevirtual

End-of-sequence.

Implements Audio::VirtualIterator< _T, _Rt, _Pt >.

Definition at line 112 of file VirtualIterator.h.

112 { return it.eos(); }
template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
virtual iterator_type& Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::operator++ ( )
inlinevirtual

Implements Audio::VirtualIterator< _T, _Rt, _Pt >.

Definition at line 109 of file VirtualIterator.h.

109 { ++it; return *this; };
template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
virtual iterator_type& Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::operator-- ( )
inlinevirtual

Implements Audio::VirtualIterator< _T, _Rt, _Pt >.

Definition at line 110 of file VirtualIterator.h.

110 { --it; return *this; };
template<typename _It, typename _T, typename _Rt = _T&, typename _Pt = _T*>
virtual bool Audio::VirtualMappingIterator< _It, _T, _Rt, _Pt >::sos ( ) const
inlinevirtual

Start-of-sequence.

Implements Audio::VirtualIterator< _T, _Rt, _Pt >.

Definition at line 113 of file VirtualIterator.h.

113 { return it.sos(); };

Member Data Documentation


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