QhullError.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
4 ** $Id: //main/2015/qhull/src/libqhullcpp/QhullError.h#2 $$Change: 2066 $
5 ** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $
6 **
7 ****************************************************************************/
8 
9 #ifndef QHULLERROR_H
10 #define QHULLERROR_H
11 
12 #include "libqhullcpp/RoadError.h"
13 // No dependencies on libqhull
14 
15 #ifndef QHULL_ASSERT
16 #define QHULL_ASSERT assert
17 #include <assert.h>
18 #endif
19 
20 namespace orgQhull {
21 
22 #
23  class QhullError;
25 
26 class QhullError : public RoadError {
27 
28 public:
29 #
30  enum {
31  QHULLfirstError= 10000, //MSG_QHULL_ERROR in Qhull's user.h
33  NOthrow= 1
34  };
35 
36 #
37  // default constructors
39  QhullError(const QhullError &other) : RoadError(other) {}
40  QhullError(int code, const std::string &message) : RoadError(code, message) {};
41  QhullError(int code, const char *fmt) : RoadError(code, fmt) {};
42  QhullError(int code, const char *fmt, int d) : RoadError(code, fmt, d) {};
43  QhullError(int code, const char *fmt, int d, int d2) : RoadError(code, fmt, d, d2) {};
44  QhullError(int code, const char *fmt, int d, int d2, float f) : RoadError(code, fmt, d, d2, f) {};
45  QhullError(int code, const char *fmt, int d, int d2, float f, const char *s) : RoadError(code, fmt, d, d2, f, s) {};
46  QhullError(int code, const char *fmt, int d, int d2, float f, const void *x) : RoadError(code, fmt, d, d2, f, x) {};
47  QhullError(int code, const char *fmt, int d, int d2, float f, int i) : RoadError(code, fmt, d, d2, f, i) {};
48  QhullError(int code, const char *fmt, int d, int d2, float f, long long i) : RoadError(code, fmt, d, d2, f, i) {};
49  QhullError(int code, const char *fmt, int d, int d2, float f, double e) : RoadError(code, fmt, d, d2, f, e) {};
50  QhullError &operator=(const QhullError &other) { this->RoadError::operator=(other); return *this; }
51  ~QhullError() throw() {}
52 
53 };//class QhullError
54 
55 
56 }//namespace orgQhull
57 
58 #
59 
60 inline std::ostream &operator<<(std::ostream &os, const orgQhull::QhullError &e) { return os << e.what(); }
61 
62 #endif // QHULLERROR_H
QhullRidge – Qhull&#39;s ridge structure, ridgeT, as a C++ class.
Definition: Coordinates.cpp:21
QhullError(int code, const char *fmt, int d, int d2, float f, const void *x)
Definition: QhullError.h:46
QhullError(int code, const char *fmt, int d, int d2, float f, int i)
Definition: QhullError.h:47
QhullError(int code, const char *fmt, int d, int d2)
Definition: QhullError.h:43
QhullError(int code, const char *fmt, int d)
Definition: QhullError.h:42
virtual const char * what() const
Definition: RoadError.cpp:137
QhullError(const QhullError &other)
Definition: QhullError.h:39
std::ostream & operator<<(std::ostream &os, const orgQhull::QhullError &e)
Definition: QhullError.h:60
QhullError(int code, const char *fmt, int d, int d2, float f, long long i)
Definition: QhullError.h:48
QhullError(int code, const std::string &message)
Definition: QhullError.h:40
QhullError(int code, const char *fmt)
Definition: QhullError.h:41
QhullError(int code, const char *fmt, int d, int d2, float f, const char *s)
Definition: QhullError.h:45
QhullError(int code, const char *fmt, int d, int d2, float f, double e)
Definition: QhullError.h:49
QhullError & operator=(const QhullError &other)
Definition: QhullError.h:50
fmt
Definition: obb.py:126
RoadError & operator=(const RoadError &other)
Definition: RoadError.cpp:127
QhullError(int code, const char *fmt, int d, int d2, float f)
Definition: QhullError.h:44


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:02