Macros
Injectable.hpp File Reference

(2)

Injection macros used in injectable classes. More...

#include <Balau/Application/Injector.hpp>
#include <Balau/Application/Impl/InjectorMacros.hpp>
Include dependency graph for Injectable.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BalauInject(...)   _BalauInject(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its direct or indirect dependency fields. More...
 
#define BalauInjectConstruct(...)   _BalauInjectConstruct(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its direct or indirect dependency fields. More...
 
#define BalauInjectConstructNamed(...)   _BalauInjectConstructNamed(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its named direct or indirect dependency fields. More...
 
#define BalauInjectNamed(...)   _BalauInjectNamed(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its named direct or indirect dependency fields. More...
 
#define BalauInjectNamedTypes(...)   _BalauInjectNamedTypes(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and the named types of its dependencies. More...
 
#define BalauInjectTypes(...)   _BalauInjectTypes(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and the types of its dependencies. More...
 

Detailed Description

Injection macros used in injectable classes.

Macro Definition Documentation

◆ BalauInject

#define BalauInject (   ...)    _BalauInject(__VA_ARGS__)

Annotate an injectable class by specifying the class name and its direct or indirect dependency fields.

◆ BalauInjectConstruct

#define BalauInjectConstruct (   ...)    _BalauInjectConstruct(__VA_ARGS__)

Annotate an injectable class by specifying the class name and its direct or indirect dependency fields.

This version includes the definition of an injectable constructor.

◆ BalauInjectConstructNamed

#define BalauInjectConstructNamed (   ...)    _BalauInjectConstructNamed(__VA_ARGS__)

Annotate an injectable class by specifying the class name and its named direct or indirect dependency fields.

This version includes the definition of an injectable constructor.

◆ BalauInjectNamed

#define BalauInjectNamed (   ...)    _BalauInjectNamed(__VA_ARGS__)

Annotate an injectable class by specifying the class name and its named direct or indirect dependency fields.

◆ BalauInjectNamedTypes

#define BalauInjectNamedTypes (   ...)    _BalauInjectNamedTypes(__VA_ARGS__)

Annotate an injectable class by specifying the class name and the named types of its dependencies.

◆ BalauInjectTypes

#define BalauInjectTypes (   ...)    _BalauInjectTypes(__VA_ARGS__)

Annotate an injectable class by specifying the class name and the types of its dependencies.