DATRW++ library: seismic data I/O with multiple formats
pdasread.cc File Reference

read pdas file (implementation) More...

#include <iostream>
#include <datrwxx/pdasread.h>
#include <datrwxx/error.h>
Include dependency graph for pdasread.cc:

Go to the source code of this file.

Classes

struct  datrw::pdas::FoundEOF
 

Namespaces

 datrw
 Root namespace of library.
 
 datrw::pdas
 all functions, classes etc. to read PDAS data.
 

Macros

#define DATRW_PDASREAD_CC_VERSION   "DATRW_PDASREAD_CC V1.3"
 

Functions

int datrw::pdas::countdata (std::istream &is, const Etype &type)
 function to skip the file data but count the samples More...
 
void datrw::pdas::help (std::ostream &os=std::cout)
 function to print online help More...
 
void datrw::pdas::readdata (std::istream &is, Tdata &data, const Etype &type)
 
Header datrw::pdas::readheader (std::istream &is, const bool &verbose)
 function to read the file header More...
 
HeaderLine datrw::pdas::readline (std::istream &is, const bool &verbose)
 function to read the file header line More...
 
Tvalue datrw::pdas::readsample (std::istream &is, const Etype &type)
 function to read one sample More...
 

Detailed Description

read pdas file (implementation)


Author
Thomas Forbriger
Date
30/03/2004

read pdas file (implementation)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Copyright (c) 2004 by Thomas Forbriger (BFO Schiltach)

REVISIONS and CHANGES

  • 30/03/2004 V1.0 Thomas Forbriger
  • 10/09/2004 V1.1 support long format
  • 19/10/2004 V1.2
    - long reading works now
    • supports gainranged format
  • 28/04/2006 V1.3 - long int appears to be of implementation dependent size
    • use long long int (8 byte) for delim

Definition in file pdasread.cc.