Shadow Stack  0.2
 All Classes Namespaces Files Functions Variables Typedefs Macros
Classes | Public Types | Static Private Member Functions | List of all members
Message::Msg Class Referencefinal

Defines the types of messages which can be sent. More...

Classes

struct  MessageType
 A templated message class A valid message is defined by constructing a MessageType around it. More...
 
struct  MessageType< false, Info >
 A specification for non-header only messages. More...
 
struct  MessageType< true, Info >
 A specification for header only messages. More...
 

Public Types

template<typename T >
using HeaderOnly = MessageType< true, T >
 A typedef for header only type. More...
 
template<typename T >
using WithBody = MessageType< false, T >
 A typedef for non-header only type. More...
 

Static Private Member Functions

static const char * set_length (char *const dst, const char *const src, const int n)
 Copies n bytes from src into dst during static initilization If src is less than n bytes, fills the rest of dst with zeros. More...
 

Detailed Description

Defines the types of messages which can be sent.

Member Typedef Documentation

template<typename T >
using Message::Msg::HeaderOnly = MessageType<true, T>

A typedef for header only type.

template<typename T >
using Message::Msg::WithBody = MessageType<false, T>

A typedef for non-header only type.

Member Function Documentation

const char * Message::Msg::set_length ( char *const  dst,
const char *const  src,
const int  n 
)
staticprivate

Copies n bytes from src into dst during static initilization If src is less than n bytes, fills the rest of dst with zeros.

It will return dst so that dst can be assigned to a static initalization


The documentation for this class was generated from the following files: