Class xlifepp::MsgData#

class MsgData#

Collaboration diagram for xlifepp::MsgData:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::vector< T >" tooltip="std::vector< T >"] "5" [label="std::vector< complex_t >" tooltip="std::vector< complex_t >"] "2" [label="std::vector< int_t >" tooltip="std::vector< int_t >"] "4" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "6" [label="std::vector< string_t >" tooltip="std::vector< string_t >"] "1" [label="xlifepp::MsgData" tooltip="xlifepp::MsgData" fillcolor="#BFBFBF"] "5" -> "3" [dir=forward tooltip="template-instance"] "2" -> "3" [dir=forward tooltip="template-instance"] "4" -> "3" [dir=forward tooltip="template-instance"] "6" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="usage"] "1" -> "4" [dir=forward tooltip="usage"] "1" -> "5" [dir=forward tooltip="usage"] "1" -> "6" [dir=forward tooltip="usage"] }

data to pass to message handling engine

define a structure which contains temporary data to pass to message handling engine

data structure allows any of the following types in any order: string, real, complex, int or boolean

such data is unlimited in number as far as memory allows it

Public Functions

inline MsgData()#

default constructor

inline bool booleanParameter(const number_t n) const#

access to boolean

inline complex_t complexParameter(const number_t n) const#

access to complex

inline int_t intParameter(const number_t n) const#

access to int_t data

inline MsgData &operator<<(const bool b)#

appends a boolean via streaming

inline MsgData &operator<<(const char *s)#

appends a string via streaming

inline MsgData &operator<<(const complex_t &c)#

appends a complex via streaming

inline MsgData &operator<<(const int i)#

appends an int via streaming

inline MsgData &operator<<(const long int i)#

appends a long int via streaming

inline MsgData &operator<<(const long long int i)#

appends a long long int via streaming

inline MsgData &operator<<(const real_t r)#

appends a real_t via streaming

inline MsgData &operator<<(const short unsigned int i)#

appends an short unsigned int via streaming

inline MsgData &operator<<(const string_t &s)#

appends a string via streaming

inline MsgData &operator<<(const unsigned int i)#

appends an unsigned int via streaming

inline MsgData &operator<<(const unsigned long int i)#

appends an unsigned long int via streaming

inline MsgData &operator<<(const unsigned long long int i)#

appends an unsigned long long int via streaming

inline void push(const bool b)#

appends a boolean

inline void push(const char *s)#

appends a string

inline void push(const complex_t &c)#

appends a complex_t

inline void push(const int i)#

appends an int

inline void push(const long int i)#

appends a long int

inline void push(const long long int i)#

appends a long longint

inline void push(const real_t r)#

appends a real_t

inline void push(const short unsigned int i)#

appends an short unsigned int

inline void push(const string_t &s)#

appends a string_t

inline void push(const unsigned int i)#

appends an unsigned int

inline void push(const unsigned long int i)#

appends an unsigned long int

inline void push(const unsigned long long int i)#

appends an unsigned long long int

inline bool read() const#

read status

inline void readData()#

declare data read operator

inline real_t realParameter(const number_t n) const#

access to real

inline string_t stringParameter(const number_t n) const#

access to string