Module creation properties. More...
#include <arcane/core/ModuleProperty.h>
Public Member Functions | |
| ModuleProperty (const char *aname, bool is_autoload) ARCANE_NOEXCEPT | |
| Constructs an instance for a module named aname. | |
| ModuleProperty (const char *aname) ARCANE_NOEXCEPT | |
| Constructs an instance for a module named aname. | |
| const char * | name () const |
| Module name. | |
| bool | isAutoload () const |
| Indicates if the module is automatically loaded. | |
Private Attributes | |
| const char * | m_name |
| bool | m_is_autoload |
Module creation properties.
This class is used in module registration macros and can therefore be instantiated as a global variable before entering the code's main(). It must therefore only contain Plain Object Data (POD) fields.
Generally, instances of this class are used when registering a service via the ARCANE_REGISTER_MODULES() macro.
Definition at line 38 of file ModuleProperty.h.
|
inline |
Constructs an instance for a module named aname.
Definition at line 45 of file ModuleProperty.h.
|
inlineexplicit |
Constructs an instance for a module named aname.
Definition at line 54 of file ModuleProperty.h.
|
inline |
Indicates if the module is automatically loaded.
Definition at line 66 of file ModuleProperty.h.
|
inline |
Module name.
Definition at line 63 of file ModuleProperty.h.
|
private |
Definition at line 71 of file ModuleProperty.h.
|
private |
Definition at line 70 of file ModuleProperty.h.