00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef NCL_NCL_H
00021 #define NCL_NCL_H
00022
00023 #if defined(_MSC_VER)
00024 # pragma warning(disable:4786)
00025 # pragma warning(disable:4291)
00026 # if _MSC_VER >= 1500
00027 # include <cstdio>
00028 # if !defined(vsnprintf)
00029 # define vsnprintf _vsnprintf_s
00030 # endif
00031 # define sprintf sprintf_s
00032 # else
00033 # define vsnprintf _vsnprintf
00034 # endif
00035 #endif
00036
00037 #if !defined(__DECCXX)
00038 # include <cctype>
00039 # include <cmath>
00040 # include <cstdarg>
00041 # include <cstdio>
00042 # include <cstdarg>
00043 # include <cstdlib>
00044 # include <ctime>
00045 # include <climits>
00046 # include <cfloat>
00047 #else
00048 # include <ctype.h>
00049 # include <stdarg.h>
00050 # include <math.h>
00051 # include <stdarg.h>
00052 # include <stdio.h>
00053 # include <stdlib.h>
00054 # include <time.h>
00055 # include <float.h>
00056 #endif
00057
00058 #include <algorithm>
00059 #include <fstream>
00060 #include <iomanip>
00061 #include <iostream>
00062 #include <list>
00063 #include <map>
00064 #include <set>
00065 #include <stdexcept>
00066 #include <string>
00067 #if defined(__GNUC__)
00068 # if __GNUC__ < 3
00069 # include <strstream>
00070 # else
00071 # include <sstream>
00072 # endif
00073 #endif
00074 #include <vector>
00075
00076 # if ! defined (NCL_AVOID_USING_STD)
00077 using namespace std;
00078 #endif
00079
00080 #if defined( __BORLANDC__ )
00081 # include <dos.h>
00082 #endif
00083
00084 #if defined(__MWERKS__)
00085 # define HAVE_PRAGMA_UNUSED
00086
00087
00088 # define DEMANDS_UNREACHABLE_RETURN
00089
00090 #endif
00091
00092 #include "ncl/nxsdefs.h"
00093 #include "ncl/nxsstring.h"
00094 #include "ncl/nxsexception.h"
00095 #include "ncl/nxstoken.h"
00096 #include "ncl/nxsblock.h"
00097 #include "ncl/nxsreader.h"
00098 #include "ncl/nxssetreader.h"
00099 #include "ncl/nxstaxablock.h"
00100 #include "ncl/nxstreesblock.h"
00101 #include "ncl/nxsdistancedatum.h"
00102 #include "ncl/nxsdistancesblock.h"
00103 #include "ncl/nxsdiscretedatum.h"
00104 #include "ncl/nxscharactersblock.h"
00105 #include "ncl/nxsassumptionsblock.h"
00106 #include "ncl/nxsdatablock.h"
00107 #include "ncl/nxsunalignedblock.h"
00108 #include "ncl/nxspublicblocks.h"
00109 #include "ncl/nxsmultiformat.h"
00110
00111 #endif