#include <AttributeInjector.h>
Public Member Functions | |
| template<InjectableAttribute Attribute, fixed_string key = ""> | |
| constexpr bool | setAttribute (const Attribute &attribute, const std::string &subKey="", bool overwrite=false) |
| template<InjectableAttribute Attribute, fixed_string key = ""> | |
| constexpr bool | setAttribute (const Attribute &&attribute, const std::string &subKey="", bool overwrite=false) |
| template<InjectableAttribute Attribute, fixed_string key = ""> | |
| constexpr bool | delAttribute (const std::string &subKey="") |
| template<InjectableAttribute Attribute, fixed_string key = ""> | |
| constexpr bool | hasAttribute (const std::string &subKey="") const |
| template<InjectableAttribute Attribute, fixed_string key = ""> | |
| bool | getAttribute (const std::function< void(Attribute &)> &onFound, const std::string &subKey="") const |
| template<InjectableAttribute Attribute, fixed_string key = ""> | |
| void | getAttribute (const std::function< void(Attribute &)> &onFound, const std::function< void(const std::string &)> &onNotFound, const std::string &subKey="") const |
| void | reset () |
Private Attributes | |
| std::map< std::string, std::shared_ptr< void > > | attributes |
Definition at line 146 of file AttributeInjector.h.
|
inlineconstexpr |
Definition at line 175 of file AttributeInjector.h.
References attributes.
|
inline |
Definition at line 205 of file AttributeInjector.h.
References attributes.
Referenced by main().
|
inline |
Definition at line 189 of file AttributeInjector.h.
References attributes.
Referenced by traceGet(), and tracePush().
|
inlineconstexpr |
Definition at line 182 of file AttributeInjector.h.
References attributes.
|
inline |
Definition at line 218 of file AttributeInjector.h.
References attributes.
|
inlineconstexpr |
Definition at line 162 of file AttributeInjector.h.
References attributes.
Referenced by ensureTrace(), and express::middleware::JsonMiddleware::JsonMiddleware().
|
inlineconstexpr |
Definition at line 149 of file AttributeInjector.h.
References attributes.
|
private |
Definition at line 223 of file AttributeInjector.h.
Referenced by delAttribute(), getAttribute(), getAttribute(), hasAttribute(), reset(), setAttribute(), and setAttribute().