Debian Codegraph @

ncl/nxsexception.h

raw symbols SCIP
1 // Copyright (C) 1999-2003 Paul O. Lewiscxx . . $ `<file>/ncl/nxsexception.h`/
2 //
3 // This file is part of NCL (Nexus Class Library) version 2.0.
4 //
5 // NCL is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // NCL is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with NCL; if not, write to the Free Software Foundation, Inc.,
17 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 //
19
20 #ifndef NCL_NXSEXCEPTION_H
21 #define NCL_NXSEXCEPTION_Hcxx . . $ `ncl/nxsexception.h:21:9`!
22
23 #include "nxsstring.h"cxx . . $ `<file>/ncl/nxsstring.h`/ //for NxsString
24 #include "nxsdefs.h"cxx . . $ `<file>/ncl/nxsdefs.h`/ //for file_pos
25
26 class NxsTokencxx . . $ NxsToken#;
27
28 /*----------------------------------------------------------------------------------------------------------------------
29 | Exception class that conveys a message specific to the problem encountered.
30 */
31 class NxsExceptioncxx . . $ NxsException#
32 {
33 public:
34 NxsStringcxx . . $ NxsString# msgcxx . . $ NxsException#msg.; /* NxsString to hold message */
35 file_poscxx . . $ file_pos# poscxx . . $ NxsException#pos.; /* current file position */
36 long linecxx . . $ NxsException#line.; /* current line in file */
37 long colcxx . . $ NxsException#col.; /* column of current line */
38
39 explicit NxsExceptioncxx . . $ NxsException#NxsException(9d67e2cd5d3edc45).(const NxsStringcxx . . $ NxsString# &s, file_poscxx . . $ file_pos# fp = 0cxx . . $ std/fpos#fpos(1624ee8275b10bda)., long fl = 0L, long fc = 0L);
40 NxsExceptioncxx . . $ NxsException#NxsException(6e1d3591f620d1f0).(const NxsStringcxx . . $ NxsString# &s, const NxsTokencxx . . $ NxsToken# &t);
41 };
42
43 typedef NxsExceptioncxx . . $ NxsException# XNexuscxx . . $ XNexus#;
44
45 #endif