#include "runways.hxx"
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
FGRunway::FGRunway() {
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
# include <iostream.h>
#elif defined( __BORLANDC__ )
# include <iostream>
#include <mk4str.h>
#undef NDEBUG
-FG_USING_STD(string);
-FG_USING_STD(vector);
+SG_USING_STD(string);
+SG_USING_STD(vector);
-#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
-FG_USING_STD(istream);
+#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
+SG_USING_STD(istream);
#endif
#include "simple.hxx"
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
FGAirports::FGAirports( const string& file ) {
// open the specified database readonly
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
# include <iostream.h>
#elif defined( __BORLANDC__ )
# include <iostream>
# undef NDEBUG
#endif
-FG_USING_STD(string);
-FG_USING_STD(set);
+SG_USING_STD(string);
+SG_USING_STD(set);
-#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
-FG_USING_STD(istream);
+#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
+SG_USING_STD(istream);
#endif
#include <FDM/flight.hxx>
#include <Controls/controls.hxx>
-FG_USING_STD(string);
+SG_USING_STD(string);
// Defines
#include "hud_opts.hxx"
-FG_USING_STD(deque);
-FG_USING_STD(vector);
-FG_USING_NAMESPACE(std);
+SG_USING_STD(deque);
+SG_USING_STD(vector);
+SG_USING_NAMESPACE(std);
// some of Norman's crazy optimizations. :-)
#include <Main/fgfs.hxx>
-FG_USING_STD(vector);
-FG_USING_STD(map);
+SG_USING_STD(vector);
+SG_USING_STD(map);
class FGPanelInstrument;
#include "steam.hxx"
#include "panel_io.hxx"
-#if !defined (FG_HAVE_NATIVE_SGI_COMPILERS)
-FG_USING_STD(istream);
-FG_USING_STD(ifstream);
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(istream);
+SG_USING_STD(ifstream);
#endif
-FG_USING_STD(string);
+SG_USING_STD(string);
\f
#include "panel.hxx"
-#if !defined (FG_HAVE_NATIVE_SGI_COMPILERS)
-FG_USING_STD(istream);
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(istream);
#endif
extern FGPanel * fgReadPanel (istream &input);
# include <config.h>
#endif
-#if defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#if defined( SG_HAVE_NATIVE_SGI_COMPILERS )
# include <iostream.h>
#else
# include <iostream>
#include <Main/bfi.hxx>
#include <NetworkOLK/features.hxx>
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
#include "radiostack.hxx"
#include "steam.hxx"
#include <time.h>
#include STL_STRING
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
/**
#include "10520d.hxx"
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+SG_USING_STD(cout);
+SG_USING_STD(endl);
// ------------------------------------------------------------------------
// CODE
#include "IO360.hxx"
-FG_USING_STD(cout);
+SG_USING_STD(cout);
// Static utility functions
#include <fstream>
#include <math.h>
-FG_USING_STD(ofstream);
+SG_USING_STD(ofstream);
class FGNewEngine {
#ifdef FGFS
# include <simgear/compiler.h>
# include STL_STRING
-FG_USING_STD(string);
+SG_USING_STD(string);
#else
# include <string>
#endif
#include <FDM/LaRCsim/ls_constants.h>
#include <FDM/LaRCsim/ls_geodesy.h>
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+SG_USING_STD(cout);
+SG_USING_STD(endl);
LaRCsimIC::LaRCsimIC(void) {
#include "uiuc_parsefile.h"
#include "uiuc_aircraft.h"
-FG_USING_STD(istrstream);
+SG_USING_STD(istrstream);
int uiuc_1DdataFileReader( string file_name,
double x[100],
#include "uiuc_parsefile.h"
#include "uiuc_aircraft.h"
-FG_USING_STD(istrstream);
+SG_USING_STD(istrstream);
void uiuc_2DdataFileReader( string file_name,
double x[100][100],
#include "uiuc_parsefile.h"
-FG_USING_STD(map);
-FG_USING_STD(iostream);
+SG_USING_STD(map);
+SG_USING_STD(iostream);
#if defined ( macintosh ) || defined ( _MSC_VER )
-FG_USING_STD(ofstream);
+SG_USING_STD(ofstream);
#endif
#include "uiuc_engine.h"
-FG_USING_STD(cerr);
+SG_USING_STD(cerr);
void uiuc_engine()
{
#include "uiuc_menu.h"
-FG_USING_STD(cerr);
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+SG_USING_STD(cerr);
+SG_USING_STD(cout);
+SG_USING_STD(endl);
#ifndef _MSC_VER
-FG_USING_STD(exit);
+SG_USING_STD(exit);
#endif
bool check_float(string &token)
#include <list>
#include <fstream>
-FG_USING_STD(list);
-FG_USING_STD(string);
-FG_USING_STD(getline);
-FG_USING_STD(ifstream);
+SG_USING_STD(list);
+SG_USING_STD(string);
+SG_USING_STD(getline);
+SG_USING_STD(ifstream);
#define DELIMITERS " \t"
#define COMMENT "#"
#include "uiuc_recorder.h"
-FG_USING_STD(endl); // -dw
+SG_USING_STD(endl); // -dw
void uiuc_recorder( double dt )
{
#include "uiuc_warnings_errors.h"
-FG_USING_STD (cerr);
-FG_USING_STD (endl);
+SG_USING_STD (cerr);
+SG_USING_STD (endl);
#ifndef _MSC_VER
-FG_USING_STD (exit);
+SG_USING_STD (exit);
#endif
void uiuc_warnings_errors(int errorCode, string line)
#include <string>
#include <iostream>
-FG_USING_STD(string);
+SG_USING_STD(string);
void uiuc_warnings_errors(int errorCode, string line);
#include "uiuc_betaprobe.h"
#include <FDM/LaRCsim/ls_generic.h>
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+SG_USING_STD(cout);
+SG_USING_STD(endl);
extern "C" void uiuc_init_aeromodel ();
extern "C" void uiuc_force_moment(double dt);
#include <Main/fgfs.hxx>
-FG_USING_STD(list);
-FG_USING_STD(vector);
-FG_USING_STD(string);
+SG_USING_STD(list);
+SG_USING_STD(vector);
+SG_USING_STD(string);
typedef double FG_VECTOR_3[3];
#include <iostream>
#include <math.h>
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+SG_USING_STD(cout);
+SG_USING_STD(endl);
// ------------------------------------------------------------------------
// CODE
#include "net_dlg.hxx"
#include "sgVec3Slider.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
-#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
-FG_USING_STD(cout);
+#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
+SG_USING_STD(cout);
#endif
// main.cxx hack, should come from an include someplace
#include "gui.h"
#include "gui_local.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
-#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
-FG_USING_STD(cout);
+#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
+SG_USING_STD(cout);
#endif
/* --------------------------------------------------------------------
a.owns = 0;
}
-#ifdef _FG_MEMBER_TEMPLATES
+#ifdef _SG_MEMBER_TEMPLATES
template <class T> auto_ptr(const auto_ptr<T>& a)
: ptr(a.ptr), owns(a.owns) {
a.owns = 0;
}
}
-#ifdef _FG_MEMBER_TEMPLATES
+#ifdef _SG_MEMBER_TEMPLATES
template <class T> auto_ptr& operator = (const auto_ptr<T>& a) {
if (&a != this) {
if (owns)
#include "joystick.hxx"
-FG_USING_STD(string);
-FG_USING_STD(cout);
+SG_USING_STD(string);
+SG_USING_STD(cout);
#ifdef WIN32
static const int MAX_JOYSTICKS = 2;
#include "fg_init.hxx"
#include "fg_props.hxx"
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
#include "bfi.hxx"
#include <simgear/compiler.h>
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
/**
#include <GL/xmesa.h>
#endif
-FG_USING_STD(string);
+SG_USING_STD(string);
extern const char *default_root;
#include "globals.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
// define the global I/O channel list
#include <Sound/soundmgr.hxx>
#include "viewmgr.hxx"
-FG_USING_STD( vector );
-FG_USING_STD( string );
+SG_USING_STD( vector );
+SG_USING_STD( string );
typedef vector<string> string_list;
#include "fg_props.hxx"
#include "options.hxx"
-FG_USING_STD(string);
-FG_USING_NAMESPACE(std);
+SG_USING_STD(string);
+SG_USING_NAMESPACE(std);
#define NEW_DEFAULT_MODEL_HZ 120
#include "viewer_lookat.hxx"
#include "viewer_rph.hxx"
-FG_USING_STD(vector);
+SG_USING_STD(vector);
// Define a structure containing view information
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
# include <iostream.h>
#elif defined( __BORLANDC__ )
# include <iostream>
# include <istream.h>
#endif
-#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
-FG_USING_STD(istream);
+#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
+SG_USING_STD(istream);
#endif
#include STL_STRING
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGFix {
#include "fix.hxx"
-FG_USING_STD(map);
-FG_USING_STD(vector);
-FG_USING_STD(string);
+SG_USING_STD(map);
+SG_USING_STD(vector);
+SG_USING_STD(string);
class FGFixList {
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
# include <iostream.h>
#elif defined( __BORLANDC__ )
# include <iostream>
# include <istream.h>
#endif
-#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
-FG_USING_STD(istream);
+#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
+SG_USING_STD(istream);
#endif
#include "ils.hxx"
-FG_USING_STD(map);
-FG_USING_STD(vector);
+SG_USING_STD(map);
+SG_USING_STD(vector);
class FGILSList {
#include "nav.hxx"
-FG_USING_STD(map);
-FG_USING_STD(vector);
+SG_USING_STD(map);
+SG_USING_STD(vector);
class FGBeacon {
#ifdef SG_HAVE_STD_INCLUDES
# include <istream>
-#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
# include <iostream.h>
#elif defined( __BORLANDC__ )
# include <iostream>
# include <istream.h>
#endif
-#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
-FG_USING_STD(istream);
+#if ! defined( SG_HAVE_NATIVE_SGI_COMPILERS )
+SG_USING_STD(istream);
#endif
#include "nav.hxx"
-FG_USING_STD(map);
-FG_USING_STD(vector);
+SG_USING_STD(map);
+SG_USING_STD(vector);
class FGNavList {
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGAtlas : public FGProtocol {
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGGarmin : public FGProtocol {
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGJoyClient : public FGProtocol {
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGNative : public FGProtocol {
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGNMEA : public FGProtocol {
#include "props.hxx"
-FG_USING_STD(cout);
-FG_USING_STD(istrstream);
+SG_USING_STD(cout);
+SG_USING_STD(istrstream);
FGProps::FGProps() {
}
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
const static int max_cmd_len = 256;
#include STL_STRING
#include <vector>
-FG_USING_STD(string);
-FG_USING_STD(vector);
+SG_USING_STD(string);
+SG_USING_STD(vector);
#define FG_MAX_MSG_SIZE 16384
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGPVE : public FGProtocol {
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGRAY : public FGProtocol {
#include "protocol.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
class FGRUL : public FGProtocol {
# include <config.h>
#endif
-#if defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#if defined( SG_HAVE_NATIVE_SGI_COMPILERS )
# include <iostream.h>
#else
# include <iostream>
#include <simgear/math/sg_types.hxx>
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
#include "features.hxx"
#include <time.h>
#include STL_STRING
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
/*
#include "matlib.hxx"
-FG_USING_STD(string);
+SG_USING_STD(string);
// global material management class
#include "newmat.hxx"
-FG_USING_STD(string);
-FG_USING_STD(map);
-FG_USING_STD(vector);
-FG_USING_STD(less);
+SG_USING_STD(string);
+SG_USING_STD(map);
+SG_USING_STD(vector);
+SG_USING_STD(less);
// Material management class
#include STL_STRING // Standard C++ string library
-FG_USING_STD(string);
+SG_USING_STD(string);
// MSVC++ 6.0 kuldge - Need forward declaration of friends.
#include "matlib.hxx"
#include "obj.hxx"
-FG_USING_STD(string);
-FG_USING_STD(vector);
+SG_USING_STD(string);
+SG_USING_STD(vector);
typedef vector < int > int_list;
#include <Scenery/tileentry.hxx>
-FG_USING_STD(string);
+SG_USING_STD(string);
// duplicated from the TerraGear tools
#include <plib/ssg.h>
-FG_USING_STD(vector);
+SG_USING_STD(vector);
class FGHitRec {
#include "tileentry.hxx"
#include "tilemgr.hxx" // temp, need to delete later
-FG_USING_NAMESPACE(std);
+SG_USING_NAMESPACE(std);
// a cheesy hack (to be fixed later)
extern ssgBranch *terrain;
#include "tileentry.hxx"
-FG_USING_STD(map);
+SG_USING_STD(map);
typedef map < long, FGTileEntry * > tile_map;
#include "tileentry.hxx"
-FG_USING_STD(for_each);
-FG_USING_STD(mem_fun_ref);
+SG_USING_STD(for_each);
+SG_USING_STD(mem_fun_ref);
// Constructor
#include <strings.h>
#endif
-FG_USING_STD(string);
-FG_USING_STD(vector);
+SG_USING_STD(string);
+SG_USING_STD(vector);
typedef vector < Point3D > point_list;
#include "hitlist.hxx"
-FG_USING_STD(list);
+SG_USING_STD(list);
#if defined(USE_MEM) || defined(WIN32)
#include <plib/sl.h>
#include <plib/sm.h>
-FG_USING_STD(map);
-FG_USING_STD(string);
+SG_USING_STD(map);
+SG_USING_STD(string);
// manages everything we need to know for an individual sound sample
#include "event.hxx"
-FG_USING_STD(for_each);
-FG_USING_STD(mem_fun);
-FG_USING_STD(string);
+SG_USING_STD(for_each);
+SG_USING_STD(mem_fun);
+SG_USING_STD(string);
fgEVENT_MGR global_events;
#include STL_STRING
-FG_USING_STD(deque);
-FG_USING_STD(list);
-FG_USING_STD(string);
+SG_USING_STD(deque);
+SG_USING_STD(list);
+SG_USING_STD(string);
class fgEVENT
#endif
#include <string>
-FG_USING_STD(string);
+SG_USING_STD(string);
#include <simgear/constants.h>
#include <simgear/debug/logstream.hxx>
#ifdef SG_HAVE_STD_INCLUDES
# include <ctime>
# ifdef macintosh
- FG_USING_STD(time_t);
+ SG_USING_STD(time_t);
# endif
#else
# include <time.h>
# include <cstdio>
# include <ctime>
# ifdef macintosh
- FG_USING_STD(time_t);
+ SG_USING_STD(time_t);
# endif
#else
# include <math.h>
/****************************************************************************/
/* DEFINES */
/****************************************************************************/
-FG_USING_STD(vector);
-FG_USING_STD(string);
-FG_USING_NAMESPACE(std);
+SG_USING_STD(vector);
+SG_USING_STD(string);
+SG_USING_NAMESPACE(std);
/****************************************************************************/
/* CLASS DECLARATION */
#include "FGCloudItem.h"
#include "FGSnowRain.h"
-FG_USING_STD(vector);
-FG_USING_STD(map);
-FG_USING_NAMESPACE(std);
+SG_USING_STD(vector);
+SG_USING_STD(map);
+SG_USING_NAMESPACE(std);
/****************************************************************************/
/* FOREWARD DEFINITIONS */
#include "FGWeatherDefs.h"
#include "FGPhysicalProperties.h"
-FG_USING_STD(vector);
-FG_USING_NAMESPACE(std);
+SG_USING_STD(vector);
+SG_USING_NAMESPACE(std);
/****************************************************************************/
/* used for output: */
/****************************************************************************/
/* DEFINES */
/****************************************************************************/
-FG_USING_STD(vector);
+SG_USING_STD(vector);
/****************************************************************************/
/* CLASS DECLARATION */