![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreMemorySTLAllocator.h>
Inheritance diagram for Ogre::STLAllocator< T, AllocPolicy >:Classes | |
| struct | rebind |
| the standard rebind mechanism More... | |
Public Types | |
| typedef STLAllocatorBase< T > | Base |
| define our types, as per ISO C++ | |
| typedef const value_type * | const_pointer |
| typedef const value_type & | const_reference |
| typedef std::ptrdiff_t | difference_type |
| typedef value_type * | pointer |
| typedef value_type & | reference |
| typedef std::size_t | size_type |
| typedef Base::value_type | value_type |
Public Member Functions | |
| STLAllocator () | |
| ctor | |
| STLAllocator (STLAllocator const &) | |
| copy ctor - done component wise | |
| template<typename U > | |
| STLAllocator (STLAllocator< U, AllocPolicy > const &) | |
| cast | |
| template<typename U , typename P > | |
| STLAllocator (STLAllocator< U, P > const &) | |
| cast | |
| ~STLAllocator () | |
| dtor | |
| const_pointer | address (const_reference x) const |
| pointer | address (reference x) const |
| pointer | allocate (size_type count, typename std::allocator< void >::const_pointer ptr=0) |
| memory allocation (elements, used by STL) | |
| void | construct (pointer p) |
| void | construct (pointer p, const T &val) |
| void | deallocate (pointer ptr, size_type) |
| memory deallocation (elements, used by STL) | |
| void | destroy (pointer p) |
| size_type | max_size () const throw () |
| typedef STLAllocatorBase<T> Ogre::STLAllocator< T, AllocPolicy >::Base |
define our types, as per ISO C++
| typedef const value_type* Ogre::STLAllocator< T, AllocPolicy >::const_pointer |
| typedef const value_type& Ogre::STLAllocator< T, AllocPolicy >::const_reference |
| typedef std::ptrdiff_t Ogre::STLAllocator< T, AllocPolicy >::difference_type |
| typedef value_type* Ogre::STLAllocator< T, AllocPolicy >::pointer |
| typedef value_type& Ogre::STLAllocator< T, AllocPolicy >::reference |
| typedef std::size_t Ogre::STLAllocator< T, AllocPolicy >::size_type |
| typedef Base::value_type Ogre::STLAllocator< T, AllocPolicy >::value_type |
|
inlineexplicit |
ctor
|
inline |
dtor
|
inline |
copy ctor - done component wise
|
inline |
cast
|
inline |
cast
|
inline |
|
inline |
|
inline |
memory allocation (elements, used by STL)
|
inline |
|
inline |
|
inline |
memory deallocation (elements, used by STL)
|
inline |
|
inline | ||||||||||||