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

#include <OgreSmallVector.h>

+ Inheritance diagram for Ogre::SmallVectorTemplateCommon< T >:

Public Types

typedef const T * const_iterator
 
typedef const T * const_pointer
 
typedef const T & const_reference
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef ptrdiff_t difference_type
 
typedef T * iterator
 
typedef T * pointer
 
typedef T & reference
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef size_t size_type
 
typedef T value_type
 

Public Member Functions

 SmallVectorTemplateCommon (size_t Size)
 
reference back ()
 
const_reference back () const
 
iterator begin ()
 
const_iterator begin () const
 
size_t capacity () const
 capacity - Return the total number of elements in the currently allocated buffer. More...
 
pointer data ()
 data - Return a pointer to the vector's buffer, even if empty(). More...
 
const_pointer data () const
 data - Return a pointer to the vector's buffer, even if empty(). More...
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
reference front ()
 
const_reference front () const
 
size_type max_size () const
 
reference operator[] (unsigned idx)
 
const_reference operator[] (unsigned idx) const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
size_type size () const
 

Member Typedef Documentation

◆ size_type

template<typename T>
typedef size_t Ogre::SmallVectorTemplateCommon< T >::size_type

◆ difference_type

template<typename T>
typedef ptrdiff_t Ogre::SmallVectorTemplateCommon< T >::difference_type

◆ value_type

template<typename T>
typedef T Ogre::SmallVectorTemplateCommon< T >::value_type

◆ iterator

template<typename T>
typedef T* Ogre::SmallVectorTemplateCommon< T >::iterator

◆ const_iterator

template<typename T>
typedef const T* Ogre::SmallVectorTemplateCommon< T >::const_iterator

◆ const_reverse_iterator

template<typename T>
typedef std::reverse_iterator<const_iterator> Ogre::SmallVectorTemplateCommon< T >::const_reverse_iterator

◆ reverse_iterator

template<typename T>
typedef std::reverse_iterator<iterator> Ogre::SmallVectorTemplateCommon< T >::reverse_iterator

◆ reference

template<typename T>
typedef T& Ogre::SmallVectorTemplateCommon< T >::reference

◆ const_reference

template<typename T>
typedef const T& Ogre::SmallVectorTemplateCommon< T >::const_reference

◆ pointer

template<typename T>
typedef T* Ogre::SmallVectorTemplateCommon< T >::pointer

◆ const_pointer

template<typename T>
typedef const T* Ogre::SmallVectorTemplateCommon< T >::const_pointer

Constructor & Destructor Documentation

◆ SmallVectorTemplateCommon()

template<typename T>
Ogre::SmallVectorTemplateCommon< T >::SmallVectorTemplateCommon ( size_t  Size)
inline

Member Function Documentation

◆ begin() [1/2]

◆ begin() [2/2]

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

◆ end() [1/2]

◆ end() [2/2]

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

◆ rbegin() [1/2]

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

◆ rbegin() [2/2]

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

◆ rend() [1/2]

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

◆ rend() [2/2]

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

◆ size()

◆ max_size()

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

◆ capacity()

template<typename T>
size_t Ogre::SmallVectorTemplateCommon< T >::capacity ( ) const
inline

capacity - Return the total number of elements in the currently allocated buffer.

Referenced by Ogre::SmallVectorImpl< Triangle * >::swap().

◆ data() [1/2]

template<typename T>
pointer Ogre::SmallVectorTemplateCommon< T >::data ( )
inline

data - Return a pointer to the vector's buffer, even if empty().

◆ data() [2/2]

template<typename T>
const_pointer Ogre::SmallVectorTemplateCommon< T >::data ( ) const
inline

data - Return a pointer to the vector's buffer, even if empty().

◆ operator[]() [1/2]

template<typename T>
reference Ogre::SmallVectorTemplateCommon< T >::operator[] ( unsigned  idx)
inline

◆ operator[]() [2/2]

template<typename T>
const_reference Ogre::SmallVectorTemplateCommon< T >::operator[] ( unsigned  idx) const
inline

◆ front() [1/2]

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

◆ front() [2/2]

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

◆ back() [1/2]

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

◆ back() [2/2]

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

◆ empty()

bool Ogre::SmallVectorBase::empty ( ) const
inlineinherited

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