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

report record #

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.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2152
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 507398bc
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: mseedtest.cc,v 1.20 2006-07-07 09:54:01 tforb Exp $
* $Id: mseedtest.cc,v 1.21 2006-07-07 11:19:51 tforb Exp $
* \author Thomas Forbriger
* \date 15/07/2004
*
......@@ -39,7 +39,7 @@
#define MSEEDTEST_VERSION \
"MSEEDTEST V1.4 test MiniSEED reading"
#define MSEEDTEST_CVSID \
"$Id: mseedtest.cc,v 1.20 2006-07-07 09:54:01 tforb Exp $"
"$Id: mseedtest.cc,v 1.21 2006-07-07 11:19:51 tforb Exp $"
#include <fstream>
#include <iostream>
......@@ -179,6 +179,7 @@ int main(int iargc, char* argv[])
std::ifstream ifs(filename.c_str());
int iblock=0;
int irecord=0;
datread::mseed::MiniSEEDblock block;
ifs >> block;
while (ifs.good())
......@@ -218,6 +219,10 @@ int main(int iargc, char* argv[])
else { cout << "Hence do not"; }
cout << " swap bytes, when reading header!" << endl;
}
++irecord;
cout << endl;
cout << "RECORD #" << irecord << endl;
cout << "===========" << endl;
datread::mseed::SEED::dump(dataheader, cout);
int nblockettes(dataheader.numblock);
unsigned int blocketteadr(dataheader.fblock);
......
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