[Kst] branches/work/kst/portto4/kst/src/datasources/ascii
Peter Kümmel
syntheticpp at gmx.net
Sun Oct 14 12:03:09 UTC 2012
SVN commit 1320475 by kuemmel:
coding style
M +4 -9 asciisource.cpp
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1320474:1320475
@@ -11,7 +11,6 @@
***************************************************************************/
#include "asciisource.h"
-#include "asciisourceconfig.h"
#include "asciidatainterfaces.h"
#include "curve.h"
@@ -26,11 +25,8 @@
#include <QFile>
#include <QMessageBox>
-
-#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
-#include <iostream>
// simulate out of memory scenario
@@ -171,8 +167,6 @@
}
-
-
//-------------------------------------------------------------------------------------------
Kst::Object::UpdateType AsciiSource::internalDataSourceUpdate()
{
@@ -228,6 +222,7 @@
return (!new_data && !force_update ? NoChange : Updated);
}
+
//-------------------------------------------------------------------------------------------
int AsciiSource::columnOfField(const QString& field) const
{
@@ -249,8 +244,6 @@
}
-
-
//-------------------------------------------------------------------------------------------
int AsciiSource::readField(double *v, const QString& field, int s, int n)
{
@@ -492,6 +485,8 @@
return fields;
}
+
+//-------------------------------------------------------------------------------------------
QStringList AsciiSource::unitListFor(const QString& filename, AsciiSourceConfig* cfg)
{
QFile file(filename);
@@ -596,7 +591,7 @@
}
-
+//-------------------------------------------------------------------------------------------
Kst::ObjectList<Kst::Object> AsciiSource::autoCurves(ObjectStore& objectStore)
{
// here we could do more sophisticated stuff when generating a list of curves
More information about the Kst
mailing list