STFINV library: seek source wavelet correction filter

◆ usage()

void stfinv::STFEngine::usage ( const std::string &  id,
std::ostream &  os = std::cout 
)
static

Print detailed usage description.

Parameters
idID of procedure (engine) to be described.
osstream to send output to

Definition at line 164 of file stfinvany.cc.

References stfinv::STFEngineIdentity::classusage(), stfinv::STFEngineFDLeastSquares::classusage(), stfinv::STFEngineIdentity::ID, stfinv::STFEngineFDLeastSquares::ID, STFINV_abort, stfinv_description_usage, and stfinvany_description_usage.

Referenced by stfinv::usage().

165  {
167  os << std::endl;
168  if (id == std::string(stfinv::STFEngineIdentity::ID))
169  {
171  }
172  else if ((id == std::string(stfinv::STFEngineFDLeastSquares::ID)))
173  {
175  }
176  else
177  {
178  std::cerr << "ERROR: engine ID " << id << " is unkown!" << std::endl;
179  STFINV_abort("aborting since engine ID is not recognized");
180  }
181  os << std::endl;
183  } // void STFEngine::help(std::ostream& os=std::cout)
static const char *const ID
ID used to select thsi engine.
static void classusage(std::ostream &os=std::cout)
print detailed description
char stfinvany_description_usage[]
static const char *const ID
ID used to select this engine.
#define STFINV_abort(M)
Abort and give a message.
Definition: error.h:147
static void classusage(std::ostream &os=std::cout)
print detailed description
char stfinv_description_usage[]
Here is the call graph for this function:
Here is the caller graph for this function: