DATRW++ library: seismic data I/O with multiple formats
asciiformat.cc
Go to the documentation of this file.
1 /*! \file asciiformat.cc
2  * \brief ASCII format specification (implementation)
3  *
4  * ----------------------------------------------------------------------------
5  *
6  * \author Thomas Forbriger
7  * \date 18/10/2011
8  *
9  * ASCII format specification (implementation)
10  *
11  * Copyright (c) 2011 by Thomas Forbriger (BFO Schiltach)
12  *
13  * ----
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 2 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27  * ----
28  *
29  *
30  * REVISIONS and CHANGES
31  * - 18/10/2011 V1.0 Thomas Forbriger
32  *
33  * ============================================================================
34  */
35 #define DATRW_ASCIIFORMAT_CC_VERSION \
36  "DATRW_ASCIIFORMAT_CC V1.0 "
37 
38 #include<datrwxx/ascii.h>
39 
40 namespace datrw {
41 
42  /*! \brief Format properties
43  * \ingroup group_ascii
44  * @{
45  */
46  const bool ascii::isbinary=false;
47  const char* const ascii::streamID="ascii";
48  /**@}*/
49 
50 } // namespace datrw
51 
52 /*----------------------------------------------------------------------*/
53 
54 /*! \brief I/O module for ASCII data
55  *
56  * \defgroup group_ascii I/O module for ASCII data
57  *
58  * Lines of ASCII data files either start with
59  * - a single hash \c #: these lines provide header data; see keywords below
60  * .
61  * or
62  * - a double hash \c ##: these lines are pure comments from FREE blocks
63  * .
64  * or
65  * - no hash: these lines contain sample values
66  * .
67  * Each file can contain multiple traces.
68  */
69 
70 /* ----- END OF asciiformat.cc ----- */
Root namespace of library.
Definition: aalibdatrwxx.cc:16
const bool isbinary
Format properties.
Definition: asciiformat.cc:46
const char *const streamID
Format properties.
Definition: asciiformat.cc:47
interface to write ASCII data (prototypes)