libsex
3.1.0
simple exception library (C++)
|
Macro LIBSEX_DECLARE. More...
#include <libsex/Exception.hxx>
Go to the source code of this file.
Defines | |
#define | LIBSEX_DECLARE(parent, scope, name) |
Declares an exception inheriting from a supplied class. |
#define LIBSEX_DECLARE | ( | parent, | |
scope, | |||
name | |||
) |
class scope::name : public parent\ {\ public:\ static const char* const TEMPLATE;\ name(const char* const errorMessage);\ name(\ const char* const errorMessage,\ const libsex::Exception& previous);\ };
Declares an exception inheriting from a supplied class.
parent | Parent class (incl. scope). |
scope | Non-global scope of class to be defined. |
name | Name of class to be defined. |
Definition at line 25 of file declare.hxx.