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

write raw binary data (prototypes) More...

#include <datrwxx/datread.h>
#include <datrwxx/datwrite.h>
#include <datrwxx/ibinstream.h>
#include <datrwxx/obinstream.h>
Include dependency graph for binary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  datrw::ibinarystream
 class to read binary data More...
 
class  datrw::obinarystream
 class to write binary More...
 

Namespaces

 datrw
 Root namespace of library.
 
 datrw::binary
 internals of the binary I/O module
 

Macros

#define DATRW_BINARY_H_VERSION   "DATRW_BINARY_H V1.1"
 

Enumerations

enum  datrw::binary::Eflags {
  datrw::binary::Fsrce = (1<<0), datrw::binary::Ffree = (1<<1), datrw::binary::Finfo = (1<<2), datrw::binary::Fdouble = (1<<3),
  datrw::binary::Ffloat = (1<<4), datrw::binary::Fint = (1<<5)
}
 indicate file or trace properties More...
 

Functions

void datrw::binary::checkfileflags (const char &flags)
 abort if file flags are inconsistent More...
 
void datrw::binary::checktraceflags (const char &flags)
 abort if trace flags are inconsistent More...
 

Variables

const bool datrw::binary::isbinary =false
 Format properties. More...
 
const char *const datrw::binary::streamID ="bin"
 Format properties. More...
 

Detailed Description

write raw binary data (prototypes)


Author
Thomas Forbriger
Date
24/02/2010

write raw binary data (prototypes)

Copyright (c) 2010 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

  • 24/02/2010 V1.0 Thomas Forbriger
  • 18/11/2016 V1.1 use debug flag in base class

Definition in file binary.h.