Loading...
Searching...
No Matches
Ogre::SmallVectorTemplateCommon< T > Class Template Reference

`#include <OgreSmallVector.h>`

Inheritance diagram for Ogre::SmallVectorTemplateCommon< T >:
[legend]

## Public Types

typedef const T * | const_iterator
typedef const T * | const_pointer
typedef const T & | const_reference
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator
typedef ptrdiff_t | difference_type
typedef T * | iterator
typedef T * | pointer
typedef T & | reference
typedef std::reverse_iterator< iterator > | reverse_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.
pointer | data ()
| data - Return a pointer to the vector's buffer, even if empty().
const_pointer | data () const
| data - Return a pointer to the vector's buffer, even if empty().
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
Public Member Functions inherited from Ogre::SmallVectorBase
bool | empty () 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

Referenced by Ogre::SmallVectorTemplateBase< T, isPodLike< T >::value >::SmallVectorTemplateBase(), and Ogre::SmallVectorTemplateBase< T, true >::SmallVectorTemplateBase().

## Member Function Documentation

## begin() [1/2]

template<typename T>

iterator Ogre::SmallVectorTemplateCommon< T >::begin | ( |  | ) |

inline

Referenced by Ogre::U< T >::~SmallVectorImpl(), Ogre::U< T >::assign(), capacity(), Ogre::U< T >::clear(), data(), data(), Ogre::VectorSet< T, S >::find(), front(), front(), Ogre::SmallVectorTemplateBase< T, isPodLike >::grow(), Ogre::U< T >::insert(), Ogre::U< T >::insert(), Ogre::U< T >::insert(), Ogre::U< T >::operator<(), Ogre::SmallVectorImpl< T >::operator=(), Ogre::U< T >::operator==(), operator[](), operator[](), rend(), rend(), Ogre::U< T >::resize(), Ogre::U< T >::resize(), Ogre::U< T >::set_size(), size(), and Ogre::SmallVectorImpl< T >::swap().

## begin() [2/2]

template<typename T>

const_iterator Ogre::SmallVectorTemplateCommon< T >::begin | ( |  | ) | const

inline

## end() [1/2]

template<typename T>

iterator Ogre::SmallVectorTemplateCommon< T >::end | ( |  | ) |

inline

Referenced by Ogre::U< T >::~SmallVectorImpl(), Ogre::VectorSet< T, S >::add(), Ogre::VectorSet< T, S >::addNotExists(), Ogre::U< T >::append(), Ogre::U< T >::append(), Ogre::U< T >::assign(), back(), back(), Ogre::U< T >::clear(), Ogre::U< T >::erase(), Ogre::U< T >::erase(), Ogre::VectorSet< T, S >::find(), Ogre::VectorSet< T, S >::findExists(), Ogre::SmallVectorTemplateBase< T, isPodLike >::grow(), Ogre::VectorSet< T, S >::has(), Ogre::U< T >::insert(), Ogre::U< T >::insert(), Ogre::U< T >::insert(), Ogre::U< T >::operator<(), Ogre::SmallVectorImpl< T >::operator=(), Ogre::U< T >::operator==(), operator[](), operator[](), Ogre::U< T >::pop_back(), Ogre::U< T >::push_back(), rbegin(), rbegin(), Ogre::VectorSet< T, S >::remove(), Ogre::VectorSet< T, S >::removeExists(), Ogre::VectorSet< T, S >::replaceExists(), Ogre::U< T >::resize(), Ogre::U< T >::resize(), size(), and Ogre::SmallVectorImpl< T >::swap().

## end() [2/2]

template<typename T>

const_iterator Ogre::SmallVectorTemplateCommon< T >::end | ( |  | ) | const

inline

## rbegin() [1/2]

template<typename T>

reverse_iterator Ogre::SmallVectorTemplateCommon< T >::rbegin | ( |  | ) |

inline

References end().

## rbegin() [2/2]

template<typename T>

const_reverse_iterator Ogre::SmallVectorTemplateCommon< T >::rbegin | ( |  | ) | const

inline

References end().

## rend() [1/2]

template<typename T>

reverse_iterator Ogre::SmallVectorTemplateCommon< T >::rend | ( |  | ) |

inline

References begin().

## rend() [2/2]

template<typename T>

const_reverse_iterator Ogre::SmallVectorTemplateCommon< T >::rend | ( |  | ) | const

inline

References begin().

## size()

template<typename T>

size_type Ogre::SmallVectorTemplateCommon< T >::size | ( |  | ) | const

inline

References begin(), and end().

Referenced by Ogre::U< T >::append(), Ogre::U< T >::append(), Ogre::SmallVectorTemplateBase< T, isPodLike >::grow(), Ogre::U< T >::insert(), Ogre::U< T >::insert(), Ogre::SmallVectorImpl< T >::operator=(), Ogre::U< T >::operator==(), Ogre::U< T >::resize(), Ogre::U< T >::resize(), and Ogre::SmallVectorImpl< T >::swap().

## 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.

References begin().

Referenced by Ogre::U< T >::assign(), Ogre::SmallVectorTemplateBase< T, isPodLike >::grow(), Ogre::SmallVectorImpl< T >::operator=(), Ogre::U< T >::reserve(), Ogre::U< T >::resize(), Ogre::U< T >::resize(), Ogre::U< T >::set_size(), and Ogre::SmallVectorImpl< T >::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().

References begin().

## 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().

References begin().

## operator[]() [1/2]

template<typename T>

reference Ogre::SmallVectorTemplateCommon< T >::operator[] | ( | unsigned | idx | ) |

inline

References begin(), and end().

## operator[]() [2/2]

template<typename T>

const_reference Ogre::SmallVectorTemplateCommon< T >::operator[] | ( | unsigned | idx | ) | const

inline

References begin(), and end().

## front() [1/2]

template<typename T>

reference Ogre::SmallVectorTemplateCommon< T >::front | ( |  | ) |

inline

References begin().

## front() [2/2]

template<typename T>

const_reference Ogre::SmallVectorTemplateCommon< T >::front | ( |  | ) | const

inline

References begin().

## back() [1/2]

template<typename T>

reference Ogre::SmallVectorTemplateCommon< T >::back | ( |  | ) |

inline

References end().

Referenced by Ogre::U< T >::insert(), Ogre::U< T >::pop_back_val(), and Ogre::VectorSet< T, S >::remove().

## back() [2/2]

template<typename T>

const_reference Ogre::SmallVectorTemplateCommon< T >::back | ( |  | ) | const

inline

References end().

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

- OgreSmallVector.h