MAXON API - Decorators

As a 3rd party developer you normally don’t have to deal with decorators.
This is used only to exposes C++ MAXON API Component to Python.

Decorators

Interface Decorator

MAXON_INTERFACE(REFKIND, ID[, doObjectCheck])
MAXON_INTERFACE_REFERENCE() Decorator to defines an Interface that can be treated as Reference at the same time.
MAXON_INTERFACE_NONVIRTUAL(REFKIND, ID)
MAXON_STATICMETHOD(identifier[, returnType, …])
MAXON_METHOD([identifier, returnType, …])
MAXON_FUNCTION(identifier) At the moment MAXON_FUNCTION is just a dummy function to mark the function that it is trampolin code to another function.
MAXON_STATICFUNCTION(identifier) At the moment MAXON_STATICFUNCTION is just a dummy function to mark the function that it is trampolin code to another function.
MAXON_OVERLOAD() At the moment MAXON_OVERLOAD is just a dummy function to mark a function being overloaded
MAXON_FUNCTION_EXTEND(identifier) At the moment MAXON_FUNCTION_EXTEND is just a dummy function to mark the function that it is trampolin code to another function.
MAXON_REFERENCE(SUPERCLASS)

Enum Decorator

MAXON_ENUM_FLAGS(id)
MAXON_ENUM_LIST(id)

Registration Decorator

MAXON_COMPONENT([kind]) Decorator to mark an element as a maxon API component (available from a registry)
MAXON_COMPONENT_OBJECT_REGISTER(impl, …[, …])
MAXON_COMPONENT_OBJECT_REGISTER registers a component, creates an object class which uses the component and
MAXON_COMPONENT_CLASS_REGISTER(impl, …[, …])
MAXON_COMPONENT_OBJECT_REGISTER registers a component, creates an object class which uses the component and
MAXON_REGISTRY(ids[, returnType])

Indices and tables