Commit 73e08335 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

use DATRW_ prefix for macros and include guards consistenty

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/branches/libdatrwxx.su
SVN Revision: 3464
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 435a4df6
......@@ -38,7 +38,7 @@
#ifndef DATRW_ASCII_H_VERSION
#define DATRW_ASCII_H_VERSION \
"TF_ASCII_H V1.0 "
"DATRW_ASCII_H V1.0"
#define DATRW_ASCII_H_CVSID \
"$Id$"
......
......@@ -34,9 +34,9 @@
*
* ============================================================================
*/
#define TF_DATRW_BYTESEX_CC_VERSION \
"TF_DATRW_BYTESEX_CC V1.1"
#define TF_DATRW_BYTESEX_CC_CVSID \
#define DATRW_BYTESEX_CC_VERSION \
"DATRW_BYTESEX_CC V1.1"
#define DATRW_BYTESEX_CC_CVSID \
"$Id$"
#include <datrwxx/bytesex.h>
......
......@@ -37,11 +37,11 @@
*/
// include guard
#ifndef TF_DATRW_BYTESEX_H_VERSION
#ifndef DATRW_BYTESEX_H_VERSION
#define TF_DATRW_BYTESEX_H_VERSION \
"TF_DATRW_BYTESEX_H V1.1"
#define TF_DATRW_BYTESEX_H_CVSID \
#define DATRW_BYTESEX_H_VERSION \
"DATRW_BYTESEX_H V1.1"
#define DATRW_BYTESEX_H_CVSID \
"$Id$"
// we include fstream, because all function are closely related to file I/O
......@@ -205,6 +205,6 @@ namespace datrw {
} // namespace datrw
#endif // TF_DATRW_BYTESEX_H_VERSION (includeguard)
#endif // DATRW_BYTESEX_H_VERSION (includeguard)
/* ----- END OF bytesex.h ----- */
......@@ -33,9 +33,9 @@
*
* ============================================================================
*/
#define DATRW_DATRW_CC_VERSION \
"TF_DATRW_CC V1.0 "
#define DATRW_DATRW_CC_CVSID \
#define DATRW_DATWRITE_CC_VERSION \
"DATRW_DATWRITE_CC V1.0"
#define DATRW_DATWRITE_CC_CVSID \
"$Id$"
#include<fstream>
......
......@@ -38,7 +38,7 @@
#ifndef DATRW_DATWRITE_H_VERSION
#define DATRW_DATWRITE_H_VERSION \
"TF_DATRW_H V1.0 "
"DATRW_DATWRITE_H V1.0 "
#define DATRW_DATWRITE_H_CVSID \
"$Id$"
......
......@@ -18,11 +18,11 @@
*/
// include guard
#ifndef TF_DEBUG_H_VERSION
#ifndef DATRW_DEBUG_H_VERSION
#define TF_DEBUG_H_VERSION \
"TF_DEBUG_H V1.0 "
#define TF_DEBUG_H_CVSID \
#define DATRW_DEBUG_H_VERSION \
"DATRW_DEBUG_H V1.0 "
#define DATRW_DEBUG_H_CVSID \
"$Id$"
/*! \brief produce debug output
......@@ -40,6 +40,6 @@
std::cerr.flush(); \
}
#endif // TF_DEBUG_H_VERSION (includeguard)
#endif // DATRW_DEBUG_H_VERSION (includeguard)
/* ----- END OF debug.h ----- */
......@@ -36,11 +36,11 @@
*/
// include guard
#ifndef TF_GSE_H_VERSION
#ifndef DATRW_GSE_H_VERSION
#define TF_GSE_H_VERSION \
"TF_GSE_H V1.1"
#define TF_GSE_H_CVSID \
#define DATRW_GSE_H_VERSION \
"DATRW_GSE_H V1.1"
#define DATRW_GSE_H_CVSID \
"$Id$"
#include<datrwxx/datread.h>
......@@ -76,6 +76,6 @@ namespace datrw {
} // namespace datrw
#endif // TF_GSE_H_VERSION (includeguard)
#endif // DATRW_GSE_H_VERSION (includeguard)
/* ----- END OF gse.h ----- */
......@@ -33,9 +33,9 @@
*
* ============================================================================
*/
#define TF_GSEREAD_CC_VERSION \
"TF_GSEREAD_CC V1.0 "
#define TF_GSEREAD_CC_CVSID \
#define DATRW_GSEREAD_CC_VERSION \
"DATRW_GSEREAD_CC V1.0 "
#define DATRW_GSEREAD_CC_CVSID \
"$Id$"
#include <datrwxx/gseread.h>
......@@ -81,8 +81,8 @@ namespace datrw {
std::endl <<
"GSE reading functions" << std::endl <<
"---------------------" << std::endl <<
TF_GSEREAD_CC_VERSION << std::endl <<
TF_GSEREAD_CC_CVSID << std::endl <<
DATRW_GSEREAD_CC_VERSION << std::endl <<
DATRW_GSEREAD_CC_CVSID << std::endl <<
std::endl <<
"This module is designed to read raw GSE files." << std::endl <<
"Only one trace per file can be handled." << std::endl <<
......
......@@ -35,11 +35,11 @@
*/
// include guard
#ifndef TF_GSEREAD_H_VERSION
#ifndef DATRW_GSEREAD_H_VERSION
#define TF_GSEREAD_H_VERSION \
"TF_GSEREAD_H V1.0 "
#define TF_GSEREAD_H_CVSID \
#define DATRW_GSEREAD_H_VERSION \
"DATRW_GSEREAD_H V1.0 "
#define DATRW_GSEREAD_H_CVSID \
"$Id$"
#include<istream>
......@@ -84,6 +84,6 @@ namespace datrw {
} // namespace datrw
#endif // TF_GSEREAD_H_VERSION (includeguard)
#endif // DATRW_GSEREAD_H_VERSION (includeguard)
/* ----- END OF gseread.h ----- */
......@@ -34,9 +34,9 @@
*
* ============================================================================
*/
#define TF_GSE_CC_VERSION \
"TF_GSE_CC V1.1"
#define TF_GSE_CC_CVSID \
#define DATRW_IGSESTREAM_CC_VERSION \
"DATRW_IGSESTREAM_CC V1.1"
#define DATRW_IGSESTREAM_CC_CVSID \
"$Id$"
#include <string>
......
......@@ -35,11 +35,11 @@
*/
// include guard
#ifndef TF_MSEED_H_VERSION
#ifndef DATRW_MSEED_H_VERSION
#define TF_MSEED_H_VERSION \
"TF_MSEED_H V1.1"
#define TF_MSEED_H_CVSID \
#define DATRW_MSEED_H_VERSION \
"DATRW_MSEED_H V1.1"
#define DATRW_MSEED_H_CVSID \
"$Id$"
#include<datrwxx/datread.h>
......@@ -102,6 +102,6 @@ namespace datrw {
} // namespace datrw
#endif // TF_MSEED_H_VERSION (includeguard)
#endif // DATRW_MSEED_H_VERSION (includeguard)
/* ----- END OF mseed.h ----- */
......@@ -36,9 +36,9 @@
*
* ============================================================================
*/
#define TF_MSEED_CC_VERSION \
"TF_MSEED_CC V1.3"
#define TF_MSEED_CC_CVSID \
#define DATRW_IMSEEDSTREAM_CC_VERSION \
"DATRW_IMSEEDSTREAM_CC V1.3"
#define DATRW_IMSEEDSTREAM_CC_CVSID \
"$Id$"
#include <datrwxx/util.h>
......
......@@ -43,9 +43,9 @@
*
* ============================================================================
*/
#define TF_MSEEDREAD_CC_VERSION \
"TF_MSEEDREAD_CC V1.7"
#define TF_MSEEDREAD_CC_CVSID \
#define DATRW_MSEEDREAD_CC_VERSION \
"DATRW_MSEEDREAD_CC V1.7"
#define DATRW_MSEEDREAD_CC_CVSID \
"$Id$"
#include <string>
......@@ -500,8 +500,8 @@ namespace datrw {
os << std::endl;
os << "MiniSEED data reading functions" << std::endl;
os << "-------------------------------" << std::endl;
os << TF_MSEEDREAD_CC_CVSID << endl
<< TF_MSEEDREAD_H_CVSID << endl;
os << DATRW_MSEEDREAD_CC_CVSID << endl
<< DATRW_MSEEDREAD_H_CVSID << endl;
os << endl;
os << "This module is designed to read MiniSEED (data only SEED) files"
<< endl;
......
......@@ -35,11 +35,11 @@
*/
// include guard
#ifndef TF_MSEEDREAD_H_VERSION
#ifndef DATRW_MSEEDREAD_H_VERSION
#define TF_MSEEDREAD_H_VERSION \
"TF_MSEEDREAD_H V1.1"
#define TF_MSEEDREAD_H_CVSID \
#define DATRW_MSEEDREAD_H_VERSION \
"DATRW_MSEEDREAD_H V1.1"
#define DATRW_MSEEDREAD_H_CVSID \
"$Id$"
#include<new>
......@@ -249,6 +249,6 @@ namespace datrw {
} // namespace datrw
#endif // TF_MSEEDREAD_H_VERSION (includeguard)
#endif // DATRW_MSEEDREAD_H_VERSION (includeguard)
/* ----- END OF mseedread.h ----- */
......@@ -32,9 +32,9 @@
*
* ============================================================================
*/
#define TF_SEEDSTRUCTDUMP_CC_VERSION \
"TF_SEEDSTRUCTDUMP_CC V1.0 "
#define TF_SEEDSTRUCTDUMP_CC_CVSID \
#define DATRW_SEEDSTRUCTDUMP_CC_VERSION \
"DATRW_SEEDSTRUCTDUMP_CC V1.0 "
#define DATRW_SEEDSTRUCTDUMP_CC_CVSID \
"$Id$"
#include<string>
......
......@@ -35,11 +35,11 @@
*/
// include guard
#ifndef TF_SEEDSTRUCTDUMP_H_VERSION
#ifndef DATRW_SEEDSTRUCTDUMP_H_VERSION
#define TF_SEEDSTRUCTDUMP_H_VERSION \
"TF_SEEDSTRUCTDUMP_H V1.1"
#define TF_SEEDSTRUCTDUMP_H_CVSID \
#define DATRW_SEEDSTRUCTDUMP_H_VERSION \
"DATRW_SEEDSTRUCTDUMP_H V1.1"
#define DATRW_SEEDSTRUCTDUMP_H_CVSID \
"$Id$"
#include<iostream>
......@@ -76,6 +76,6 @@ namespace datrw {
} // namespace datrw
#endif // TF_SEEDSTRUCTDUMP_H_VERSION (includeguard)
#endif // DATRW_SEEDSTRUCTDUMP_H_VERSION (includeguard)
/* ----- END OF seedstructdump.h ----- */
......@@ -35,9 +35,9 @@
*
* ============================================================================
*/
#define TF_SEEDSTRUCTS_CC_VERSION \
"TF_SEEDSTRUCTS_CC V1.3"
#define TF_SEEDSTRUCTS_CC_CVSID \
#define DATRW_SEEDSTRUCTS_CC_VERSION \
"DATRW_SEEDSTRUCTS_CC V1.3"
#define DATRW_SEEDSTRUCTS_CC_CVSID \
"$Id$"
#include<datrwxx/seedstructs.h>
......
......@@ -38,11 +38,11 @@
*/
// include guard
#ifndef TF_SEEDSTRUCTS_H_VERSION
#ifndef DATRW_SEEDSTRUCTS_H_VERSION
#define TF_SEEDSTRUCTS_H_VERSION \
"TF_SEEDSTRUCTS_H V1.2"
#define TF_SEEDSTRUCTS_H_CVSID \
#define DATRW_SEEDSTRUCTS_H_VERSION \
"DATRW_SEEDSTRUCTS_H V1.2"
#define DATRW_SEEDSTRUCTS_H_CVSID \
"$Id$"
namespace datrw {
......@@ -566,6 +566,6 @@ namespace datrw {
} // namespace datrw
#endif // TF_SEEDSTRUCTS_H_VERSION (includeguard)
#endif // DATRW_SEEDSTRUCTS_H_VERSION (includeguard)
/* ----- END OF seedstructs.h ----- */
......@@ -34,7 +34,7 @@
* ============================================================================
*/
#define DATRW_RESERVOIR_CC_VERSION \
"TF_RESERVOIR_CC V1.0 "
"DATRW_RESERVOIR_CC V1.0"
#define DATRW_RESERVOIR_CC_CVSID \
"$Id$"
......
......@@ -38,7 +38,7 @@
#ifndef DATRW_RESERVOIR_H_VERSION
#define DATRW_RESERVOIR_H_VERSION \
"TF_RESERVOIR_H V1.0 "
"DATRW_RESERVOIR_H V1.0"
#define DATRW_RESERVOIR_H_CVSID \
"$Id$"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment