#include STL_IOSTREAM
#include STL_STRING
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_STD(ostream);
-#endif
SG_USING_STD(string);
// Possible types of ATC type that the radios may be tuned to.
#include <simgear/compiler.h>
-#ifdef SG_HAVE_STD_INCLUDES
-# include <fstream>
-# include <iostream>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <fstream.h>
-# include <iostream.h>
-#elif defined( __BORLANDC__ ) || (__APPLE__)
+#if defined( SG_HAVE_STD_INCLUDES ) || defined( __BORLANDC__ ) || (__APPLE__)
# include <fstream>
# include <iostream>
#else
SG_USING_STD(list);
SG_USING_STD(string);
-#if !defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(cout);
SG_USING_STD(ios);
SG_USING_STD(ofstream);
SG_USING_STD(ifstream);
-#endif
struct WordData {
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
#include <iomanip>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <iostream.h>
#elif defined( __BORLANDC__ ) || (__APPLE__)
# include <iostream>
#else
#include <iomanip.h>
#endif
-#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(istream);
-#endif
-
SG_USING_STD(string);
#include "ATC.hxx"
SG_USING_STD(string);
#include STL_IOSTREAM
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
-#endif
//#include <simgear/debug/logstream.hxx>
//#include <simgear/misc/sgstream.hxx>
#define _FG_ATIS_HXX
#include <stdio.h>
+#include <string>
#include <simgear/compiler.h>
#include <simgear/math/sg_geodesy.hxx>
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
# include <iomanip>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <iostream.h>
#elif defined( __BORLANDC__ ) || (__APPLE__)
# include <iostream>
#else
# include <iomanip.h>
#endif
-#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(istream);
-#endif
-
-#include <string>
-
SG_USING_STD(string);
#include "ATC.hxx"
#include STL_STRING
SG_USING_STD(string);
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_STD(ios);
-#endif
#include <map>
#include <vector>
#include STL_STRING
SG_USING_STD(string);
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_STD(ios);
-#endif
#include "ATC.hxx"
//#include "ATCmgr.hxx"
#include "runways.hxx"
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
SG_USING_STD(endl);
-#endif
int main( int argc, char **argv ) {
FGRunwaysUtil runways;
#include "simple.hxx"
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
SG_USING_STD(endl);
-#endif
int main( int argc, char **argv ) {
FGAirportsUtil airports;
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <iostream.h>
#elif defined( __BORLANDC__ ) || defined (__APPLE__)
# include <iostream>
#else
# include <istream.h>
#endif
-#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(istream);
-#endif
inline istream&
operator >> ( istream& in, FGRunway& a )
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <iostream.h>
#elif defined( __BORLANDC__ ) || defined (__APPLE__)
# include <iostream>
#else
# include <istream.h>
#endif
-#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(istream);
-#endif
inline istream&
//built-in layers
#include "built_in/FGMagRibbon.hxx"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(istream);
SG_USING_STD(ifstream);
-#endif
SG_USING_STD(string);
#include STL_IOSTREAM
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(istream);
-#endif
extern FGPanel * fgReadPanel (istream &input);
extern FGPanel * fgReadPanel (const string &relative_path);
#include STL_FSTREAM
#include STL_IOSTREAM
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
-#endif
#include "IO360.hxx"
#include "LaRCsim/ls_constants.h"
#include STL_IOSTREAM
#include STL_FSTREAM
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(ofstream);
-#endif
class FGNewEngine {
# include STL_FSTREAM
# include STL_IOSTREAM
SG_USING_STD(string);
-# if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
- SG_USING_STD(ostream);
- SG_USING_STD(istream);
- SG_USING_STD(cerr);
- SG_USING_STD(cout);
- SG_USING_STD(endl);
-# endif
+ SG_USING_STD(ostream);
+ SG_USING_STD(istream);
+ SG_USING_STD(cerr);
+ SG_USING_STD(cout);
+ SG_USING_STD(endl);
#else
# include <string>
# if defined(sgi) && !defined(__GNUC__)
# include STL_FSTREAM
# include STL_IOSTREAM
SG_USING_STD(string);
-# if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
- SG_USING_STD(ostream);
- SG_USING_STD(istream);
- SG_USING_STD(cerr);
- SG_USING_STD(cout);
- SG_USING_STD(endl);
-# endif
+ SG_USING_STD(ostream);
+ SG_USING_STD(istream);
+ SG_USING_STD(cerr);
+ SG_USING_STD(cout);
+ SG_USING_STD(endl);
#else
# include <string>
# if defined (sgi) && !defined(__GNUC__)
# include STL_FSTREAM
# include STL_IOSTREAM
SG_USING_STD(string);
-# if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
- SG_USING_STD(ostream);
- SG_USING_STD(istream);
- SG_USING_STD(ifstream);
- SG_USING_STD(cerr);
- SG_USING_STD(endl);
- SG_USING_STD(ios);
- SG_USING_STD(cout);
-# endif
+ SG_USING_STD(ostream);
+ SG_USING_STD(istream);
+ SG_USING_STD(ifstream);
+ SG_USING_STD(cerr);
+ SG_USING_STD(endl);
+ SG_USING_STD(ios);
+ SG_USING_STD(cout);
#else
# include <string>
# if defined(sgi) && !defined(__GNUC__)
# include STL_FSTREAM
# include STL_IOSTREAM
SG_USING_STD(string);
-# if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
- SG_USING_STD(ostream);
- SG_USING_STD(istream);
- SG_USING_STD(cerr);
- SG_USING_STD(cout);
- SG_USING_STD(endl);
-# endif
+ SG_USING_STD(ostream);
+ SG_USING_STD(istream);
+ SG_USING_STD(cerr);
+ SG_USING_STD(cout);
+ SG_USING_STD(endl);
#else
# include <string>
# if defined(sgi) && !defined(__GNUC__)
# include <simgear/compiler.h>
# include STL_STRING
SG_USING_STD(string);
-# if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
- SG_USING_STD(cerr);
- SG_USING_STD(endl);
- SG_USING_STD(cout);
-# endif
+ SG_USING_STD(cerr);
+ SG_USING_STD(endl);
+ SG_USING_STD(cout);
#else
# include <string>
using std::string;
# include STL_STRING
# include STL_IOSTREAM
# include STL_FSTREAM
-# if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
- SG_USING_STD(cout);
- SG_USING_STD(endl);
-# endif
+ SG_USING_STD(cout);
+ SG_USING_STD(endl);
#else
# include <string>
# if defined(sgi) && !defined(__GNUC__)
#include <FDM/LaRCsim/ls_constants.h>
#include <FDM/LaRCsim/ls_geodesy.h>
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
SG_USING_STD(endl);
-#endif
LaRCsimIC::LaRCsimIC(void) {
#include "uiuc_parsefile.h"
#include "uiuc_aircraft.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(istrstream);
-#endif
int uiuc_1DdataFileReader( string file_name,
double x[100],
#include "uiuc_parsefile.h"
#include "uiuc_aircraft.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(istrstream);
-#endif
void uiuc_2DdataFileReader( string file_name,
double x[100][100],
//#include "uiuc_flapdata.h"
SG_USING_STD(map);
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(iostream);
SG_USING_STD(ofstream);
-#endif
typedef stack :: iterator LIST;
#include "uiuc_engine.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cerr);
-#endif
void uiuc_engine()
{
#include "uiuc_gear.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cerr);
-#endif
#define HEIGHT_AGL_WHEEL d_wheel_rwy_local_v[2]
#include <stdlib.h>
#include <string.h>
#include STL_IOSTREAM
+#include <cstdlib> // exit
#include "uiuc_menu.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cerr);
SG_USING_STD(cout);
SG_USING_STD(endl);
-# ifndef _MSC_VER
+#ifndef _MSC_VER
SG_USING_STD(exit);
-# endif
#endif
bool check_float( const string &token)
SG_USING_STD(list);
SG_USING_STD(string);
SG_USING_STD(getline);
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(ifstream);
-#endif
#define DELIMITERS " \t"
#define COMMENT "#"
#include "uiuc_recorder.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(endl); // -dw
-#endif
void uiuc_recorder( double dt )
{
**********************************************************************/
#include <stdlib.h>
#include <string.h>
+#include <cstdlib> // exit
#include "uiuc_warnings_errors.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD (cerr);
SG_USING_STD (endl);
-# ifndef _MSC_VER
+#ifndef _MSC_VER
SG_USING_STD (exit);
-# endif
#endif
void uiuc_warnings_errors(int errorCode, string line)
//#include "uiuc_network.h"
//#include "uiuc_get_flapper.h"
-#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
SG_USING_STD(endl);
-#endif
extern "C" void uiuc_init_aeromodel ();
extern "C" void uiuc_force_moment(double dt);
#include "sgVec3Slider.hxx"
SG_USING_STD(string);
-
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_STD(cout);
-#endif
// main.cxx hack, should come from an include someplace
extern void fgInitVisuals( void );
#include "gui_local.hxx"
SG_USING_STD(string);
-
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_STD(cout);
-#endif
/* --------------------------------------------------------------------
Mouse stuff
#include <jsinput.h>
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(fstream);
SG_USING_STD(cout);
SG_USING_STD(endl);
SG_USING_STD(ios);
-#endif
SG_USING_STD(string);
string axes_humannames[8] = { "elevator", "ailerons", "rudder", "throttle",
#include "input.hxx"
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(ifstream);
-#endif
SG_USING_STD(string);
SG_USING_STD(vector);
#include "fg_commands.hxx"
SG_USING_STD(string);
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(ifstream);
SG_USING_STD(ofstream);
-#endif
#include "fg_props.hxx"
#include "fg_io.hxx"
#include "fgfs.hxx"
#include "fg_props.hxx"
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(istream);
SG_USING_STD(ostream);
-#endif
#ifdef FG_WEATHERCM
static double getWindNorth ();
#include "logger.hxx"
#include STL_FSTREAM
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
+#include <string>
+
SG_USING_STD(ofstream);
SG_USING_STD(endl);
-#endif
-
-#include <string>
SG_USING_STD(string);
#include <simgear/debug/logstream.hxx>
# include <config.h>
#endif
+#include <iostream>
+#include <vector>
+
#include <simgear/compiler.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/exception.hxx>
#include <simgear/misc/props.hxx>
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
-#include <iostream>
SG_USING_STD(ostream);
-#endif
-
-#include <vector>
SG_USING_STD(vector);
#include "fgfs.hxx"
#include <simgear/compiler.h>
#include STL_IOSTREAM
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_STD(cerr);
SG_USING_STD(endl);
-#endif
#include <simgear/misc/exception.hxx>
#include <simgear/ephemeris/ephemeris.hxx>
#include "modelmgr.hxx"
#include "model.hxx"
+SG_USING_STD(find);
+
FGModelMgr::FGModelMgr ()
: _selector(new ssgSelector)
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <iostream.h>
#elif defined( __BORLANDC__ ) || (__APPLE__)
# include <iostream>
#else
# include <istream.h>
#endif
-#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(istream);
-#endif
#include STL_STRING
SG_USING_STD(string);
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <iostream.h>
#elif defined( __BORLANDC__ ) || (__APPLE__)
# include <iostream>
#else
# include <istream.h>
#endif
-#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(istream);
-#endif
#define FG_ILS_DEFAULT_RANGE 18
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <iostream.h>
#elif defined( __BORLANDC__ ) || (__APPLE__)
# include <iostream>
#else
# include <istream.h>
#endif
-#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(istream);
-#endif
class FGNav {
#include "httpd.hxx"
SG_USING_STD(string);
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
SG_USING_STD(istrstream);
-#endif
bool FGHttpd::open() {
#include "jpg-httpd.hxx"
SG_USING_STD(string);
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
SG_USING_STD(istrstream);
-#endif
bool FGJpegHttpd::open() {
#include "props.hxx"
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(strstream);
SG_USING_STD(ends);
-#endif
/**
* Props connection class.
#include <stdlib.h>
#include "linintp2.h"
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_NAMESPACE(std);
SG_USING_STD(cout);
-#endif
//---------------------------------------------------------------------------
mgcLinInterp2D::mgcLinInterp2D (int _numPoints, double* x, double* y,
#include <math.h>
#include "sphrintp.h"
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_NAMESPACE(std);
SG_USING_STD(cout);
-#endif
static const double PI = 4.0*atan(1.0);
#include "linintp2.h"
#include <plib/sg.h>
-#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
SG_USING_NAMESPACE(std);
SG_USING_STD(cout);
-#endif
class SphereInterpolate