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

read pdas file (prototypes) More...

#include <vector>
#include <istream>
#include <datrwxx/pdasflags.h>
#include <datrwxx/error.h>
#include <libtime++.h>
Include dependency graph for pdasread.h:

Go to the source code of this file.

Classes

struct  datrw::pdas::Header
 struct to hold complete header More...
 
struct  datrw::pdas::HeaderLine
 struct to hold content of header line More...
 

Namespaces

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

Macros

#define DATRW_PDASREAD_H_VERSION   "DATRW_PDASREAD_H V1.2 "
 

Typedefs

typedef std::vector< Tvalue > datrw::pdas::Tdata
 
typedef int datrw::pdas::Tvalue
 

Functions

template<class C >
datrw::pdas::convert (const Tdata &data)
 function to convert data More...
 
template<class C >
datrw::pdas::convertandscale (const Tdata &data, const Etype &type)
 function to scale data More...
 
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 (prototypes)


Author
Thomas Forbriger
Date
30/03/2004

read pdas file (prototypes)


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
  • 20/10/2004 V1.2 support scaling for floating point types

Definition in file pdasread.h.