Commit dbe3d85f authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[ERR][WP] (libstfinv): output usage information for overall library

- library usage function implementation ist still incomplete
parent 2359a2ee
......@@ -45,6 +45,8 @@
#include <stfinv/parameterhandler.h>
#include <stfinv/stfinvany_summary_usage.h>
#include <stfinv/stfinvany_description_usage.h>
#include <stfinv/stfinv_summary_usage.h>
#include <stfinv/stfinv_description_usage.h>
#include <stfinv/error.h>
namespace stfinv {
......@@ -159,6 +161,8 @@ namespace stfinv {
{
STFEngine::engines(os);
os << std::endl;
os << stfinv_summary_usage;
os << std::endl;
STFEngineIdentity::classhelp(os);
STFEngineFDLeastSquares::classhelp(os);
STFFourierDomainEngine::classhelp(os);
......@@ -171,6 +175,8 @@ namespace stfinv {
void STFEngine::usage(const std::string& id, std::ostream& os)
{
os << stfinv_description_usage;
os << std::endl;
if (id == std::string(stfinv::STFEngineIdentity::ID))
{
stfinv::STFEngineIdentity::classusage(os);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment