Class xlifepp::MsgData#

class MsgData#

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