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

read data obtained in ASCII (any2ascii) from T. Forbriger More...

#include <cstdlib>
#include <sstream>
#include <libtime++.h>
#include <datrwxx/readtfascii.h>
#include <datrwxx/error.h>
Include dependency graph for readtfascii.cc:

Go to the source code of this file.

Namespaces

 datrw
 Root namespace of library.
 
 datrw::tfascii
 all functions, classes, etc. to read data format of T.Forbriger's any2ascii
 
 datrw::tfascii::helper
 contains a few helper functions to extract data while reading
 

Macros

#define DATRW_READTFASCII_CC_VERSION   "DATRW_READTFASCII_CC V1.0 "
 

Functions

void datrw::tfascii::helper::extract (std::string &line)
 splits a given string after the colon More...
 
void datrw::tfascii::helper::extractvalue (std::string &line, bool unit=false)
 split given string More...
 
void datrw::tfascii::help (std::ostream &os=std::cout)
 function to print online help More...
 
FileHeader datrw::tfascii::readfileheader (std::istream &is, const bool &verbose=false)
 read the complete fileheader More...
 
TraceHeader datrw::tfascii::readtraceheader (std::istream &is, const bool &verbose=false)
 read the complete traceheader More...
 

Variables

const char *const datrw::tfascii::streamname = "itfasciistream"
 name of the stream More...
 

Detailed Description

read data obtained in ASCII (any2ascii) from T. Forbriger

(implementation)


Author
Daniel Armbruster
Date
05/10/2010

Purpose: read data obtained in ASCII (any2ascii) from T. Forbriger

(implementation)

This file is part of libdatrwxx.

libdatrwxx 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 3 of the License, or (at your option) any later version.

libdatrwxx 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 libdatrwxx. If not, see http://www.gnu.org/licenses/.

Copyright (c) 2010 by Daniel Armbruster

REVISIONS and CHANGES 05/10/2010 V0.1 Daniel Armbruster


Definition in file readtfascii.cc.