]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_menu_misc.cpp
Harald JOHNSEN:
[flightgear.git] / src / FDM / UIUCModel / uiuc_menu_misc.cpp
index 20ff545838c7238abc1abba556e898d4be45adb4..75c2c512c6f3b0e2b94fefb33cf3fc2b6332c13d 100644 (file)
@@ -18,6 +18,9 @@
 ----------------------------------------------------------------------
 
  HISTORY:      04/04/2003   initial release
+               06/30/2003   (RD) replaced istrstream with istringstream
+                            to get rid of the annoying warning about
+                            using the strstream header
 
 ----------------------------------------------------------------------
 
@@ -97,14 +100,14 @@ void parse_misc( const string& linetoken2, const string& linetoken3,
                 const string& linetoken10, const string& aircraft_directory, 
                 LIST command_line ) {
   double token_value;
-  istrstream token3(linetoken3.c_str());
-  istrstream token4(linetoken4.c_str());
-  istrstream token5(linetoken5.c_str());
-  istrstream token6(linetoken6.c_str());
-  istrstream token7(linetoken7.c_str());
-  istrstream token8(linetoken8.c_str());
-  istrstream token9(linetoken9.c_str());
-  istrstream token10(linetoken10.c_str());
+  istringstream token3(linetoken3.c_str());
+  istringstream token4(linetoken4.c_str());
+  istringstream token5(linetoken5.c_str());
+  istringstream token6(linetoken6.c_str());
+  istringstream token7(linetoken7.c_str());
+  istringstream token8(linetoken8.c_str());
+  istringstream token9(linetoken9.c_str());
+  istringstream token10(linetoken10.c_str());
 
   switch(misc_map[linetoken2])
     {
@@ -118,19 +121,19 @@ void parse_misc( const string& linetoken2, const string& linetoken3,
        simpleHingeMomentCoef = token_value;
        break;
       }
-    case dfTimefdf_flag:
-      {
-       dfTimefdf = linetoken3;
+      //case dfTimefdf_flag:
+      //{
+      //dfTimefdf = linetoken3;
        /* call 1D File Reader with file name (dfTimefdf);
           function returns array of dfs (dfArray) and 
           corresponding time values (TimeArray) and max 
           number of terms in arrays (ndf) */
-       uiuc_1DdataFileReader(dfTimefdf,
-                             dfTimefdf_dfArray,
-                             dfTimefdf_TimeArray,
-                             dfTimefdf_ndf);
-       break;
-      }
+       //uiuc_1DdataFileReader(dfTimefdf,
+       //                    dfTimefdf_dfArray,
+       //                    dfTimefdf_TimeArray,
+       //                    dfTimefdf_ndf);
+       //break;
+      //}
     case flapper_flag:
       {
        string flap_file;