Bifrost SDK
Bifrost SDK documentation
ClassDeclare.h File Reference

Macros used to declare functions and traits about classes exposed to Amino. More...

#include <Amino/Core/internal/DefaultClassDeclare.h>

Go to the source code of this file.

Macros

#define AMINO_DECLARE_DEFAULT_CLASS(API, TYPE)    AMINO_INTERNAL_DECLARE_DEFAULT_CLASS(API, TYPE)
 Macro for generating the getDefault entry point declaration related to a given opaque type. More...
 

Detailed Description

Macros used to declare functions and traits about classes exposed to Amino.

This should be included in the .h file, and its counterpart ClassDefine.h should be included in the .cpp file.

Definition in file ClassDeclare.h.

Macro Definition Documentation

◆ AMINO_DECLARE_DEFAULT_CLASS

#define AMINO_DECLARE_DEFAULT_CLASS (   API,
  TYPE 
)     AMINO_INTERNAL_DECLARE_DEFAULT_CLASS(API, TYPE)

Macro for generating the getDefault entry point declaration related to a given opaque type.

Warning
The AMINO_DECLARE_DEFAULT_CLASS must be added in the header file. It must be added in the global namespace (i.e. not in a namespace).

This is necessary to allow Amino graphs to create default values for opaque, class types.

Definition at line 36 of file ClassDeclare.h.