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 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
-
class invalid_arg_error : public mdds::general_error¶
Public Functions
-
inline invalid_arg_error(const ::std::string &msg)¶
-
inline invalid_arg_error(const ::std::string &msg)¶
-
class size_error : public mdds::general_error¶
Public Functions
-
inline size_error(const std::string &msg)¶
-
inline size_error(const std::string &msg)¶
-
class type_error : public mdds::general_error¶
Public Functions
-
inline type_error(const std::string &msg)¶
-
inline type_error(const std::string &msg)¶
-
class integrity_error : public mdds::general_error¶
Public Functions
-
inline integrity_error(const std::string &msg)¶
-
inline integrity_error(const std::string &msg)¶