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

class to store TSOFT data (prototypes)


More...

#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <libtime++.h>
#include <datrwxx/error.h>
#include <datrwxx/datread.h>
#include <datrwxx/tsoftconfig.h>
Include dependency graph for tsoftdata.h:

Go to the source code of this file.

Classes

class  datrw::tsoft::Channeldata
 date for one channel. More...
 
class  datrw::tsoft::Channelinfo
 contains channel info. More...
 
class  datrw::tsoft::Datacontainer
 data container. More...
 
class  datrw::tsoft::Dataline
 contains one data line. More...
 
class  datrw::tsoft::Datasequence
 sequence of contiguous data. More...
 
class  datrw::tsoft::Datatrace
 trace of contiguous data. More...
 
class  datrw::tsoft::Line
 contains takes one line and splits it into tag and information. More...
 

Namespaces

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

Macros

#define DATRW_TSOFTDATA_H_VERSION   "DATRW_TSOFTDATA_H V1.2"
 

Typedefs

typedef std::list< std::string > datrw::tsoft::Tlos
 list of strings. More...
 
typedef std::vector< Channeldata > datrw::tsoft::Tvocd
 vector of channels. More...
 
typedef std::vector< Channelinfo > datrw::tsoft::Tvoci
 vector of channel info. More...
 
typedef std::vector< double > datrw::tsoft::Tvod
 vector of doubles. More...
 
typedef std::vector< Datatrace > datrw::tsoft::Tvodt
 vector of sequences. More...
 
typedef std::vector< std::string > datrw::tsoft::Tvos
 vector of strings. More...
 

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...
 

Detailed Description

class to store TSOFT data (prototypes)


Author
Thomas Forbriger
Date
16/09/2009

class to store TSOFT data (prototypes)

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; provides ReaderConfig V1.2 moved ReaderConfig to tsoftconfig.h

Definition in file tsoftdata.h.