Class storing two identifier values representing class/method pair. More...
#include <eagine/message_id.hpp>
Public Member Functions | |
| constexpr | message_id () noexcept |
| Default constructor. More... | |
| constexpr | message_id (identifier_t c, identifier_t m) noexcept |
| Construction from two identifier values. | |
| constexpr | message_id (identifier c, identifier m) noexcept |
| Construction from two identifier objects. | |
| constexpr | message_id (std::tuple< identifier, identifier > t) noexcept |
| Construction from a tuple of two identifier objects. | |
| template<identifier_t ClassId, identifier_t MethodId> | |
| constexpr | message_id (const static_message_id< ClassId, MethodId > &) noexcept |
| Construction from static_message_id value. | |
| constexpr auto | class_id () const noexcept -> identifier_t |
| Returns the class identifier value. | |
| constexpr auto | class_ () const noexcept -> identifier |
| Returns the class identifier. | |
| constexpr auto | method_id () const noexcept -> identifier_t |
| Returns the method identifier value. | |
| constexpr auto | method () const noexcept -> identifier |
| Returns the method identifier. | |
| constexpr auto | is_valid () const noexcept |
| Checks if the stored identifier values are non-zero. | |
| constexpr auto | id_tuple () const noexcept -> std::tuple< identifier, identifier > |
| Returns the class and method identifiers in a tuple. See class_ See method. | |
| constexpr auto | has_class (identifier id) const noexcept |
| Checks if the class identifier matches the argument. More... | |
| constexpr auto | has_method (identifier id) const noexcept |
| Checks if the method identifier matches the argument. More... | |
Class storing two identifier values representing class/method pair.
|
inlineconstexprnoexcept |
Default constructor.
|
inlineconstexprnoexcept |
Checks if the class identifier matches the argument.
|
inlineconstexprnoexcept |
Checks if the method identifier matches the argument.