#include <OgreAlignedAllocator.h>
Public Types | |
typedef T | value_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
AlignedAllocator () | |
template<typename U, unsigned A> | |
AlignedAllocator (const AlignedAllocator< U, A > &) | |
bool | operator== (const AlignedAllocator &) const |
bool | operator!= (const AlignedAllocator &) const |
Static Public Member Functions | |
static pointer | address (reference r) |
static const_pointer | address (const_reference s) |
static size_type | max_size () |
static void | construct (const pointer ptr, const value_type &t) |
static void | destroy (const pointer ptr) |
static pointer | allocate (const size_type n) |
static pointer | allocate (const size_type n, const void *const) |
static void | deallocate (const pointer ptr, const size_type) |
Private Types | |
typedef int | IsValidAlignment [Alignment<=128 &&((Alignment &(Alignment-1))==0)?+1:-1] |
Classes | |
struct | rebind |
Definition at line 104 of file OgreAlignedAllocator.h.
typedef int Ogre::AlignedAllocator< T, Alignment >::IsValidAlignment[Alignment<=128 &&((Alignment &(Alignment-1))==0)?+1:-1] [private] |
Definition at line 108 of file OgreAlignedAllocator.h.
typedef T Ogre::AlignedAllocator< T, Alignment >::value_type |
Definition at line 113 of file OgreAlignedAllocator.h.
typedef value_type* Ogre::AlignedAllocator< T, Alignment >::pointer |
Definition at line 115 of file OgreAlignedAllocator.h.
typedef const value_type* Ogre::AlignedAllocator< T, Alignment >::const_pointer |
Definition at line 116 of file OgreAlignedAllocator.h.
typedef value_type& Ogre::AlignedAllocator< T, Alignment >::reference |
Definition at line 117 of file OgreAlignedAllocator.h.
typedef const value_type& Ogre::AlignedAllocator< T, Alignment >::const_reference |
Definition at line 118 of file OgreAlignedAllocator.h.
typedef std::size_t Ogre::AlignedAllocator< T, Alignment >::size_type |
Definition at line 119 of file OgreAlignedAllocator.h.
typedef std::ptrdiff_t Ogre::AlignedAllocator< T, Alignment >::difference_type |
Definition at line 120 of file OgreAlignedAllocator.h.
Ogre::AlignedAllocator< T, Alignment >::AlignedAllocator | ( | ) |
Definition at line 129 of file OgreAlignedAllocator.h.
Ogre::AlignedAllocator< T, Alignment >::AlignedAllocator | ( | const AlignedAllocator< U, A > & | ) |
Definition at line 137 of file OgreAlignedAllocator.h.
static pointer Ogre::AlignedAllocator< T, Alignment >::address | ( | reference | r | ) | [static] |
Definition at line 143 of file OgreAlignedAllocator.h.
static const_pointer Ogre::AlignedAllocator< T, Alignment >::address | ( | const_reference | s | ) | [static] |
Definition at line 145 of file OgreAlignedAllocator.h.
static size_type Ogre::AlignedAllocator< T, Alignment >::max_size | ( | ) | [static] |
Definition at line 147 of file OgreAlignedAllocator.h.
static void Ogre::AlignedAllocator< T, Alignment >::construct | ( | const pointer | ptr, | |
const value_type & | t | |||
) | [static] |
Definition at line 149 of file OgreAlignedAllocator.h.
static void Ogre::AlignedAllocator< T, Alignment >::destroy | ( | const pointer | ptr | ) | [static] |
Definition at line 151 of file OgreAlignedAllocator.h.
bool Ogre::AlignedAllocator< T, Alignment >::operator== | ( | const AlignedAllocator< T, Alignment > & | ) | const |
Definition at line 157 of file OgreAlignedAllocator.h.
bool Ogre::AlignedAllocator< T, Alignment >::operator!= | ( | const AlignedAllocator< T, Alignment > & | ) | const |
Definition at line 159 of file OgreAlignedAllocator.h.
static pointer Ogre::AlignedAllocator< T, Alignment >::allocate | ( | const size_type | n | ) | [static] |
Definition at line 162 of file OgreAlignedAllocator.h.
References Ogre::AlignedMemory::allocate().
Referenced by Ogre::AlignedAllocator< T, Alignment >::allocate().
static pointer Ogre::AlignedAllocator< T, Alignment >::allocate | ( | const size_type | n, | |
const void * | const | |||
) | [static] |
Definition at line 170 of file OgreAlignedAllocator.h.
References Ogre::AlignedAllocator< T, Alignment >::allocate().
static void Ogre::AlignedAllocator< T, Alignment >::deallocate | ( | const pointer | ptr, | |
const | size_type | |||
) | [static] |
Definition at line 174 of file OgreAlignedAllocator.h.
References Ogre::AlignedMemory::deallocate().
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Thu Jun 19 20:37:58 2008