xentara-plugin v2.0.4
The Xentara Plugin Framework
|
deprecated An object used to resolve cross references in a configuration More...
#include <xentara/config/Resolver.hpp>
Public Member Functions | |
template<ReferenceResolvable Type, std::invocable< const std::shared_ptr< Type > & > Handler> | |
internal auto | submit (utils::json::decoder::Value &key, Handler handler) -> void |
Submits a request to resolve a cross reference using a shared pointer. | |
template<ReferenceResolvable Type, std::invocable< const std::shared_ptr< Type > & > Handler> | |
auto | submit (std::string_view key, const utils::json::decoder::Location &location, Handler handler) -> void |
Submits a request to resolve a cross reference using a shared pointer. | |
template<ReferenceResolvable Type, std::invocable< const std::shared_ptr< Type > & > Handler> | |
auto | submit (std::string_view key, Handler handler) -> void |
Submits a request to resolve a cross reference using a shared pointer. | |
template<ReferenceResolvable Type, std::invocable< std::reference_wrapper< Type > > Handler> | |
auto | submit (utils::json::decoder::Value &key, Handler handler) -> void |
Submits a request to resolve a cross reference using a reference wrapper. | |
template<ReferenceResolvable Type, std::invocable< std::reference_wrapper< Type > > Handler> | |
auto | submit (std::string_view key, const utils::json::decoder::Location &location, Handler handler) -> void |
Submits a request to resolve a cross reference using a reference wrapper. | |
template<ReferenceResolvable Type, std::invocable< std::reference_wrapper< Type > > Handler> | |
auto | submit (std::string_view key, Handler handler) -> void |
Submits a request to resolve a cross reference using a reference wrapper. | |
template<ReferenceResolvable Type, typename SharedPointer > requires std::is_assignable_v<SharedPointer &, const std::shared_ptr<Type> &> | |
auto | submit (utils::json::decoder::Value &key, std::reference_wrapper< SharedPointer > variable) -> void |
Submits a request to resolve a cross reference using a shared pointer and assign it to a variable. | |
template<ReferenceResolvable Type, typename SharedPointer > requires std::is_assignable_v<SharedPointer &, const std::shared_ptr<Type> &> | |
auto | submit (std::string_view key, const utils::json::decoder::Location &location, std::reference_wrapper< SharedPointer > variable) -> void |
Submits a request to resolve a cross reference using a shared pointer and assign it to a variable. | |
template<ReferenceResolvable Type, typename SharedPointer > requires std::is_assignable_v<SharedPointer &, const std::shared_ptr<Type> &> | |
auto | submit (std::string_view key, std::reference_wrapper< SharedPointer > variable) -> void |
Submits a request to resolve a cross reference using a shared pointer and assign it to a variable. | |
template<ReferenceResolvable Type, typename Reference > requires std::is_assignable_v<Reference &, const std::reference_wrapper<Type> &> | |
auto | submit (utils::json::decoder::Value &key, std::reference_wrapper< Reference > variable) -> void |
Submits a request to resolve a cross reference using a reference wrapper and assign it to a variable. | |
template<ReferenceResolvable Type, typename Reference > requires std::is_assignable_v<Reference &, const std::reference_wrapper<Type> &> | |
auto | submit (std::string_view key, const utils::json::decoder::Location &location, std::reference_wrapper< Reference > variable) -> void |
Submits a request to resolve a cross reference using a reference wrapper and assign it to a variable. | |
template<ReferenceResolvable Type, typename Reference > requires std::is_assignable_v<Reference &, const std::reference_wrapper<Type> &> | |
auto | submit (std::string_view key, std::reference_wrapper< Reference > variable) -> void |
Submits a request to resolve a cross reference using a reference wrapper and assign it to a variable. | |
template<ReferenceResolvable Type, typename Pointer > requires std::is_assignable_v<Pointer &, Type *> | |
auto | submit (utils::json::decoder::Value &key, std::reference_wrapper< Pointer > variable) -> void |
Submits a request to resolve a cross reference using a raw pointer and assign it to a variable. | |
template<ReferenceResolvable Type, typename Pointer > requires std::is_assignable_v<Pointer &, Type *> | |
auto | submit (std::string_view key, const utils::json::decoder::Location &location, std::reference_wrapper< Pointer > variable) -> void |
Submits a request to resolve a cross reference using a raw pointer and assign it to a variable. | |
template<ReferenceResolvable Type, typename Pointer > requires std::is_assignable_v<Pointer &, Type *> | |
auto | submit (std::string_view key, std::reference_wrapper< Pointer > variable) -> void |
Submits a request to resolve a cross reference using a raw pointer and assign it to a variable. | |
template<std::same_as< model::Attribute > Type, std::invocable< const Type & > Handler> | |
auto | submit (utils::json::decoder::Value &key, Handler handler) -> void |
Submits a request to resolve a cross reference using a reference-like object. | |
template<std::same_as< model::Attribute > Type, std::invocable< const Type & > Handler> | |
auto | submit (std::string_view key, const utils::json::decoder::Location &location, Handler handler) -> void |
Submits a request to resolve a cross reference using a reference-like object. | |
template<std::same_as< model::Attribute > Type, std::invocable< const Type & > Handler> | |
auto | submit (std::string_view key, Handler handler) -> void |
Submits a request to resolve a cross reference using a reference-like object. | |
template<std::same_as< model::Attribute > Type, typename Reference > requires std::is_assignable_v<Reference &, const Type &> | |
auto | submit (utils::json::decoder::Value &key, std::reference_wrapper< Reference > variable) -> void |
Submits a request to resolve a cross reference using a reference-like object and assign it to a variable. | |
template<std::same_as< model::Attribute > Type, typename Reference > requires std::is_assignable_v<Reference &, const Type &> | |
auto | submit (std::string_view key, const utils::json::decoder::Location &location, std::reference_wrapper< Reference > variable) -> void |
Submits a request to resolve a cross reference using a reference-like object and assign it to a variable. | |
template<std::same_as< model::Attribute > Type, typename Reference > requires std::is_assignable_v<Reference &, const Type &> | |
auto | submit (std::string_view key, std::reference_wrapper< Reference > variable) -> void |
Submits a request to resolve a cross reference using a reference-like object and assign it to a variable. | |
deprecated An object used to resolve cross references in a configuration
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
const utils::json::decoder::Location & | location, | ||
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a shared pointer.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
location | The location within the JSON document that the key is associated with. |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
const utils::json::decoder::Location & | location, | ||
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a reference wrapper.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
location | The location within the JSON document that the key is associated with. |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
const utils::json::decoder::Location & | location, | ||
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a reference-like object.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
location | The location within the JSON document that the key is associated with. |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
const utils::json::decoder::Location & | location, | ||
std::reference_wrapper< Pointer > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a raw pointer and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
location | The location within the JSON document that the key is associated with. |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
const utils::json::decoder::Location & | location, | ||
std::reference_wrapper< Reference > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a reference wrapper and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
location | The location within the JSON document that the key is associated with. |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
const utils::json::decoder::Location & | location, | ||
std::reference_wrapper< Reference > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a reference-like object and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
location | The location within the JSON document that the key is associated with. |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
const utils::json::decoder::Location & | location, | ||
std::reference_wrapper< SharedPointer > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a shared pointer and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
location | The location within the JSON document that the key is associated with. |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a shared pointer.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a reference wrapper.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a reference-like object.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
std::reference_wrapper< Pointer > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a raw pointer and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
std::reference_wrapper< Reference > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a reference wrapper and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
std::reference_wrapper< Reference > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a reference-like object and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | std::string_view | key, |
std::reference_wrapper< SharedPointer > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a shared pointer and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |
internal auto xentara::config::Resolver::submit | ( | utils::json::decoder::Value & | key, |
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a shared pointer.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | utils::json::decoder::Value & | key, |
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a reference wrapper.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | utils::json::decoder::Value & | key, |
Handler | handler | ||
) | -> void |
Submits a request to resolve a cross reference using a reference-like object.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
handler | The handler that should be called once the reference has been resolved. |
auto xentara::config::Resolver::submit | ( | utils::json::decoder::Value & | key, |
std::reference_wrapper< Pointer > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a raw pointer and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | utils::json::decoder::Value & | key, |
std::reference_wrapper< Reference > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a reference wrapper and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | utils::json::decoder::Value & | key, |
std::reference_wrapper< Reference > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a reference-like object and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |
auto xentara::config::Resolver::submit | ( | utils::json::decoder::Value & | key, |
std::reference_wrapper< SharedPointer > | variable | ||
) | -> void |
Submits a request to resolve a cross reference using a shared pointer and assign it to a variable.
Type | the type of object to resolve |
key | The primary key of the object to resolve |
variable | A reference to the variable the resolved object should be assigned to. |