bayesexception.hpp
来自「Bayesian Filter.贝叶斯(Bayesian)滤波器的C++类库。包」· HPP 代码 · 共 67 行
HPP
67 行
#ifndef _BAYES_FILTER_EXCEPTION#define _BAYES_FILTER_EXCEPTION/* * Bayes++ the Bayesian Filtering Library * Copyright (c) 2002 Michael Stevens * See accompanying Bayes++.htm for terms and conditions of use. * * $Header: /cvsroot/bayesclasses/Bayes++/BayesFilter/bayesException.hpp,v 1.3.2.1 2004/02/11 21:06:42 mistevens Exp $ * $NoKeywords: $ *//* * Exception types: Exception heirarchy for Bayesian filtering */ // Common headers required for declerations#include <exception>/* Filter namespace */namespace Bayesian_filter{class Filter_exception : virtual public std::exception/* * Base class for all exception produced by filter heirachy */{public: const char *what() const throw() { return error_description; }protected: Filter_exception (const char* description) { error_description = description; };private: const char* error_description;};class Logic_exception : virtual public Filter_exception/* * Logic Exception */{public: Logic_exception (const char* description) : Filter_exception (description) {};};class Numeric_exception : virtual public Filter_exception/* * Numeric Exception */{public: Numeric_exception (const char* description) : Filter_exception (description) {};};}//namespace#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?