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

◆ online_help() [2/3]

void datrw::online_help ( const Eformat format,
std::ostream &  os,
const bool &  modifierhelp 
)

Definition at line 129 of file formats.cc.

References DATRW_abort, Fascii, Fbinary, Fbonjer, Fgse, Fhpmo, Fmseed, Fpdas, Fsac, Fseife, Fsff, Fsu, Ftfascii, Fthiesdl1, Ftsoft, datrw::igsestream::help(), datrw::ihpmostream::help(), datrw::isacstream::help(), datrw::ipdasstream::help(), datrw::ibonjerstream::help(), datrw::itsoftstream::help(), datrw::iseifestream::help(), datrw::ithiesdl1stream::help(), datrw::iasciistream::help(), datrw::isffstream::help(), datrw::isustream::help(), datrw::oseifestream::help(), datrw::itfasciistream::help(), datrw::osffstream::help(), datrw::osustream::help(), datrw::oasciistream::help(), datrw::ibinarystream::help(), datrw::obinarystream::help(), datrw::ogsestream::help(), datrw::imseedstream::help(), and datrw::formatmodifiers::online_help().

132  {
133  switch(format) {
134  case Fsff:
135  os << "SFF data input: "; isffstream::help(os);
136  os << std::endl;
137  os << "SFF data output: "; osffstream::help(os);
138  os << std::endl;
139  break;
140  case Fhpmo:
141  os << "HPMO data input: "; ihpmostream::help(os);
142  os << std::endl;
143  break;
144  case Fmseed:
145  os << "MiniSEED data input: "; imseedstream::help(os);
146  os << std::endl;
147  break;
148  case Fpdas:
149  os << "PDAS data input: "; ipdasstream::help(os);
150  os << std::endl;
151  break;
152  case Fbonjer:
153  os << "Bonjer data input: "; ibonjerstream::help(os);
154  os << std::endl;
155  break;
156  case Fsac:
157  os << "SAC data input: "; isacstream::help(os);
158  os << std::endl;
159  break;
160  case Fgse:
161  os << "GSE data input: "; igsestream::help(os);
162  os << std::endl;
163  os << "GSE data output: "; ogsestream::help(os);
164  os << std::endl;
165  break;
166  case Ftsoft:
167  os << "TSOFT data input: "; itsoftstream::help(os);
168  os << std::endl;
169  break;
170  case Ftfascii:
171  os << "TFASCII data input: "; itfasciistream::help(os);
172  os << std::endl;
173  break;
174  case Fsu:
175  os << "SU data input: "; isustream::help(os);
176  os << std::endl;
177  os << "SU data output: "; osustream::help(os);
178  os << std::endl;
179  break;
180  case Fseife:
181  os << "seife data input: "; iseifestream::help(os);
182  os << std::endl;
183  os << "seife data output: "; oseifestream::help(os);
184  os << std::endl;
185  break;
186  case Fthiesdl1:
187  os << "Thies DL1 data input: "; ithiesdl1stream::help(os);
188  os << std::endl;
189  break;
190  case Fascii:
191  os << "ASCII data input: "; iasciistream::help(os);
192  os << std::endl;
193  os << "ASCII data output: "; oasciistream::help(os);
194  os << std::endl;
195  break;
196  case Fbinary:
197  os << "binary data input: "; ibinarystream::help(os);
198  os << std::endl;
199  os << "binary data output: "; obinarystream::help(os);
200  os << std::endl;
201  break;
202  default: DATRW_abort("unknown data type ID#!");
203  }
204  if (modifierhelp)
205  {
206  os << std::endl;
208  }
209  } // void online_help(const Eformat& format, std::ostream& os)
void online_help(std::ostream &os)
Provide online help on modifiers.
#define DATRW_abort(M)
Abort and give a message.
Definition: error.h:101
void help(std::ostream &os)
print info about GSE reading
Definition: gseread.cc:75
Here is the call graph for this function: