Skip to content
Permalink
Browse files
remove unnecessary iostream includes
  • Loading branch information
jef-n committed Nov 26, 2011
1 parent 7ef04f6 commit 0a49c8c1bc84d339e53ff4544bfa0b6a7c496c20
@@ -23,12 +23,10 @@
#include <QList>
#include "MathUtils.h"
#include "TriangleInterpolator.h"
//#include <qapp.h>
#include <QColor>
#include <QFile>
#include <QTextStream>
#include <QMessageBox>
#include <iostream>
#include <cfloat>
#include <QBuffer>
#include <QStringList>
@@ -18,7 +18,6 @@
#define NODE_H

#include "Point3D.h"
#include <iostream>

/**Node is a class used by Line3D. It represents a node in the single directed linked list. Associated Point3D objects are deleted when the node is deleted.*/
class ANALYSIS_EXPORT Node
@@ -15,75 +15,74 @@
***************************************************************************/

#include "ParametricLine.h"
#include <iostream>

#include <qgslogger.h>

void ParametricLine::add( ParametricLine* pl )
{
Q_UNUSED( pl );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine" );
}

void ParametricLine::calcFirstDer( float t, Vector3D* v )
{
Q_UNUSED( t );
Q_UNUSED( v );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::calcSecDer( float t, Vector3D* v )
{
Q_UNUSED( t );
Q_UNUSED( v );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::calcPoint( float t, Point3D *p )
{
Q_UNUSED( t );
Q_UNUSED( p );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

ParametricLine* ParametricLine::getParent() const
{
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return 0;
}

void ParametricLine::remove( int i )
{
Q_UNUSED( i );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::setControlPoly( QVector<Point3D*>* cp )
{
Q_UNUSED( cp );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::setParent( ParametricLine* paral )
{
Q_UNUSED( paral );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

int ParametricLine::getDegree() const
{
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return mDegree;
}

const Point3D* ParametricLine::getControlPoint( int number ) const
{
Q_UNUSED( number );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return 0;
}

const QVector<Point3D*>* ParametricLine::getControlPoly() const
{
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return 0;
}
@@ -18,7 +18,6 @@
#define POINT3D_H

#include <cmath>
#include <iostream>

/**Point3D is a class to represent a three dimensional point*/
class ANALYSIS_EXPORT Point3D
@@ -14,8 +14,6 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include <iostream>

#include <QSettings>
#include <QMessageBox>
#include <QInputDialog>
@@ -39,7 +39,6 @@ email : tim@linfiniti.com
#include <QFile>

//non qt includes
#include <iostream>
#include <cmath>
#include <cassert>

@@ -30,7 +30,6 @@
#include <QColorDialog>
#include <QFontDialog>
#include <QTextEdit>
#include <iostream>
#include <QApplication>
#include <QMessageBox>

@@ -15,7 +15,6 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include <iostream>
#include <QLocale>
#include <QSettings>
#include <QTranslator>
@@ -37,7 +37,6 @@
#include <QGraphicsView>
#include <QPainter>
#include <QSettings>
#include <iostream>
#include <cmath>

QgsComposerMap::QgsComposerMap( QgsComposition *composition, int x, int y, int width, int height )
@@ -15,8 +15,6 @@
* *
***************************************************************************/

#include <iostream>

#include "qgsmaplayerregistry.h"
#include "qgsmaplayer.h"
#include "qgslogger.h"
@@ -17,7 +17,6 @@

#include "qgspallabeling.h"

#include <iostream>
#include <list>

#include <pal/pal.h>
@@ -18,8 +18,6 @@

#include "qgsproviderregistry.h"

#include <iostream>

#include <QString>
#include <QDir>
#include <QLibrary>
@@ -25,7 +25,6 @@
#include <QObject>
#include <QSet>
#include <QSettings>
#include <iostream>

#include <cmath>

@@ -49,7 +49,6 @@ typedef unsigned __int64 uint64_t;
#endif

#include <assert.h>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <string>
@@ -32,9 +32,6 @@
#include <QAction>
#include <QFile>

//non qt includes
#include <iostream>

//the gui subclass
#include "qgsdelimitedtextplugingui.h"

@@ -36,8 +36,6 @@
#define strcasecmp(s,t) stricmp(s,t)
#endif

#include <iostream>

#include "dl_attributes.h"
#include "dl_codes.h"

@@ -14,7 +14,6 @@
***************************************************************************/

#include <cmath>
#include <iostream>
#include <cstdio>

#include <cpl_conv.h>
@@ -13,16 +13,14 @@
#include "qgsgpsdevicedialog.h"
#include "qgisgui.h"

#include <iostream>

#include <QMessageBox>
#include <QSettings>


QgsGPSDeviceDialog::QgsGPSDeviceDialog( std::map<QString, QgsGPSDevice*>&
devices ) :
QDialog( 0, QgisGui::ModalDialogFlags ), mDevices( devices )

QgsGPSDeviceDialog::QgsGPSDeviceDialog( std::map<QString,
QgsGPSDevice*>& devices )
: QDialog( 0, QgisGui::ModalDialogFlags )
, mDevices( devices )
{
setupUi( this );
setAttribute( Qt::WA_DeleteOnClose );
@@ -24,15 +24,15 @@
//standard includes
#include <cassert>
#include <cstdlib>
#include <iostream>


QgsGPSPluginGui::QgsGPSPluginGui( const BabelMap& importers,
std::map<QString, QgsGPSDevice*>& devices,
std::vector<QgsVectorLayer*> gpxMapLayers,
QWidget* parent, Qt::WFlags fl )
: QDialog( parent, fl ), mGPXLayers( gpxMapLayers ),
mImporters( importers ), mDevices( devices )
: QDialog( parent, fl )
, mGPXLayers( gpxMapLayers )
, mImporters( importers )
, mDevices( devices )
{
setupUi( this );
populatePortComboBoxes();
@@ -29,8 +29,6 @@
#include <QTableWidgetItem>
#include <QInputDialog>

#include <iostream>

#include "qgsencodingfiledialog.h"

#include "qgspgutil.h"
@@ -18,7 +18,6 @@
***************************************************************************/

#include <algorithm>
#include <iostream>
#include <limits>
#include <cstring>
#include <cmath>
@@ -14,7 +14,6 @@

#include "osmhandler.h"

#include <iostream>
#include <cstring>

#include "qgslogger.h"

0 comments on commit 0a49c8c

Please sign in to comment.