OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::ConstMapRange< T > Struct Template Reference

Predefined type. More...

#include <OgreIteratorRange.h>

+ Inheritance diagram for Ogre::ConstMapRange< T >:
+ Collaboration diagram for Ogre::ConstMapRange< T >:

Public Types

typedef T const_iterator
 typedef to fulfill container interface More...
 
typedef T iterator
 typedef to fulfill container interface More...
 
typedef iterator_range< T > type
 defines the real used type More...
 

Public Member Functions

 ConstMapRange (const T &c)
 Constructor. More...
 
 ConstMapRange (typename T::iterator b, typename T::iterator e)
 Constructor. More...
 
 ConstMapRange (typename T::const_iterator b, typename T::const_iterator e)
 Constructor. More...
 
 ConstMapRange (const MapRange< T > &rhs)
 Constructor. More...
 
begin () const
 access to the begin of the range More...
 
bool empty () const
 informs if there are any elements in the range More...
 
end () const
 access to the end of the range More...
 
bool equal (const iterator_range &other) const
 comparison for equality More...
 
bool operator!= (const iterator_range &rhs) const
 comparison operator for inequality More...
 
bool operator!= (const ConstMapRange &rhs) const
 comparison operator for inequality More...
 
bool operator== (const iterator_range &rhs) const
 comparison operator for equality More...
 
bool operator== (const ConstMapRange &rhs) const
 comparison operator for equality More...
 

Detailed Description

template<typename T>
struct Ogre::ConstMapRange< T >

Predefined type.

Template Parameters
Titerator type

compatility class for ConstMapIterator

Definition at line 288 of file OgreIteratorRange.h.

Member Typedef Documentation

template<typename T>
typedef T Ogre::iterator_range< T >::const_iterator
inherited

typedef to fulfill container interface

Note
there is no distinction between const_iterator and iterator.

Definition at line 117 of file OgreIteratorRange.h.

template<typename T>
typedef T Ogre::iterator_range< T >::iterator
inherited

typedef to fulfill container interface

Note
there is no distinction between const_iterator and iterator.

Definition at line 109 of file OgreIteratorRange.h.

template<typename T>
typedef iterator_range<T> Ogre::iterator_range< T >::type
inherited

defines the real used type

type will be defined as Ogre::iterator_range if not used with boost
otherwise the type will be boost::iterator_range

Definition at line 124 of file OgreIteratorRange.h.

Constructor & Destructor Documentation

template<typename T >
Ogre::ConstMapRange< T >::ConstMapRange ( const T &  c)
inline

Constructor.

Remarks
Provide a container to initialise.

Definition at line 295 of file OgreIteratorRange.h.

template<typename T >
Ogre::ConstMapRange< T >::ConstMapRange ( typename T::iterator  b,
typename T::iterator  e 
)
inline

Constructor.

Remarks
Provide a start and end iterator to initialise.

Definition at line 303 of file OgreIteratorRange.h.

template<typename T >
Ogre::ConstMapRange< T >::ConstMapRange ( typename T::const_iterator  b,
typename T::const_iterator  e 
)
inline

Constructor.

Remarks
Provide a start and end const_iterator to initialise.

Definition at line 311 of file OgreIteratorRange.h.

template<typename T >
Ogre::ConstMapRange< T >::ConstMapRange ( const MapRange< T > &  rhs)
inline

Constructor.

Remarks
Provide a MapRange to initialise.

Definition at line 319 of file OgreIteratorRange.h.

Member Function Documentation

template<typename T>
T Ogre::iterator_range< T >::begin ( ) const
inlineinherited

access to the begin of the range

Definition at line 84 of file OgreIteratorRange.h.

References Ogre::iterator_range< T >::mBegin.

template<typename T>
bool Ogre::iterator_range< T >::empty ( ) const
inlineinherited

informs if there are any elements in the range

Definition at line 90 of file OgreIteratorRange.h.

References Ogre::iterator_range< T >::mBegin, and Ogre::iterator_range< T >::mEnd.

template<typename T>
T Ogre::iterator_range< T >::end ( ) const
inlineinherited

access to the end of the range

Definition at line 87 of file OgreIteratorRange.h.

References Ogre::iterator_range< T >::mEnd.

template<typename T>
bool Ogre::iterator_range< T >::operator!= ( const iterator_range< T > &  rhs) const
inlineinherited

comparison operator for inequality

Definition at line 101 of file OgreIteratorRange.h.

References Ogre::iterator_range< T >::operator==().

template<typename T >
bool Ogre::ConstMapRange< T >::operator!= ( const ConstMapRange< T > &  rhs) const
inline

comparison operator for inequality

Definition at line 326 of file OgreIteratorRange.h.

References Ogre::iterator_range< T >::equal().

template<typename T>
bool Ogre::iterator_range< T >::operator== ( const iterator_range< T > &  rhs) const
inlineinherited

comparison operator for equality

Definition at line 97 of file OgreIteratorRange.h.

References Ogre::iterator_range< T >::equal().

Referenced by Ogre::iterator_range< T >::operator!=().

template<typename T >
bool Ogre::ConstMapRange< T >::operator== ( const ConstMapRange< T > &  rhs) const
inline

comparison operator for equality

Definition at line 324 of file OgreIteratorRange.h.

References Ogre::iterator_range< T >::equal().


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