Message Payload. More...
#include <msg.h>
Public Member Functions | |
MsgPayload (std::string type) | |
MsgPayload constructor with "" (empty string) as MsgPayload name. | |
MsgPayload (std::string type, std::string name) | |
MsgPayload constructor. | |
MsgPayload (const MsgPayload &payload) | |
MsgPayload copy constructor. | |
~MsgPayload () | |
MsgPayload destructor. | |
MsgPayload * | clone () const override |
std::string | name () const |
std::string | type () const |
Message Payload.
The MsgPayload class contains the parameters to a message (like function arguments). It is a combination of a name (could be an empty string) and the non-empty datatype. The datatypes can have multi-dimensional Expr parameters for representing multi-dimensional arrays.
sesstype::MsgPayload::MsgPayload | ( | std::string | type, |
std::string | name | ||
) | [inline] |
MsgPayload constructor.
[in] | type | of MsgPayload (datatype). |
[in] | name | of MsgPayload (identifier). |
Reimplemented in sesstype::parameterised::MsgPayload.
std::string sesstype::MsgPayload::name | ( | ) | const [inline] |
std::string sesstype::MsgPayload::type | ( | ) | const [inline] |