![]() TGE Version 1.5.2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FrameTemp< T > Class Template Reference#include <frameAllocator.h>
Detailed Description
Class for temporary variables that you want to allocate easily using the FrameAllocator.
|
Public Member Functions | |
FrameTemp (const U32 count=1) | |
Constructor will store the FrameAllocator watermark and allocate the memory off of the FrameAllocator. | |
~FrameTemp () | |
Destructor restores the watermark. | |
T * | operator~ () |
NOTE: This will return the memory, NOT perform a ones-complement. | |
const T * | operator~ () const |
NOTE: This will return the memory, NOT perform a ones-complement. | |
T & | operator+ () |
NOTE: This will dereference the memory, NOT do standard unary plus behavior. | |
const T & | operator+ () const |
NOTE: This will dereference the memory, NOT do standard unary plus behavior. | |
T & | operator * () |
const T & | operator * () const |
T ** | operator & () |
const T ** | operator & () const |
operator T * () | |
operator const T * () const | |
operator T & () | |
operator const T & () const | |
operator T () | |
operator const T () const | |
Protected Attributes | |
U32 | mWaterMark |
T * | mMemory |
Constructor will store the FrameAllocator watermark and allocate the memory off of the FrameAllocator.
FrameTemp<F64> f64s(5);
count | The number of objects to allocate |
T* FrameTemp< T >::operator~ | ( | ) | [inline] |
NOTE: This will return the memory, NOT perform a ones-complement.
const T* FrameTemp< T >::operator~ | ( | ) | const [inline] |
NOTE: This will return the memory, NOT perform a ones-complement.
T& FrameTemp< T >::operator+ | ( | ) | [inline] |
NOTE: This will dereference the memory, NOT do standard unary plus behavior.
const T& FrameTemp< T >::operator+ | ( | ) | const [inline] |
NOTE: This will dereference the memory, NOT do standard unary plus behavior.
T& FrameTemp< T >::operator * | ( | ) | [inline] |
const T& FrameTemp< T >::operator * | ( | ) | const [inline] |
T** FrameTemp< T >::operator & | ( | ) | [inline] |
const T** FrameTemp< T >::operator & | ( | ) | const [inline] |
FrameTemp< T >::operator T * | ( | ) | [inline] |
FrameTemp< T >::operator const T * | ( | ) | const [inline] |
FrameTemp< T >::operator T & | ( | ) | [inline] |
FrameTemp< T >::operator const T & | ( | ) | const [inline] |
FrameTemp< T >::operator T | ( | ) | [inline] |
FrameTemp< T >::operator const T | ( | ) | const [inline] |
U32 FrameTemp< T >::mWaterMark [protected] |