#include <Message.h>
◆ Message() [1/3]
◆ Message() [2/3]
| Message::Message |
( |
const Message & | other | ) |
|
|
default |
◆ Message() [3/3]
| Message::Message |
( |
Message && | other | ) |
|
|
defaultnoexcept |
◆ ~Message()
| virtual Message::~Message |
( |
| ) |
|
|
virtualdefault |
◆ clone()
| virtual auto Message::clone |
( |
| ) |
const->std::unique_ptr< Message > |
|
inlinevirtual |
◆ convertMessageTo()
template<typename T>
| auto Message::convertMessageTo |
( |
| ) |
const->constT * |
|
inline |
A function that converts messages to the specific type so you don't need to call static_cast yourself
Mainly exists for cleaner code.
- Warning
- Does not check if the conversion is type safe
- Template Parameters
-
| T | The type you want to convert the message to (should be a class derived from Message) |
- Returns
- The message converted to the proper type
◆ load()
| auto Message::load |
( |
Stream & | stream | ) |
->void |
|
virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ save()
| auto Message::save |
( |
Stream & | stream | ) |
const->void |
|
virtual |
The documentation for this struct was generated from the following files:
- /home/egrazil/sites/Brunot/The House/source/Utility/Messages/Message.h
- /home/egrazil/sites/Brunot/The House/source/Utility/Messages/Message.cpp