PolyBoRi
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
polybori
include
PBoRiGenericError.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
//*****************************************************************************
31
//*****************************************************************************
32
33
// load PolyBoRi settings
34
#include "
pbori_defs.h
"
35
36
// Get runtime-definable error type
37
#include "
PBoRiError.h
"
38
39
#ifndef PBoRiGenericError_h_
40
#define PBoRiGenericError_h_
41
42
43
BEGIN_NAMESPACE_PBORI
44
52
template
<CTypes::errornum_type ErrorCode>
53
class
PBoRiGenericError
:
54
public
PBoRiError
{
55
public
:
57
typedef
CTypes::errornum_type
errornum_type
;
58
60
typedef
CTypes::errortext_type
errortext_type
;
61
62
enum
{ error_code = ErrorCode };
63
65
PBoRiGenericError
():
PBoRiError
(error_code) {}
66
67
};
68
69
END_NAMESPACE_PBORI
70
71
#endif // of #ifndef PBoRiGenericError_h_
Generated on Wed Mar 26 2014 17:27:06 for PolyBoRi by
1.8.1.2