MathTypeLibrary(libmath++)
0.0.3
Main Page
Related Pages
Classes
Files
File List
math++
error.h
1
2
// Math Type Library
3
// $Id: error.h,v 1.2 2002/07/02 03:24:27 cparpart Exp $
4
// (This file contains the error specific interface for libmath)
5
//
6
// Copyright (c) 2002 by Christian Parpart <cparpart@surakware.net>
7
//
8
// This library is free software; you can redistribute it and/or
9
// modify it under the terms of the GNU Library General Public
10
// License as published by the Free Software Foundation; either
11
// version 2 of the License, or (at your option) any later version.
12
//
13
// This library is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
// Library General Public License for more details.
17
//
18
// You should have received a copy of the GNU Library General Public License
19
// along with this library; see the file COPYING.LIB. If not, write to
20
// the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
// Boston, MA 02111-1307, USA.
23
#ifndef libmath_error_h
24
#define libmath_error_h
25
26
#include <string>
27
28
namespace
math {
29
34
class
EMath
{
35
private
:
36
std::string FReason;
37
38
public
:
39
EMath
(
const
std::string& AReason) : FReason(AReason) {}
40
41
std::string reason()
const
{
return
FReason; }
42
};
43
44
}
// namespace math
45
46
#endif
Generated on Sun Mar 23 2014 03:01:11 for MathTypeLibrary(libmath++) by
1.8.1.2