Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Static Public Member Functions | Static Public Attributes
cat::Aligned Class Reference

#include <AlignedAlloc.hpp>

List of all members.

Public Member Functions

CAT_INLINE Aligned ()

Static Public Member Functions

static void * Acquire (u32 bytes)
template<class T >
static void Delete (T *ptr)
static void Release (void *ptr)
static void * Resize (void *ptr, u32 bytes)

Static Public Attributes

static Aligned ii

Detailed Description

Definition at line 42 of file AlignedAlloc.hpp.


Constructor & Destructor Documentation

CAT_INLINE cat::Aligned::Aligned ( ) [inline]

Definition at line 45 of file AlignedAlloc.hpp.

{}

Member Function Documentation

static void* cat::Aligned::Acquire ( u32  bytes) [static]
template<class T >
static void cat::Aligned::Delete ( T ptr) [inline, static]

Definition at line 57 of file AlignedAlloc.hpp.

References Release().

    {
        ptr->~T();
        Release(ptr);
    }
static void cat::Aligned::Release ( void *  ptr) [static]
static void* cat::Aligned::Resize ( void *  ptr,
u32  bytes 
) [static]

Member Data Documentation

Definition at line 63 of file AlignedAlloc.hpp.


The documentation for this class was generated from the following file:

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net