OGRE  1.11.6
Object-Oriented Graphics Rendering Engine
Ogre::HashedVector< T > Class Template Reference

A hashed vector. More...

#include <OgreCommon.h>

Public Types

typedef VectorImpl::const_iterator const_iterator
 
typedef VectorImpl::const_reference const_reference
 
typedef VectorImpl::const_reverse_iterator const_reverse_iterator
 
typedef VectorImpl::difference_type difference_type
 
typedef VectorImpl::iterator iterator
 
typedef VectorImpl::pointer pointer
 
typedef VectorImpl::reference reference
 
typedef VectorImpl::reverse_iterator reverse_iterator
 
typedef VectorImpl::size_type size_type
 
typedef VectorImpl::value_type value_type
 
typedef std::vector< T > VectorImpl
 

Public Member Functions

 HashedVector ()
 
 HashedVector (size_type n)
 
 HashedVector (size_type n, const T &t)
 
 HashedVector (const HashedVector< T > &rhs)
 
template<class InputIterator >
 HashedVector (InputIterator a, InputIterator b)
 
 ~HashedVector ()
 
reference at (size_type n)
 
const_reference at (size_type n) const
 
reference back ()
 
const_reference back () const
 
iterator begin ()
 
const_iterator begin () const
 
size_type capacity () const
 
void clear ()
 
void dirtyHash ()
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
reference front ()
 
const_reference front () const
 
uint32 getHash () const
 Get the hash value. More...
 
iterator insert (iterator pos, const T &t)
 
template<class InputIterator >
void insert (iterator pos, InputIterator f, InputIterator l)
 
void insert (iterator pos, size_type n, const T &x)
 
bool isHashDirty () const
 
size_type max_size () const
 
bool operator< (const HashedVector< T > &b)
 
HashedVector< T > & operator= (const HashedVector< T > &rhs)
 
bool operator== (const HashedVector< T > &b)
 
reference operator[] (size_type n)
 
const_reference operator[] (size_type n) const
 
void pop_back ()
 
void push_back (const T &t)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void reserve (size_t t)
 
void resize (size_type n, const T &t=T())
 
size_type size () const
 
void swap (HashedVector< T > &rhs)
 

Detailed Description

template<typename T>
class Ogre::HashedVector< T >

A hashed vector.

Member Typedef Documentation

◆ VectorImpl

template<typename T>
typedef std::vector<T> Ogre::HashedVector< T >::VectorImpl

◆ value_type

template<typename T>
typedef VectorImpl::value_type Ogre::HashedVector< T >::value_type

◆ pointer

template<typename T>
typedef VectorImpl::pointer Ogre::HashedVector< T >::pointer

◆ reference

template<typename T>
typedef VectorImpl::reference Ogre::HashedVector< T >::reference

◆ const_reference

template<typename T>
typedef VectorImpl::const_reference Ogre::HashedVector< T >::const_reference

◆ size_type

template<typename T>
typedef VectorImpl::size_type Ogre::HashedVector< T >::size_type

◆ difference_type

template<typename T>
typedef VectorImpl::difference_type Ogre::HashedVector< T >::difference_type

◆ iterator

template<typename T>
typedef VectorImpl::iterator Ogre::HashedVector< T >::iterator

◆ const_iterator

template<typename T>
typedef VectorImpl::const_iterator Ogre::HashedVector< T >::const_iterator

◆ reverse_iterator

template<typename T>
typedef VectorImpl::reverse_iterator Ogre::HashedVector< T >::reverse_iterator

◆ const_reverse_iterator

template<typename T>
typedef VectorImpl::const_reverse_iterator Ogre::HashedVector< T >::const_reverse_iterator

Constructor & Destructor Documentation

◆ HashedVector() [1/5]

template<typename T>
Ogre::HashedVector< T >::HashedVector ( )
inline

◆ HashedVector() [2/5]

template<typename T>
Ogre::HashedVector< T >::HashedVector ( size_type  n)
inline

◆ HashedVector() [3/5]

template<typename T>
Ogre::HashedVector< T >::HashedVector ( size_type  n,
const T &  t 
)
inline

◆ HashedVector() [4/5]

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

◆ HashedVector() [5/5]

template<typename T>
template<class InputIterator >
Ogre::HashedVector< T >::HashedVector ( InputIterator  a,
InputIterator  b 
)
inline

◆ ~HashedVector()

template<typename T>
Ogre::HashedVector< T >::~HashedVector ( )
inline

Member Function Documentation

◆ dirtyHash()

◆ isHashDirty()

template<typename T>
bool Ogre::HashedVector< T >::isHashDirty ( ) const
inline

◆ begin() [1/2]

template<typename T>
iterator Ogre::HashedVector< T >::begin ( )
inline

◆ end() [1/2]

template<typename T>
iterator Ogre::HashedVector< T >::end ( )
inline

◆ begin() [2/2]

template<typename T>
const_iterator Ogre::HashedVector< T >::begin ( ) const
inline

◆ end() [2/2]

template<typename T>
const_iterator Ogre::HashedVector< T >::end ( ) const
inline

◆ rbegin() [1/2]

template<typename T>
reverse_iterator Ogre::HashedVector< T >::rbegin ( )
inline

◆ rend() [1/2]

template<typename T>
reverse_iterator Ogre::HashedVector< T >::rend ( )
inline

◆ rbegin() [2/2]

template<typename T>
const_reverse_iterator Ogre::HashedVector< T >::rbegin ( ) const
inline

◆ rend() [2/2]

template<typename T>
const_reverse_iterator Ogre::HashedVector< T >::rend ( ) const
inline

◆ size()

template<typename T>
size_type Ogre::HashedVector< T >::size ( ) const
inline

◆ max_size()

template<typename T>
size_type Ogre::HashedVector< T >::max_size ( ) const
inline

◆ capacity()

template<typename T>
size_type Ogre::HashedVector< T >::capacity ( ) const
inline

◆ empty()

template<typename T>
bool Ogre::HashedVector< T >::empty ( ) const
inline

◆ operator[]() [1/2]

template<typename T>
reference Ogre::HashedVector< T >::operator[] ( size_type  n)
inline

◆ operator[]() [2/2]

template<typename T>
const_reference Ogre::HashedVector< T >::operator[] ( size_type  n) const
inline

◆ at() [1/2]

template<typename T>
reference Ogre::HashedVector< T >::at ( size_type  n)
inline

◆ at() [2/2]

template<typename T>
const_reference Ogre::HashedVector< T >::at ( size_type  n) const
inline

◆ operator=()

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

◆ reserve()

template<typename T>
void Ogre::HashedVector< T >::reserve ( size_t  t)
inline

◆ front() [1/2]

template<typename T>
reference Ogre::HashedVector< T >::front ( )
inline

Referenced by Ogre::Box::getDepth().

◆ front() [2/2]

template<typename T>
const_reference Ogre::HashedVector< T >::front ( ) const
inline

◆ back() [1/2]

template<typename T>
reference Ogre::HashedVector< T >::back ( )
inline

◆ back() [2/2]

template<typename T>
const_reference Ogre::HashedVector< T >::back ( ) const
inline

◆ push_back()

template<typename T>
void Ogre::HashedVector< T >::push_back ( const T &  t)
inline

◆ pop_back()

template<typename T>
void Ogre::HashedVector< T >::pop_back ( )
inline

◆ swap()

template<typename T>
void Ogre::HashedVector< T >::swap ( HashedVector< T > &  rhs)
inline

◆ insert() [1/3]

template<typename T>
iterator Ogre::HashedVector< T >::insert ( iterator  pos,
const T &  t 
)
inline

◆ insert() [2/3]

template<typename T>
template<class InputIterator >
void Ogre::HashedVector< T >::insert ( iterator  pos,
InputIterator  f,
InputIterator  l 
)
inline

◆ insert() [3/3]

template<typename T>
void Ogre::HashedVector< T >::insert ( iterator  pos,
size_type  n,
const T &  x 
)
inline

◆ erase() [1/2]

template<typename T>
iterator Ogre::HashedVector< T >::erase ( iterator  pos)
inline

◆ erase() [2/2]

template<typename T>
iterator Ogre::HashedVector< T >::erase ( iterator  first,
iterator  last 
)
inline

◆ clear()

template<typename T>
void Ogre::HashedVector< T >::clear ( )
inline

◆ resize()

template<typename T>
void Ogre::HashedVector< T >::resize ( size_type  n,
const T &  t = T() 
)
inline

◆ operator==()

template<typename T>
bool Ogre::HashedVector< T >::operator== ( const HashedVector< T > &  b)
inline

◆ operator<()

template<typename T>
bool Ogre::HashedVector< T >::operator< ( const HashedVector< T > &  b)
inline

◆ getHash()

template<typename T>
uint32 Ogre::HashedVector< T >::getHash ( ) const
inline

Get the hash value.


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