Commit 1cc0e9c2 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

blank lines in help to separate formats

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
flush tsoft channels after file is read


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2894
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent f18813f7
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: readany.cc,v 1.16 2009-11-12 16:24:39 tforb Exp $
* $Id: readany.cc,v 1.17 2009-11-12 16:34:25 tforb Exp $
* \author Thomas Forbriger
* \date 06/04/2004
*
......@@ -40,7 +40,7 @@
#define DATREAD_READANY_CC_VERSION \
"DATREAD_READANY_CC V1.5"
#define DATREAD_READANY_CC_CVSID \
"$Id: readany.cc,v 1.16 2009-11-12 16:24:39 tforb Exp $"
"$Id: readany.cc,v 1.17 2009-11-12 16:34:25 tforb Exp $"
#include <datreadxx/readany.h>
#include<datreadxx/sff.h>
......@@ -149,12 +149,19 @@ namespace datread {
<< "Online help obtained from data extraction facilities:"
<< std::endl;
os << "SFF data: "; isffstream::help(os);
os << std::endl;
os << "HPMO data: "; ihpmostream::help(os);
os << std::endl;
os << "MiniSEED data: "; imseedstream::help(os);
os << std::endl;
os << "PDAS data: "; ipdasstream::help(os);
os << std::endl;
os << "Bonjer data: "; ibonjerstream::help(os);
os << std::endl;
os << "SAC data: "; isacstream::help(os);
os << std::endl;
os << "GSE data: "; igsestream::help(os);
os << std::endl;
os << "TSOFT data: "; itsoftstream::help(os);
}
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: tsoft.cc,v 1.3 2009-11-11 17:41:22 tforb Exp $
* $Id: tsoft.cc,v 1.4 2009-11-12 16:34:25 tforb Exp $
* \author Thomas Forbriger
* \date 11/11/2009
*
......@@ -35,7 +35,7 @@
#define DATREAD_TSOFT_CC_VERSION \
"DATREAD_TSOFT_CC V1.0 "
#define DATREAD_TSOFT_CC_CVSID \
"$Id: tsoft.cc,v 1.3 2009-11-11 17:41:22 tforb Exp $"
"$Id: tsoft.cc,v 1.4 2009-11-12 16:34:25 tforb Exp $"
#include <datreadxx/tsoft.h>
#include <datreadxx/util.h>
......@@ -97,6 +97,13 @@ namespace datread {
void itsoftstream::help(std::ostream& os)
{
os << std::endl;
os << "TSOFT data reading functions" << std::endl;
os << "----------------------------" << std::endl;
os << DATREAD_TSOFT_CC_VERSION << std::endl
<< DATREAD_TSOFT_CC_CVSID<< std::endl;
os << DATREAD_TSOFT_H_VERSION << std::endl
<< DATREAD_TSOFT_H_CVSID<< std::endl;
datread::tsoft::reporttranslation(os);
DATREAD_assert(datread::tsoft::translationisunique(),
"TSOFT translation table is not unique");
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: tsoftreader.cc,v 1.13 2009-11-12 16:21:39 tforb Exp $
* $Id: tsoftreader.cc,v 1.14 2009-11-12 16:34:25 tforb Exp $
* \author Thomas Forbriger
* \date 16/09/2009
*
......@@ -35,7 +35,7 @@
#define DATREAD_TSOFTREADER_CC_VERSION \
"DATREAD_TSOFTREADER_CC V1.0 "
#define DATREAD_TSOFTREADER_CC_CVSID \
"$Id: tsoftreader.cc,v 1.13 2009-11-12 16:21:39 tforb Exp $"
"$Id: tsoftreader.cc,v 1.14 2009-11-12 16:34:25 tforb Exp $"
#include <iostream>
#include <sstream>
......@@ -216,6 +216,7 @@ namespace datread {
if (debug) { std::cout << "<" << inputline << ">" << endl; }
} // while (is.good())
// file is read
Mdatacontainer.flushchannels();
// check if input is complete
if (!Mchecklist.allchecked())
{
......
Supports Markdown
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