libsesstype  2.0.0
Library for Session Types programming.
 All Classes Namespaces Files Functions
Public Member Functions
sesstype::MsgPayload Class Reference

Message Payload. More...

#include <msg.h>

Inheritance diagram for sesstype::MsgPayload:
Inheritance graph
[legend]
Collaboration diagram for sesstype::MsgPayload:
Collaboration graph
[legend]

List of all members.

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.
MsgPayloadclone () const override
std::string name () const
std::string type () const

Detailed Description

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.


Constructor & Destructor Documentation

sesstype::MsgPayload::MsgPayload ( std::string  type,
std::string  name 
) [inline]

MsgPayload constructor.

Parameters:
[in]typeof MsgPayload (datatype).
[in]nameof MsgPayload (identifier).

Reimplemented in sesstype::parameterised::MsgPayload.


Member Function Documentation

std::string sesstype::MsgPayload::name ( ) const [inline]
Returns:
name of MsgPayload.
std::string sesstype::MsgPayload::type ( ) const [inline]
Returns:
datatype of MsgPayload.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions