fbsdk/fbarray.h File Reference

fbarray.h File Reference
#include <kaydaradef.h>
#include <fbsdk/fbversion.h>
#include <assert.h>
#include <string.h>

File Description

A template class for arrays.

Definition in file fbarray.h.

Classes

class  FBArrayTemplate< Type >
 Template class to contain an array of items. More...
 

Namespaces

 ORSDK2018
 

Macros

#define FBSDK_DLL   K_DLLIMPORT
 Ensure that FBSDK_DLL is defined only once... More...
 
#define FB_DEFINE_ARRAY(DllTag, Type)   typedef class DllTag FBArrayTemplate< FB##Type* > FBArray##Type;
 Define an array (template) for a component (discard the FB..). More...
 
#define FBImplementArray(DllTag, Type)   template class DllTag FBSDKNamespaceFunc( FBArrayTemplate ) < FB##Type* >;
 Implement an array. More...
 

Typedefs

typedef class FBArrayTemplate< bool * > FBArrayHBool
 Pre-defined common used array types. More...
 
typedef class FBArrayTemplate< char * > FBArrayHChar
 
typedef class FBArrayTemplate< int * > FBArrayHkInt
 
typedef class FBArrayTemplate< unsigned int * > FBArrayHkUInt
 
typedef class FBArrayTemplate< float * > FBArrayHkFloat
 
typedef class FBArrayTemplate< double * > FBArrayHkDouble
 
typedef class FBArrayTemplate< void * > FBArrayHVoid
 
typedef class FBArrayTemplate< boolFBArrayBool
 
typedef class FBArrayTemplate< char > FBArrayChar
 
typedef class FBArrayTemplate< intFBArrayInt
 
typedef class FBArrayTemplate< unsigned intFBArrayUInt
 
typedef class FBArrayTemplate< float > FBArrayFloat
 
typedef class FBArrayTemplate< double > FBArrayDouble
 

Functions

void * FBRealloc (void *memblock, size_t size)
 General allocation function, actually calling standard function "realloc". More...
 
void FBFree (void *memblock)
 General free function, actually calling standard function "free". More...
 

Macro Definition Documentation

#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
DllTagAssociated DLL.
TypeType (component) to register as an array (discard the FB).

Definition at line 360 of file fbarray.h.

#define FBImplementArray (   DllTag,
  Type 
)    template class DllTag FBSDKNamespaceFunc( FBArrayTemplate ) < FB##Type* >;

Implement an array.

Instanciates the template class in the *.cxx file.

Parameters
DllTagAssociated DLL.
TypeType to register as an array.

Definition at line 371 of file fbarray.h.

#define FBSDK_DLL   K_DLLIMPORT

Ensure that FBSDK_DLL is defined only once...

Definition at line 47 of file fbarray.h.

Go to the source code of this file.