Teamcenter C++ API Reference  2312
Classes | Namespaces | Macros
SmAllocHelper.hxx File Reference
#include <cstdio>
#include <base_utils/libbase_utils_exports.h>
#include <base_utils/libbase_utils_undef.h>

Go to the source code of this file.

Classes

class  Teamcenter::SmAllocHelper
 

Namespaces

namespace  Teamcenter
 A convenient C++ class to manage a list of tag_t. This convenient class is derived from TagList class which is only available for internal developers.
 

Macros

#define SM_ALLOC_PERSISTENT_ARRAY_S(type, count)   ( ( type* )Teamcenter::SmAllocHelper::SM_ALLOC_PERSISTENT_S( count * sizeof( type ) ) )
 
#define SM_CALLOC_PERSISTENT_ARRAY_S(type, count)   ( ( type* )Teamcenter::SmAllocHelper::SM_CALLOC_PERSISTENT_S( count, sizeof( type ) ) )
 

Detailed Description

Helper methods that takes care of null checks returned by SM APIs

Definition in file SmAllocHelper.hxx.

Macro Definition Documentation

#define SM_ALLOC_PERSISTENT_ARRAY_S (   type,
  count 
)    ( ( type* )Teamcenter::SmAllocHelper::SM_ALLOC_PERSISTENT_S( count * sizeof( type ) ) )

Definition at line 23 of file SmAllocHelper.hxx.

#define SM_CALLOC_PERSISTENT_ARRAY_S (   type,
  count 
)    ( ( type* )Teamcenter::SmAllocHelper::SM_CALLOC_PERSISTENT_S( count, sizeof( type ) ) )

Definition at line 24 of file SmAllocHelper.hxx.