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

◆ online_help()

void datrw::formatmodifiers::online_help ( std::ostream &  os)

Provide online help on modifiers.

Parameters
osoutput stream to which online help should be written

Definition at line 76 of file formatmodifier.cc.

Referenced by main(), and datrw::online_help().

77  {
78  os << "format modifiers" << std::endl;
79  os << "----------------" << std::endl;
80  os <<
81  "Some I/O streams support format modifiers. These can be used to\n"
82  "control the behaviour of the specific I/O stream. The modifiers\n"
83  "are passed through a string to the I/O stream. Each modifier\n"
84  "consists of a keyword and an optional parameter string. Several\n"
85  "modifiers can be concatenated being separated by a colon (:).\n"
86  "Keyword and parameter are separated by an equal sign (=).\n"
87  "If the program takes format identifiers as string values,\n"
88  "format modifiers usually can be appended to the format ID with\n"
89  "a separating colon in between.\n"
90  "\n"
91  "Example: To read a seife format file, using 4.7.2011 as the day\n"
92  "of recording and \"BFO\" as recording station, you could use\n"
93  "\n"
94  " seife:date=2011/7/4:station=BFO\n"
95  "\n"
96  "to specify the input format.";
97  os << std::endl;
98  } // void online_help(std::ostream& os)
Here is the caller graph for this function: