Teamcenter C++ API Reference  2312
Static Public Member Functions | List of all members
Teamcenter::SmAllocHelper Class Reference

#include <SmAllocHelper.hxx>

Static Public Member Functions

static void * SM_ALLOC_PERSISTENT_S (size_t nBytes)
 
static void * SM_CALLOC_PERSISTENT_S (size_t nElements, size_t elementSize)
 
static void * SM_REALLOC_PERSISTENT_S (void *ptr, size_t nBytes)
 

Detailed Description

Definition at line 30 of file SmAllocHelper.hxx.

Member Function Documentation

static void* Teamcenter::SmAllocHelper::SM_ALLOC_PERSISTENT_S ( size_t  nBytes)
static
Returns
  • Pointer to allocated block of memory on success
  • NULL if nBytes is NULL.
  • Throws #BASE_UTILS_no_memory on failure if the registered error handler during SM_init does not throw exception
static void* Teamcenter::SmAllocHelper::SM_CALLOC_PERSISTENT_S ( size_t  nElements,
size_t  elementSize 
)
static
Returns
  • Pointer to allocated block of memory on success
  • NULL if nElements or elementSize is NULL.
  • Throws #BASE_UTILS_no_memory on failure if the registered error handler during SM_init does not throw exception
static void* Teamcenter::SmAllocHelper::SM_REALLOC_PERSISTENT_S ( void *  ptr,
size_t  nBytes 
)
static
Returns
  • Pointer to allocated block of memory on success
  • NULL if nBytes is NULL.
  • Throws #BASE_UTILS_no_memory on failure if the registered error handler during SM_init does not throw exception

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