Macros
Inject.hpp File Reference

(1)

Injectable.hpp macros without Balau prefix. More...

#include <Balau/Application/Injectable.hpp>
Include dependency graph for Inject.hpp:

Go to the source code of this file.

Macros

#define Inject(...)   BalauInject(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its direct or indirect dependency fields. More...
 
#define InjectConstruct(...)   BalauInjectConstruct(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its direct or indirect dependency fields. More...
 
#define InjectConstructNamed(...)   BalauInjectConstructNamed(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its named direct or indirect dependency fields. More...
 
#define InjectNamed(...)   BalauInjectNamed(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and its named direct or indirect dependency fields. More...
 
#define InjectNamedTypes(...)   BalauInjectNamedTypes(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and the named types of its dependencies. More...
 
#define InjectTypes(...)   BalauInjectTypes(__VA_ARGS__)
 Annotate an injectable class by specifying the class name and the types of its dependencies. More...
 

Detailed Description

Injectable.hpp macros without Balau prefix.

Macro Definition Documentation

◆ Inject

#define Inject (   ...)    BalauInject(__VA_ARGS__)

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

◆ InjectConstruct

#define InjectConstruct (   ...)    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.

◆ InjectConstructNamed

#define InjectConstructNamed (   ...)    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.

◆ InjectNamed

#define InjectNamed (   ...)    BalauInjectNamed(__VA_ARGS__)

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

◆ InjectNamedTypes

#define InjectNamedTypes (   ...)    BalauInjectNamedTypes(__VA_ARGS__)

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

◆ InjectTypes

#define InjectTypes (   ...)    BalauInjectTypes(__VA_ARGS__)

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