src/sys/util/defutils.h File Reference

This graph shows which files directly or indirectly include this file:


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 Documentation

#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,
 )     (fabs((a)-(b))<EPSILON)


Generated on Sun Feb 5 00:00:33 2012 for Shawn by  doxygen 1.5.6