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

write raw binary data (implementation) More...

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

Go to the source code of this file.

Namespaces

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

Macros

#define DATRW_BINARY_CC_VERSION   "DATRW_BINARY_CC V1.0 "
 

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 char *const datrw::binary::magic ="TBIN"
 magic number to identify file type and bytesex More...
 
const short datrw::binary::version =1
 a version number for files - just in case More...
 

Detailed Description

write raw binary data (implementation)


Author
Thomas Forbriger
Date
24/02/2010

write raw binary data (implementation)

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

Definition in file binary.cc.