Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Namespaces | Typedefs | Functions
RegionAllocator.hpp File Reference
#include <cat/Singleton.hpp>
#include <memory>
#include <xstring>
#include <sstream>
Include dependency graph for RegionAllocator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cat::RegionAllocator
struct  cat::RegionAllocator::RegionInfo
struct  cat::RegionAllocator::RegionInfoHead
class  cat::STLRegionAllocator< T >
struct  cat::STLRegionAllocator< T >::rebind< S >

Namespaces

namespace  cat

Typedefs

typedef
std::basic_ostringstream< char,
std::char_traits< char >
, STLRegionAllocator< char > > 
cat::region_ostringstream
typedef std::basic_string
< char, std::char_traits< char >
, STLRegionAllocator< char > > 
cat::region_string

Functions

void operator delete (void *ptr, cat::RegionAllocator *allocator)
void * operator new (size_t bytes, cat::RegionAllocator *allocator)

Function Documentation

void operator delete ( void *  ptr,
cat::RegionAllocator allocator 
) [inline]

Definition at line 199 of file RegionAllocator.hpp.

References cat::RegionAllocator::Release().

{
    allocator->Release(ptr);
}
void* operator new ( size_t  bytes,
cat::RegionAllocator allocator 
) [inline]

Definition at line 194 of file RegionAllocator.hpp.

References cat::RegionAllocator::Acquire().

{
    return allocator->Acquire((cat::u32)bytes);
}

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