
Defines | |
| #define | DECLARE_HANDLES(CLASS) |
| #define | ABORT_NOT_IMPLEMENTED {std::cerr << "SORRY, NOT IMPLEMENTED YET -- " << __FILE__ << ":" << __LINE__ <<std::endl; abort();} |
| #define | ABORT_INCONSISTENT_CONFIGURATION(reason) {std::cerr << "SORRY, THIS CONFIGURATION IS INCONSISTENT -- " << __FILE__ << ":" << __LINE__ << " -- " << reason << std::endl; abort();} |
| #define | EPSILON .00001 |
| #define | EQDOUBLE(a, b) (fabs((a)-(b))<EPSILON) |
| #define ABORT_INCONSISTENT_CONFIGURATION | ( | reason | ) | {std::cerr << "SORRY, THIS CONFIGURATION IS INCONSISTENT -- " << __FILE__ << ":" << __LINE__ << " -- " << reason << std::endl; abort();} |
| #define ABORT_NOT_IMPLEMENTED {std::cerr << "SORRY, NOT IMPLEMENTED YET -- " << __FILE__ << ":" << __LINE__ <<std::endl; abort();} |
| #define DECLARE_HANDLES | ( | CLASS | ) |
Value:
class CLASS; \ typedef shawn::RefcntPointer<CLASS> CLASS##Handle; \ typedef shawn::RefcntPointer<const CLASS> Const##CLASS##Handle
| #define EPSILON .00001 |
| #define EQDOUBLE | ( | a, | |||
| b | ) | (fabs((a)-(b))<EPSILON) |
1.5.6