1 //	Copyright (C) 1999-2003 Paul O. Lewis
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_NCL_H
21 #define NCL_NCL_H
22 
23 #if defined(_MSC_VER)
24 #	pragma warning(disable:4786)
25 #	pragma warning(disable:4291)
26 #	define vsnprintf _vsnprintf
27 #endif
28 
29 #if !defined(__DECCXX)
30 #	include <cassert>
31 #	include <cctype>
32 #	include <cmath>
33 #	include <cstdarg>
34 #	include <cstdio>
35 #	include <cstdarg>
36 #	include <cstdlib>
37 #	include <ctime>
38 #	include <cfloat>
39 #else
40 #	include <assert.h>
41 #	include <ctype.h>
42 #	include <stdarg.h>
43 #	include <math.h>
44 #	include <stdarg.h>
45 #	include <stdio.h>
46 #	include <stdlib.h>
47 #	include <time.h>
48 #	include <float.h>
49 #endif
50 
51 #include <algorithm>
52 #include <fstream>
53 #include <iomanip>
54 #include <iostream>
55 #include <list>
56 #include <map>
57 #include <set>
58 #include <stdexcept>
59 #include <string>
60 #if defined(__GNUC__)
61 #	if __GNUC__ < 3
62 #		include <strstream>
63 #	else
64 #		include <sstream>
65 #	endif
66 #endif
67 #include <vector>
68 using namespace std;
69 
70 #if defined(__MWERKS__)
71 #	if __ide_target("Simple-Win Release") || __ide_target("Phorest-Mac-Release")
72 #		define NDEBUG
73 #	else
74 #		undef NDEBUG
75 #	endif
76 #endif
77 
78 #if defined( __BORLANDC__ )
79 #	include <dos.h>
80 #endif
81 
82 #if defined(__MWERKS__)
83 #	define HAVE_PRAGMA_UNUSED
84 		// mwerks (and may be other compilers) want return values even if the function throws an exception
85 		//
86 #	define DEMANDS_UNREACHABLE_RETURN
87 
88 #endif
89 
90 #include "nxsdefs.h"
91 #include "nxsstring.h"
92 #include "nxsexception.h"
93 #include "nxstoken.h"
94 #include "nxsblock.h"
95 #include "nxsreader.h"
96 #include "nxssetreader.h"
97 #include "nxstaxablock.h"
98 #include "nxstreesblock.h"
99 #include "nxsdistancedatum.h"
100 #include "nxsdistancesblock.h"
101 #include "nxsdiscretedatum.h"
102 #include "nxsdiscretematrix.h"
103 #include "nxscharactersblock.h"
104 #include "nxsassumptionsblock.h"
105 #include "nxsdatablock.h"
106 #include "nxsemptyblock.h"
107 
108 #endif
109