Globals

Macros

MDDS_ASCII(literal)

Expands a literal string into two arguments: the first one is the literal string itself, and the second one is the length of that string.

Note that this macro only works with literal strings defined inline; it does not work with pointer values that point to strings defined elsewhere.

MDDS_N_ELEMENTS(name)

Calculates the length of name array provided that the array definition is given in the same compilation unit.

Deprecated:

Please use std::size instead.

Exceptions

class mdds::general_error : public std::exception

Subclassed by mdds::integrity_error, mdds::invalid_arg_error, mdds::mtv::element_block_error, mdds::size_error, mdds::type_error

Public Functions

inline general_error(const ::std::string &msg)
inline virtual ~general_error() noexcept
inline virtual const char *what() const noexcept
class mdds::invalid_arg_error : public mdds::general_error

Public Functions

inline invalid_arg_error(const ::std::string &msg)
class mdds::size_error : public mdds::general_error

Public Functions

inline size_error(const std::string &msg)
class mdds::type_error : public mdds::general_error

Public Functions

inline type_error(const std::string &msg)
class mdds::integrity_error : public mdds::general_error

Public Functions

inline integrity_error(const std::string &msg)