Teamcenter C++ API Reference  2312
Classes | Macros
SmAllocator.hxx File Reference
#include <cstddef>
#include <base_utils/Mem.h>
#include <limits.h>
#include <new>

Go to the source code of this file.

Classes

class  sm_allocator< T >::rebind< U >
 
class  sm_allocator< T >
 Provides a way to leverage NX Storage Management (SM) for memory allocation in STL library. More...
 

Macros

#define SGISTATIC
 
#define USE_REBIND_CLASS
 

Detailed Description

This file contains an STL allocator class that uses SM (StorageManagement module from NX) persistent memory as its underlying storage area.
One of the key features of SM is that allocated memory is returned to the Operating System once deallocated. This means that the memory footprint of the application just not increases, but can also decrease significantly.

Definition in file SmAllocator.hxx.

Macro Definition Documentation

#define SGISTATIC

Definition at line 31 of file SmAllocator.hxx.

#define USE_REBIND_CLASS

Definition at line 37 of file SmAllocator.hxx.