|
ct_common
1.0.1
Common library for combinatorial testing
|
#include <exception>#include <string>Go to the source code of this file.
Classes | |
| class | ct::common::CT_Exception |
Namespaces | |
| namespace | ct |
| namespace | ct::common |
Defines | |
| #define | DLL_EXPORT |
| #define | CT_EXCEPTION(x) do { throw (ct::common::CT_Exception(x)); } while (false) |
| #define | TYPE_CHECK(x, T) ((dynamic_cast<T>(x) != 0) ? true:false) |
| #define | TYPE_ASSERT(x, T) do { if (!TYPE_CHECK(x,T)) { CT_EXCEPTION(std::string("the object is not of type ") + #T); } } while (false) |
| #define CT_EXCEPTION | ( | x | ) | do { throw (ct::common::CT_Exception(x)); } while (false) |
| #define DLL_EXPORT |
| #define TYPE_ASSERT | ( | x, | |
| T | |||
| ) | do { if (!TYPE_CHECK(x,T)) { CT_EXCEPTION(std::string("the object is not of type ") + #T); } } while (false) |
| #define TYPE_CHECK | ( | x, | |
| T | |||
| ) | ((dynamic_cast<T>(x) != 0) ? true:false) |
1.7.6.1