Bayes++ Bayesian Filtering Classes
Release 2014.5 - Copyright (c) 2003,2004,2005,2006,2011,2012,2014 Michael Stevens
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
p
r
s
u
v
Functions
a
d
f
g
i
l
m
n
p
r
s
u
Typedefs
b
c
d
f
l
m
p
r
s
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
c
e
f
g
h
i
j
k
l
n
o
p
q
r
s
t
u
w
~
Variables
a
b
d
f
g
h
i
k
l
m
q
r
s
t
u
v
w
x
y
z
Typedefs
Related Symbols
Files
File List
File Members
All
Variables
Macros
BayesFilter
bayesException.hpp
Go to the documentation of this file.
1
#ifndef _BAYES_FILTER_EXCEPTION
2
#define _BAYES_FILTER_EXCEPTION
3
4
/*
5
* Bayes++ the Bayesian Filtering Library
6
* Copyright (c) 2002 Michael Stevens
7
* See accompanying Bayes++.htm for terms and conditions of use.
8
*
9
* $Id$
10
*/
11
12
/*
13
* Exception types: Exception hierarchy for Bayesian filtering
14
*/
15
16
// Common headers required for declerations
17
#include <exception>
18
19
/* Filter namespace */
20
namespace
Bayesian_filter
21
{
22
23
24
class
Filter_exception
:
virtual
public
std::exception
25
/*
26
* Base class for all exception produced by filter hierarchy
27
*/
28
{
29
public
:
30
const
char
*
what
()
const
throw()
31
{
return
error_description;
32
}
30
const
char
*
what
()
const
throw() {
…
}
33
protected
:
34
Filter_exception
(
const
char
* description)
35
{ error_description = description;
36
}
34
Filter_exception
(
const
char
* description) {
…
}
37
private
:
38
const
char
* error_description;
39
};
24
class
Filter_exception
:
virtual
public
std::exception {
…
};
40
41
class
Logic_exception
:
virtual
public
Filter_exception
42
/*
43
* Logic Exception
44
*/
45
{
46
public
:
47
Logic_exception
(
const
char
* description) :
48
Filter_exception
(description)
49
{}
47
Logic_exception
(
const
char
* description) : {
…
}
50
};
41
class
Logic_exception
:
virtual
public
Filter_exception
{
…
};
51
52
class
Numeric_exception
:
virtual
public
Filter_exception
53
/*
54
* Numeric Exception
55
*/
56
{
57
public
:
58
Numeric_exception
(
const
char
* description) :
59
Filter_exception
(description)
60
{}
58
Numeric_exception
(
const
char
* description) : {
…
}
61
};
52
class
Numeric_exception
:
virtual
public
Filter_exception
{
…
};
62
63
64
}
//namespace
20
namespace
Bayesian_filter
{
…
}
65
#endif
Bayesian_filter::Filter_exception
Definition
bayesException.hpp:28
Bayesian_filter::Filter_exception::Filter_exception
Filter_exception(const char *description)
Definition
bayesException.hpp:34
Bayesian_filter::Filter_exception::what
const char * what() const
Definition
bayesException.hpp:30
Bayesian_filter::Logic_exception
Definition
bayesException.hpp:45
Bayesian_filter::Logic_exception::Logic_exception
Logic_exception(const char *description)
Definition
bayesException.hpp:47
Bayesian_filter::Numeric_exception
Definition
bayesException.hpp:56
Bayesian_filter::Numeric_exception::Numeric_exception
Numeric_exception(const char *description)
Definition
bayesException.hpp:58
Bayesian_filter
Definition
bayesException.hpp:21
Generated by
1.9.8