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

handle data types and data type conversion (prototypes) More...

#include <iostream>
Include dependency graph for datatypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 datrw
 Root namespace of library.
 
 datrw::datatypes
 

Macros

#define DATRW_DATATYPES_H_VERSION   "DATRW_DATATYPES_H V1.0"
 

Functions

void datrw::dont_report_type_conversion ()
 switch off type conversion verbosity More...
 
void datrw::datatypes::print_conversion_report (std::ostream &os, const std::string &from, const std::string &to)
 actually print report More...
 
template<typename from , typename to >
void datrw::report_conversion (std::ostream &os)
 
void datrw::report_type_conversion ()
 switch on type conversion verbosity More...
 
template<typename C >
std::string datrw::datatypes::type_id ()
 
template<>
std::string datrw::datatypes::type_id< double > ()
 
template<>
std::string datrw::datatypes::type_id< float > ()
 
template<>
std::string datrw::datatypes::type_id< int > ()
 
template<typename t1 , typename t2 >
bool datrw::types_are_equal ()
 

Detailed Description

handle data types and data type conversion (prototypes)


Author
Thomas Forbriger
Date
17/12/2010

handle data types and data type conversion (prototypes)

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

This pair of source files is intended to support any information about actual data types handled internally and in files. Are data stored and passed as int or double? Is data file format able to maintain double precision or integer accuracy?

Part of this (Edatatype) still is located in formats.h and should be moved to this file in the future.


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

  • 17/12/2010 V1.0 Thomas Forbriger

Definition in file datatypes.h.