|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NCL_NCL_H |
|
|
#define NCL_NCL_H |
|
|
|
|
|
#if defined(_MSC_VER) && !defined(CLANG_UNDER_VS) |
|
|
# pragma warning(disable:4786) |
|
|
# pragma warning(disable:4291) |
|
|
# define vsnprintf _vsnprintf |
|
|
#endif |
|
|
|
|
|
#if !defined(__DECCXX) |
|
|
# include <cassert> |
|
|
# include <cctype> |
|
|
# include <cmath> |
|
|
# include <cstdarg> |
|
|
# include <cstdio> |
|
|
# include <cstdarg> |
|
|
# include <cstdlib> |
|
|
# include <ctime> |
|
|
# include <cfloat> |
|
|
#else |
|
|
# include <assert.h> |
|
|
# include <ctype.h> |
|
|
# include <stdarg.h> |
|
|
# include <math.h> |
|
|
# include <stdarg.h> |
|
|
# include <stdio.h> |
|
|
# include <stdlib.h> |
|
|
# include <time.h> |
|
|
# include <float.h> |
|
|
#endif |
|
|
|
|
|
#include <algorithm> |
|
|
#include <fstream> |
|
|
#include <iomanip> |
|
|
#include <iostream> |
|
|
#include <list> |
|
|
#include <map> |
|
|
#include <set> |
|
|
#include <stdexcept> |
|
|
#include <string> |
|
|
#if defined(__GNUC__) |
|
|
# if __GNUC__ < 3 |
|
|
# include <strstream> |
|
|
# else |
|
|
# include <sstream> |
|
|
# endif |
|
|
#endif |
|
|
#include <vector> |
|
|
using namespace std; |
|
|
|
|
|
#if defined(__MWERKS__) |
|
|
# if __ide_target("Simple-Win Release") || __ide_target("Phorest-Mac-Release") |
|
|
# define NDEBUG |
|
|
# else |
|
|
# undef NDEBUG |
|
|
# endif |
|
|
#endif |
|
|
|
|
|
#if defined( __BORLANDC__ ) |
|
|
# include <dos.h> |
|
|
#endif |
|
|
|
|
|
#if defined(__MWERKS__) |
|
|
# define HAVE_PRAGMA_UNUSED |
|
|
|
|
|
|
|
|
# define DEMANDS_UNREACHABLE_RETURN |
|
|
|
|
|
#endif |
|
|
|
|
|
#include "nxsdefs.h" |
|
|
#include "nxsstring.h" |
|
|
#include "nxsexception.h" |
|
|
#include "nxstoken.h" |
|
|
#include "nxsblock.h" |
|
|
#include "nxsreader.h" |
|
|
#include "nxssetreader.h" |
|
|
#include "nxstaxablock.h" |
|
|
#include "nxstreesblock.h" |
|
|
#include "nxsdistancedatum.h" |
|
|
#include "nxsdistancesblock.h" |
|
|
#include "nxsdiscretedatum.h" |
|
|
#include "nxsdiscretematrix.h" |
|
|
#include "nxscharactersblock.h" |
|
|
#include "nxsassumptionsblock.h" |
|
|
#include "nxsdatablock.h" |
|
|
#include "nxsemptyblock.h" |
|
|
|
|
|
#endif |
|
|
|