#include <SmAllocHelper.hxx>
Definition at line 30 of file SmAllocHelper.hxx.
| 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: