ReFRACtor
|
Macros | |
#define | gsl_check(status) FullPhysics::gsl_check_func(status, __FILE__, __LINE__) |
GSL check. More... | |
#define | range_check(V, Min, Max) FullPhysics::range_check_template(V, Min, Max, __FILE__, __LINE__) |
Range check. More... | |
#define | range_max_check(V, Max) FullPhysics::range_max_check_template(V, Max, __FILE__, __LINE__) |
Range check. More... | |
#define | range_min_check(V, Min) FullPhysics::range_min_check_template(V, Min, __FILE__, __LINE__) |
Range check. More... | |
Functions | |
FullPhysics::Exception::Exception (const std::string &W="") | |
Default constructor. More... | |
FullPhysics::Exception::Exception (const Exception &E) | |
Copy constructor. More... | |
virtual | FullPhysics::Exception::~Exception () throw () |
Destructor. More... | |
void | FullPhysics::gsl_check_func (int status, const char *File, int Line) |
Check for gsl errors. More... | |
void | FullPhysics::no_gsl_abort () |
Turn off gsl errors abort. More... | |
template<class T > | |
Exception & | FullPhysics::Exception::operator<< (const T &V) |
Write to exception what() string. More... | |
virtual void | FullPhysics::Exception::print (std::ostream &Os) const |
Print out description of object. More... | |
template<class T > | |
void | FullPhysics::range_check_template (const T &Val, const T &Min, const T &Max, const char *File, int Line) |
Range check. More... | |
template<class T > | |
void | FullPhysics::range_max_check_template (const T &Val, const T &Max, const char *File, int Line) |
Range check. More... | |
template<class T > | |
void | FullPhysics::range_min_check_template (const T &Val, const T &Min, const char *File, int Line) |
Range check. More... | |
virtual const char * | FullPhysics::Exception::what () const throw () |
Description of what the error is. More... | |
#define gsl_check | ( | status | ) | FullPhysics::gsl_check_func(status, __FILE__, __LINE__) |
GSL check.
Definition at line 228 of file fp_exception.h.
#define range_check | ( | V, | |
Min, | |||
Max | |||
) | FullPhysics::range_check_template(V, Min, Max, __FILE__, __LINE__) |
Range check.
Definition at line 140 of file fp_exception.h.
#define range_max_check | ( | V, | |
Max | |||
) | FullPhysics::range_max_check_template(V, Max, __FILE__, __LINE__) |
Range check.
Definition at line 194 of file fp_exception.h.
#define range_min_check | ( | V, | |
Min | |||
) | FullPhysics::range_min_check_template(V, Min, __FILE__, __LINE__) |
Range check.
Definition at line 167 of file fp_exception.h.
|
inline |
Default constructor.
Can give an optional string describing the error.
Definition at line 24 of file fp_exception.h.
|
inline |
Copy constructor.
Definition at line 44 of file fp_exception.h.
|
inlinevirtual |
Destructor.
Definition at line 56 of file fp_exception.h.
|
inline |
Check for gsl errors.
Definition at line 211 of file fp_exception.h.
|
inline |
Turn off gsl errors abort.
Definition at line 201 of file fp_exception.h.
|
inline |
Write to exception what() string.
Definition at line 62 of file fp_exception.h.
|
inlinevirtual |
Print out description of object.
Definition at line 72 of file fp_exception.h.
|
inline |
Range check.
Definition at line 117 of file fp_exception.h.
|
inline |
Range check.
Definition at line 174 of file fp_exception.h.
|
inline |
Range check.
Definition at line 147 of file fp_exception.h.
|
inlinevirtual |
Description of what the error is.
Definition at line 88 of file fp_exception.h.