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
orgQhull::RoadError::what
virtual const char * what() const
Definition: RoadError.cpp:137
obb.fmt
fmt
Definition: obb.py:145
orgQhull
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
Definition: Coordinates.cpp:21
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d, int d2, float f, int i)
Definition: QhullError.h:47
orgQhull::RoadError
Definition: RoadError.h:32
orgQhull::QhullError::NOthrow
@ NOthrow
Definition: QhullError.h:33
orgQhull::QhullError::QhullError
QhullError()
Definition: QhullError.h:38
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d, int d2, float f, const void *x)
Definition: QhullError.h:46
orgQhull::QhullError::QhullError
QhullError(const QhullError &other)
Definition: QhullError.h:39
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d, int d2)
Definition: QhullError.h:43
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d)
Definition: QhullError.h:42
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d, int d2, float f, const char *s)
Definition: QhullError.h:45
x
x
orgQhull::RoadError::operator=
RoadError & operator=(const RoadError &other)
Definition: RoadError.cpp:127
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt)
Definition: QhullError.h:41
RoadError.h
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d, int d2, float f, double e)
Definition: QhullError.h:49
orgQhull::QhullError::QHULLlastError
@ QHULLlastError
Definition: QhullError.h:32
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d, int d2, float f, long long i)
Definition: QhullError.h:48
orgQhull::QhullError::QHULLfirstError
@ QHULLfirstError
Definition: QhullError.h:31
orgQhull::QhullError
Definition: QhullError.h:26
operator<<
std::ostream & operator<<(std::ostream &os, const orgQhull::QhullError &e)
Definition: QhullError.h:60
orgQhull::QhullError::QhullError
QhullError(int code, const char *fmt, int d, int d2, float f)
Definition: QhullError.h:44
orgQhull::QhullError::QhullError
QhullError(int code, const std::string &message)
Definition: QhullError.h:40
orgQhull::QhullError::~QhullError
~QhullError()
Definition: QhullError.h:51
orgQhull::QhullError::operator=
QhullError & operator=(const QhullError &other)
Definition: QhullError.h:50


hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:14