SmallVectorBase - This is all the non-templated stuff common to all SmallVectors. More...
#include <OgreSmallVector.h>
Classes | |
union | U |
Public Member Functions | |
bool | empty () const |
Protected Member Functions | |
SmallVectorBase (size_t Size) | |
size_t | capacity_in_bytes () const |
capacity_in_bytes - This returns capacity()*sizeof(T). More... | |
void | grow_pod (size_t MinSizeInBytes, size_t TSize) |
grow_pod - This is an implementation of the grow() method which only works More... | |
bool | isSmall () const |
isSmall - Return true if this is a smallvector which has not had dynamic memory allocated for it. More... | |
size_t | size_in_bytes () const |
size_in_bytes - This returns size()*sizeof(T). More... | |
Protected Attributes | |
void * | BeginX |
void * | CapacityX |
void * | EndX |
union Ogre::SmallVectorBase::U | FirstEl |
SmallVectorBase - This is all the non-templated stuff common to all SmallVectors.
Definition at line 116 of file OgreSmallVector.h.
|
protected |
Definition at line 134 of file OgreSmallVector.h.
|
protected |
capacity_in_bytes - This returns capacity()*sizeof(T).
Definition at line 149 of file OgreSmallVector.h.
bool Ogre::SmallVectorBase::empty | ( | ) | const |
Definition at line 158 of file OgreSmallVector.h.
References EndX.
Referenced by Ogre::SmallVector< T, S >::SmallVector().
|
protected |
grow_pod - This is an implementation of the grow() method which only works
on POD-like data types and is out of line to reduce code duplication.
Referenced by Ogre::SmallVectorTemplateBase< T, true >::grow().
|
protected |
isSmall - Return true if this is a smallvector which has not had dynamic memory allocated for it.
Definition at line 139 of file OgreSmallVector.h.
References FirstEl.
Referenced by Ogre::SmallVectorImpl< T >::swap(), and Ogre::SmallVectorImpl< PMTriangle * >::~SmallVectorImpl().
|
protected |
size_in_bytes - This returns size()*sizeof(T).
Definition at line 144 of file OgreSmallVector.h.
|
protected |
Definition at line 118 of file OgreSmallVector.h.
Referenced by Ogre::SmallVectorTemplateCommon< PMTriangle * >::begin(), Ogre::SmallVectorImpl< PMTriangle * >::clear(), and Ogre::SmallVectorImpl< T >::swap().
|
protected |
Definition at line 118 of file OgreSmallVector.h.
Referenced by Ogre::SmallVectorTemplateCommon< PMTriangle * >::capacity_ptr(), Ogre::SmallVectorImpl< PMTriangle * >::insert(), Ogre::SmallVectorImpl< PMTriangle * >::push_back(), and Ogre::SmallVectorImpl< T >::swap().
|
protected |
Definition at line 118 of file OgreSmallVector.h.
Referenced by Ogre::SmallVectorImpl< PMTriangle * >::clear(), empty(), Ogre::SmallVectorTemplateCommon< PMTriangle * >::end(), Ogre::SmallVectorTemplateCommon< PMTriangle * >::setEnd(), and Ogre::SmallVectorImpl< T >::swap().
|
protected |
Referenced by isSmall().
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sat Sep 20 2014 20:06:46