remove superfluous includes of iostream, use iosfwd instead
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include "Matrix.h"
|
||||
#include "ViewProj.h"
|
||||
#include "Tools2D.h"
|
||||
#include <iostream>
|
||||
#include <limits>
|
||||
|
||||
namespace Base {
|
||||
@@ -985,29 +984,10 @@ inline void BoundBox3<_Precision>::ScaleZ (_Precision f)
|
||||
MinZ *= f; MaxZ *= f;
|
||||
}
|
||||
|
||||
template <class _Precision>
|
||||
inline void BoundBox3<_Precision>::Print (std::ostream& out) const
|
||||
{
|
||||
out << "X1 : " << MinX << " Y1 : " << MinY << " Z1 : " << MinZ << std::endl;
|
||||
out << "X2 : " << MaxX << " Y2 : " << MaxY << " Z2 : " << MaxZ << std::endl;
|
||||
}
|
||||
|
||||
typedef BoundBox3<float> BoundBox3f;
|
||||
typedef BoundBox3<double> BoundBox3d;
|
||||
|
||||
} // namespace Base
|
||||
|
||||
inline std::ostream& operator << (std::ostream& out, const Base::BoundBox3f& bb)
|
||||
{
|
||||
bb.Print(out);
|
||||
return out;
|
||||
}
|
||||
|
||||
inline std::ostream& operator << (std::ostream& out, const Base::BoundBox3d& bb)
|
||||
{
|
||||
bb.Print(out);
|
||||
return out;
|
||||
}
|
||||
|
||||
#endif // BASE_BOUNDBOX_H
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#define BASE_IINPUTSOURCE_H
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
#include <xercesc/sax2/Attributes.hpp>
|
||||
#include <xercesc/util/BinInputStream.hpp>
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
#undef isalnum
|
||||
#endif
|
||||
#define slots
|
||||
#include <iostream>
|
||||
#include <bitset>
|
||||
|
||||
#include <typeinfo>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#ifndef CHANGEDYNA_H
|
||||
#define CHANGEDYNA_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <iomanip>
|
||||
# include <ios>
|
||||
# include <iostream>
|
||||
# include <map>
|
||||
# include <set>
|
||||
#endif
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define MESH_KERNEL_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
#include "Elements.h"
|
||||
#include "Helpers.h"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#ifndef PART_TOPOSHAPE_H
|
||||
#define PART_TOPOSHAPE_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
#include <TopoDS_Compound.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
#define TECHDRAW_EDGEWALKER_H
|
||||
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
|
||||
#include <boost/graph/adjacency_list.hpp>
|
||||
#include <boost/graph/properties.hpp>
|
||||
#include <boost/graph/graph_traits.hpp>
|
||||
@@ -94,7 +92,7 @@ public:
|
||||
|
||||
std::vector<WalkerEdge> wedges; //[WE] representing 1 wire
|
||||
void push_back(WalkerEdge w);
|
||||
void clear() {wedges.clear();};
|
||||
void clear() {wedges.clear();}
|
||||
int size(void);
|
||||
};
|
||||
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
#ifndef _TechDraw_HATCHLINE_H_
|
||||
#define _TechDraw_HATCHLINE_H_
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
#ifndef _TechDraw_LINEGROUP_H_
|
||||
#define _TechDraw_LINEGROUP_H_
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
namespace TechDraw
|
||||
|
||||
Reference in New Issue
Block a user