OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Lightweight implementation of std::vector. More...
#include <OgreFastArray.h>
Public Types | |
typedef const T * | const_iterator |
typedef T * | iterator |
typedef T | value_type |
Public Member Functions | |
FastArray () | |
FastArray (const FastArray< T > ©) | |
FastArray (size_t reserveAmount) | |
Creates an array reserving the amount of elements (memory is not initialized) More... | |
FastArray (size_t count, const T &value) | |
Creates an array pushing the value N times. More... | |
~FastArray () | |
void | appendPOD (const_iterator otherBegin, const_iterator otherEnd) |
T & | back () |
const T & | back () const |
iterator | begin () |
const_iterator | begin () const |
size_t | capacity () const |
void | clear () |
void | destroy () |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
iterator | erase (iterator toErase) |
iterator | erase (iterator first, iterator last) |
iterator | erasePOD (iterator first, iterator last) |
T & | front () |
const T & | front () const |
iterator | insert (iterator where, const T &val) |
iterator | insertPOD (iterator where, const_iterator otherBegin, const_iterator otherEnd) |
otherBegin & otherEnd must not overlap with this->begin() and this->end() More... | |
void | operator= (const FastArray< T > ©) |
T & | operator[] (size_t idx) |
const T & | operator[] (size_t idx) const |
void | pop_back () |
void | push_back (const T &val) |
void | reserve (size_t reserveAmount) |
void | resize (size_t newSize, const T &value=T()) |
void | resizePOD (size_t newSize, const T &value=T()) |
size_t | size () const |
void | swap (FastArray< T > &other) |
Lightweight implementation of std::vector.
typedef const T* Ogre::FastArray< T >::const_iterator |
typedef T* Ogre::FastArray< T >::iterator |
typedef T Ogre::FastArray< T >::value_type |
|
inline |
|
inline |
|
inline |
Creates an array reserving the amount of elements (memory is not initialized)
|
inline |
Creates an array pushing the value N times.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Ogre::FastArray< Renderable * >::~FastArray().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Ogre::ObjCmdBuffer::addCommand().
|
inline |
|
inline |
Referenced by Ogre::CommandBuffer::addCommand().
|
inline |
|
inline |
Referenced by Ogre::CommandBuffer::addCommand(), Ogre::DescriptorSetSampler::checkValidity(), Ogre::HlmsComputeJob::getNumTexUnits(), Ogre::HlmsComputeJob::getNumUavUnits(), Ogre::DescriptorSetSampler::operator!=(), Ogre::DescriptorSetTexture::operator!=(), Ogre::DescriptorSetUav::operator!=(), Ogre::DescriptorSetTexture2::operator!=(), Ogre::DescriptorSetSampler::operator<(), Ogre::DescriptorSetTexture::operator<(), Ogre::DescriptorSetUav::operator<(), and Ogre::DescriptorSetTexture2::operator<().
|
inline |