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

class to store TSOFT data (implementation)


More...

#include <datrwxx/error.h>
#include <datrwxx/tsoftdata.h>
#include <sstream>
Include dependency graph for tsoftdata.cc:

Go to the source code of this file.

Namespaces

 datrw
 Root namespace of library.
 
 datrw::tsoft
 All classes and functions to extract data from TSOFT files.
 

Macros

#define DATRW_TSOFTDATA_CC_VERSION   "DATRW_TSOFTDATA_CC V1.2"
 

Functions

Tlos datrw::tsoft::channelinfofree (const Channelinfo &ci)
 prepare free comment block from channel info More...
 
std::string datrw::tsoft::getDOSline (std::istream &is)
 helper function getDOSline More...
 
Tvos datrw::tsoft::stringtovec (const std::string &line, const std::string &delimiters)
 helper function stringtok More...
 
void datrw::tsoft::trimws (std::string &line)
 helper function trimws More...
 

Variables

const char * datrw::tsoft::NSP ="NSP"
 value not specified More...
 
const char * datrw::tsoft::tagbegin ="["
 first character of TSOFT tag More...
 
const char * datrw::tsoft::tagchannels ="CHANNELS"
 TSOFT channels tag. More...
 
const char * datrw::tsoft::tagdata ="DATA"
 TSOFT data tag. More...
 
const char * datrw::tsoft::tagend ="]"
 last character of TSOFT tag More...
 
const char * datrw::tsoft::tagfileid ="TSF-file"
 TSOFT fileid tag. More...
 
const char * datrw::tsoft::tagincrement ="INCREMENT"
 TSOFT increment tag. More...
 
const char * datrw::tsoft::tagtimeformat ="TIMEFORMAT"
 TSOFT timeformat tag. More...
 
const char * datrw::tsoft::tagundetval ="UNDETVAL"
 TSOFT undetval tag. More...
 
const char * datrw::tsoft::tagunits ="UNITS"
 TSOFT units tag. More...
 

Detailed Description

class to store TSOFT data (implementation)


Author
Thomas Forbriger
Date
16/09/2009

class to store TSOFT data (implementation)

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


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

REVISIONS and CHANGES

  • 16/09/2009 V1.0 Thomas Forbriger
  • 02/12/2011 V1.1 prepared for input stream modifiers
  • 08/07/2016 V1.2 make correct use of new DATRW_report_assert

Definition in file tsoftdata.cc.