#include <OnixS/CME/MDH/testing/MessageOperation.h>
Public Types | |
| using | HolderType = Holder |
Public Member Functions | |
| MessageRecipe (std::tuple< Operations... > operations) | |
| void | applyTo (Holder &holder) const |
| Holder & | operator() (Holder &holder) const |
| template<typename Operation> | |
| auto | append (Operation &&operation) const &-> typename details::ApplicableMessageOperationResult< Holder, Operation, MessageRecipe< Holder, Operations..., typename std::decay< Operation >::type > >::Type |
| template<typename Operation> | |
| auto | append (Operation &&operation) &&-> typename details::ApplicableMessageOperationResult< Holder, Operation, MessageRecipe< Holder, Operations..., typename std::decay< Operation >::type > >::Type |
| template<typename Callable> | |
| auto | operator% (Callable &&callable) const &-> decltype(std::declval< const MessageRecipe & >().append(details::makeMessageOperation< details::CallableOperation >(std::forward< Callable >(callable)))) |
| template<typename Callable> | |
| auto | operator% (Callable &&callable) &&-> decltype(std::move(*this).append(details::makeMessageOperation< details::CallableOperation >(std::forward< Callable >(callable)))) |
Friends | |
| template<typename, typename...> | |
| class | MessageRecipe |
| Holder | Message holder materialized by the recipe. |
| Operations | Ordered message operations owned by the recipe. |
Definition at line 347 of file MessageOperation.h.
| using HolderType = Holder |
Holder type materialized by this recipe.
Definition at line 353 of file MessageOperation.h.
|
inlineexplicit |
Constructs a recipe from its owned operations.
| operations | Operations to apply in tuple order. |
| Any | exception thrown while moving the operations into the recipe. |
Definition at line 358 of file MessageOperation.h.
|
inline |
Returns a recipe with one operation appended.
| Operation | Message operation type whose decay-stored form can be applied through a const reference to Holder. |
| operation | Operation moved into the returned recipe when possible. |
| Any | exception thrown while moving an operation. |
Definition at line 409 of file MessageOperation.h.
|
inline |
Returns a recipe with one operation appended.
| Operation | Message operation type whose decay-stored form can be applied through a const reference to Holder. |
| operation | Operation copied or moved into the returned recipe. |
| Any | exception thrown while copying or moving an operation. |
Definition at line 395 of file MessageOperation.h.
|
inline |
Initializes and populates a holder from this recipe.
| holder | Holder receiving the recipe's operations. |
| Any | exception thrown by an owned operation. |
Definition at line 371 of file MessageOperation.h.
|
inline |
Returns a recipe with an underlying-message customization appended.
| Callable | Callable type invoked with the mutable underlying message. |
| callable | Callable moved into the returned recipe when possible. |
callable after it returns. Growing any earlier repeating group can relocate and invalidate them. | Any | exception thrown while storing, moving, or invoking the callable. |
Definition at line 452 of file MessageOperation.h.
|
inline |
Returns a recipe with an underlying-message customization appended.
| Callable | Callable type invoked with the mutable underlying message. |
| callable | Callable copied or moved into the returned recipe. |
callable after it returns. Growing any earlier repeating group can relocate and invalidate them. | Any | exception thrown while storing, copying, or invoking the callable. |
Definition at line 430 of file MessageOperation.h.
|
inline |
Initializes and populates a holder from this recipe.
| holder | Holder receiving the recipe's operations. |
| Any | exception thrown by an owned operation. |
Definition at line 382 of file MessageOperation.h.
|
friend |
Definition at line 349 of file MessageOperation.h.