Commit ed315528 authored by Matthias Möller's avatar Matthias Möller
Browse files

- move iostream from header to source files.

- replace some iostreams to o/istreams only
- some minor include fixes

closes #2489

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1278 fdac6126-5c0c-442c-9429-916003d36597
parent 23fb3781
......@@ -53,6 +53,7 @@
#endif
#include <iomanip>
#include <iostream>
#include <sstream>
#include <algorithm>
// --------------------
......@@ -62,12 +63,11 @@
# include <GL/glut.h>
#endif
// --------------------
#include <qnamespace.h>
#include <qapplication.h>
#include <qmenu.h>
#include <qcursor.h>
#include <qimage.h>
#include <qdatetime.h>
#include <QApplication>
#include <QMenu>
#include <QCursor>
#include <QImage>
#include <QDateTime>
#include <QMouseEvent>
// --------------------
#include <OpenMesh/Apps/QtViewer/QGLViewerWidget.hh>
......
......@@ -69,7 +69,7 @@
#include <OpenMesh/Core/System/config.h>
#include <iostream>
#include <ostream>
#include <cmath>
#include <cassert>
#include <cstring>
......
......@@ -60,6 +60,7 @@
#include <OpenMesh/Core/System/config.h>
// -------------------- STL
#include <algorithm>
#include <iostream>
// -------------------- OpenMesh
#include <OpenMesh/Core/IO/BinaryHelper.hh>
......
......@@ -66,7 +66,7 @@
#else
# include <cstdio>
#endif
#include <iostream>
#include <iosfwd>
// -------------------- OpenMesh
......
......@@ -60,6 +60,8 @@
#include <OpenMesh/Core/System/config.h>
#include <OpenMesh/Core/IO/IOManager.hh>
#include <iostream>
//== NAMESPACES ===============================================================
......
......@@ -60,7 +60,7 @@
// STL
#include <iostream>
#include <iosfwd>
#include <sstream>
#include <string>
#include <set>
......
......@@ -53,7 +53,6 @@
#include <OpenMesh/Core/IO/reader/BaseReader.hh>
#include <algorithm>
#include <string>
#include <iterator>
#if defined(OM_CC_MIPS)
# include <ctype.h>
#else
......
......@@ -62,10 +62,11 @@
// STD C++
#include <iostream>
#include <iosfwd>
#include <string>
#include <cctype>
#include <functional>
#include <algorithm>
// OpenMesh
#include <OpenMesh/Core/System/config.h>
......
......@@ -71,7 +71,9 @@ using std::isspace;
#include <string.h>
#endif
#include <set>
#include <istream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <functional>
......
......@@ -61,11 +61,9 @@
//=== INCLUDES ================================================================
#include <iostream>
#include <iosfwd>
#include <string>
#include <vector>
#include <map>
#include <fstream>
#include <OpenMesh/Core/System/config.h>
#include <OpenMesh/Core/Utils/SingletonT.hh>
......
......@@ -65,7 +65,6 @@
//STL
#include <iostream>
#include <ios>
#include <fstream>
#include <memory>
......
......@@ -61,10 +61,9 @@
//=== INCLUDES ================================================================
#include <iostream>
#include <iosfwd>
#include <string>
#include <stdio.h>
#include <fstream>
#include <cstdio>
#include <OpenMesh/Core/System/config.h>
#include <OpenMesh/Core/Utils/SingletonT.hh>
......
......@@ -51,6 +51,8 @@
//STL
#include <vector>
#include <istream>
#include <fstream>
// OpenMesh
......
......@@ -69,7 +69,7 @@
#include <OpenMesh/Core/IO/reader/BaseReader.hh>
// STD C++
#include <iostream>
#include <iosfwd>
#include <string>
......
......@@ -61,6 +61,7 @@
//STL
#include <fstream>
#include <iostream>
#include <memory>
#ifndef WIN32
......
......@@ -61,10 +61,10 @@
//=== INCLUDES ================================================================
#include <iostream>
#include <iosfwd>
#include <string>
#include <stdio.h>
#include <fstream>
#include <cstdio>
#include <vector>
#include <OpenMesh/Core/System/config.h>
......
......@@ -54,7 +54,6 @@
#include <OpenMesh/Core/IO/writer/BaseWriter.hh>
#include <algorithm>
#include <string>
#include <iterator>
#if defined(OM_CC_MIPS)
# include <ctype.h>
#else
......
......@@ -62,7 +62,7 @@
// STD C++
#include <iostream>
#include <iosfwd>
#include <string>
// OpenMesh
......
......@@ -60,6 +60,9 @@
#endif
#include <fstream>
#include <ostream>
#include <vector>
// -------------------- OpenMesh
#include <OpenMesh/Core/IO/OMFormat.hh>
#include <OpenMesh/Core/System/omstream.hh>
......
......@@ -62,7 +62,7 @@
// STD C++
#include <iostream>
#include <iosfwd>
#include <string>
// OpenMesh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment