DATRW++ library: seismic data I/O with multiple formats

◆ help() [1/2]

void datrw::osustream::help ( std::ostream &  os = std::cout)
static

Definition at line 72 of file osustream.cc.

References datrw::su::subformat::key::coodigits, datrw::su::subformat::def::coodigits, DATRW_OSUSTREAM_CC_VERSION, datrw::su::subformat::key::forceseismic, datrw::su::subformat::key::forceultrasonic, datrw::su::SUheader::help(), datrw::su::subformat::key::scalco, and datrw::su::subformat::def::scalco.

Referenced by datrw::online_help().

73  {
74  os <<
75  std::endl <<
76  "SeismicUn*x writing functions" << std::endl <<
77  "-----------------------------" << std::endl <<
78  DATRW_OSUSTREAM_CC_VERSION << std::endl <<
79  std::endl <<
80  "This module provides writing of SeismicUn*x binary data files."
81  << std::endl;
82  os << std::endl;
84  os << std::endl;
85  os <<
86  "Valid format modifiers are:\n";
87  formatmodifiers::ModifierHelp mh(os, 14);
89  "Force writing of ultrasonic data header\n";
90  mh() << "The default is to write standard SeismicUn*x\n";
91  mh() << "headers for seismic sampling intervals.\n";
93  "Force writing of seismic data header even\n";
94  mh() << "is sampling interval is too small.\n";
95  mh() << "Choosing both modifiers at once is an\n";
96  mh() << "inconsistency and causes abort().\n";
97  mh(su::subformat::key::scalco, "s") <<
98  "\"s\" is used as the preferred scalco and scalel value.\n";
99  mh() << "It is used only if it does not cause round-off truncation.\n";
100  mh() << "The default is "
101  << su::subformat::key::scalco << "="
104  "Limits the maximum number of significant digits in\n";
105  mh() << "spatial coordinates to \"n\". Coordinate values with\n";
106  mh() << "more digits will be truncated.\n";
107  mh() << "The default is "
110  } // void osustream::help(std::ostream& os=std::cout)
const char *const scalco
set desired scalco value
Definition: suformat.cc:64
const char *const forceseismic
understand data file as seismic data file in any case
Definition: suformat.cc:61
#define DATRW_OSUSTREAM_CC_VERSION
Definition: osustream.cc:40
const short scalco
default scalco value
Definition: suformat.cc:74
const char *const forceultrasonic
understand data file as ultrasonic data file in any case
Definition: suformat.cc:62
const char *const coodigits
maximum number of significant digits to be used
Definition: suformat.cc:63
const unsigned int coodigits
default maximum number of significant digits to be used
Definition: suformat.cc:73
static void help(std::ostream &os)
print online help regarding header fields and TOAST data
Definition: suheader.cc:548
Here is the call graph for this function:
Here is the caller graph for this function: