Updated OSG so that the old OSG_USE_IO_DOT_H has be removed from all headers

that used it, all references to the Standard C++ stream classes use the
std::ostream etc convention, all references to "using namespace std" and
"using namespace std::ostream etc" have been removed.
This commit is contained in:
Robert Osfield
2001-12-14 21:49:04 +00:00
parent 6070a9e1b1
commit b1f478e5d2
16 changed files with 36 additions and 107 deletions

View File

@@ -10,13 +10,7 @@
#include <string.h>
#include <stdlib.h>
#ifdef OSG_USE_IO_DOT_H
#include <iostream.h>
#else
#include <iostream>
using std::istream;
using std::ifstream;
#endif
namespace osgDB {
@@ -32,7 +26,7 @@ class OSGDB_EXPORT FieldReader
virtual FieldReader& operator = (const FieldReader& ic);
void attach(istream* input);
void attach(std::istream* input);
void detach();
virtual bool eof() const;
@@ -51,7 +45,7 @@ class OSGDB_EXPORT FieldReader
void _free();
void _copy(const FieldReader& ic);
istream* _fin;
std::istream* _fin;
bool _eof;
bool findStartOfNextField();