A template class for arrays.
More...
#include <kaydaradef.h>
#include <fbsdk/fbversion.h>
#include <assert.h>
#include <string.h>
Go to the source code of this file.
|
| #define | FBSDK_DLL K_DLLIMPORT |
| | Ensure that FBSDK_DLL is defined only once...
|
| |
| #define | FB_DEFINE_ARRAY(DllTag, Type) typedef class DllTag FBArrayTemplate< FB##Type* > FBArray##Type; |
| | Define an array (template) for a component (discard the FB..).
|
| |
| #define | FBImplementArray(DllTag, Type) template class DllTag FBSDKNamespaceFunc( FBArrayTemplate ) < FB##Type* >; |
| | Implement an array.
|
| |
|
| K_DLLIMPORT void * | FBRealloc (void *memblock, size_t size) |
| | General allocation function, actually calling standard function "realloc".
|
| |
| K_DLLIMPORT void | FBFree (void *memblock) |
| | General free function, actually calling standard function "free".
|
| |
A template class for arrays.
Definition in file fbarray.h.
◆ FB_DEFINE_ARRAY
| #define FB_DEFINE_ARRAY |
( |
|
DllTag, |
|
|
|
Type |
|
) |
| typedef class DllTag FBArrayTemplate< FB##Type* > FBArray##Type; |
Define an array (template) for a component (discard the FB..).
Define a type corresponding to the array in the header file.
- Parameters
-
| DllTag | Associated DLL. |
| Type | Type (component) to register as an array (discard the FB). |
Definition at line 360 of file fbarray.h.
◆ FBImplementArray
| #define FBImplementArray |
( |
|
DllTag, |
|
|
|
Type |
|
) |
| template class DllTag FBSDKNamespaceFunc( FBArrayTemplate ) < FB##Type* >; |
Implement an array.
Instanciates the template class in the *.cxx file.
- Parameters
-
| DllTag | Associated DLL. |
| Type | Type to register as an array. |
Definition at line 368 of file fbarray.h.
◆ FBSDK_DLL
| #define FBSDK_DLL K_DLLIMPORT |
Ensure that FBSDK_DLL is defined only once...
Definition at line 47 of file fbarray.h.
◆ FBArrayBool
◆ FBArrayChar
◆ FBArrayDouble
◆ FBArrayFloat
◆ FBArrayHBool
Pre-defined common used array types.
Definition at line 340 of file fbarray.h.
◆ FBArrayHChar
◆ FBArrayHkDouble
◆ FBArrayHkFloat
◆ FBArrayHkInt
◆ FBArrayHkUInt
◆ FBArrayHVoid
◆ FBArrayInt
◆ FBArrayUInt
◆ FBFree()
| K_DLLIMPORT void FBFree |
( |
void * |
memblock | ) |
|
◆ FBRealloc()
| K_DLLIMPORT void * FBRealloc |
( |
void * |
memblock, |
|
|
size_t |
size |
|
) |
| |