Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
4a924f7b
Commit
4a924f7b
authored
Oct 16, 2015
by
thomas.forbriger
Browse files
[WP] (libstfinv): output reasonable instructions for ID string
parent
13d2886f
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/libs/libstfinv/stfinvfdleastsquares.cc
View file @
4a924f7b
...
...
@@ -92,7 +92,7 @@ namespace stfinv {
{
os
<<
stfinvfdleastsquares_summary_usage
<<
std
::
endl
;
os
<<
std
::
endl
;
stfinv
::
tools
::
report_engine
<
STFEngineFDLeastSquares
>
(
os
);
stfinv
::
tools
::
report_engine
_ID
<
STFEngineFDLeastSquares
>
(
os
);
}
// void STFEngineFDLeastSquares::classhelp(std::ostream& os)
/*----------------------------------------------------------------------*/
...
...
@@ -101,9 +101,9 @@ namespace stfinv {
{
os
<<
stfinvfdleastsquares_description_usage
<<
std
::
endl
;
os
<<
std
::
endl
;
Tbase
::
classusage
(
os
);
stfinv
::
tools
::
report_engine_ID
<
STFEngineFDLeastSquares
>
(
os
);
os
<<
std
::
endl
;
stfinv
::
tools
::
report_engine
<
STFEngineFDLeastSquares
>
(
os
);
Tbase
::
classusage
(
os
);
}
// void STFEngineFDLeastSquares::classusage(std::ostream& os)
/*----------------------------------------------------------------------*/
...
...
src/libs/libstfinv/stfinvidentity.cc
View file @
4a924f7b
...
...
@@ -128,7 +128,7 @@ namespace stfinv {
{
os
<<
stfinvidentity_summary_usage
<<
std
::
endl
;
os
<<
std
::
endl
;
stfinv
::
tools
::
report_engine
<
STFEngineIdentity
>
(
os
);
stfinv
::
tools
::
report_engine
_ID
<
STFEngineIdentity
>
(
os
);
}
// void STFEngineIdentity::classhelp(std::ostream& os)
/*----------------------------------------------------------------------*/
...
...
@@ -137,9 +137,9 @@ namespace stfinv {
{
os
<<
stfinvidentity_description_usage
<<
std
::
endl
;
os
<<
std
::
endl
;
Tbase
::
classusage
(
os
);
stfinv
::
tools
::
report_engine_ID
<
STFEngineIdentity
>
(
os
);
os
<<
std
::
endl
;
stfinv
::
tools
::
report_engine
<
STFEngineIdentity
>
(
os
);
Tbase
::
classusage
(
os
);
}
// void STFEngineIdentity::classusage(std::ostream& os)
}
// namespace stfinv
...
...
src/libs/libstfinv/tools.h
View file @
4a924f7b
...
...
@@ -74,6 +74,20 @@ namespace stfinv {
os
.
width
(
0
);
os
<<
" ("
<<
C
::
description
<<
")"
<<
std
::
endl
;
}
// void report_engine(std::ostream& os)
/* ---------------------------------------------------------------------- */
/*! \brief report engine identifier with heading
* \ingroup tools
* \param C class to report ID and oneline description
* \param os output stream to send output to
*/
template
<
class
C
>
void
report_engine_ID
(
std
::
ostream
&
os
)
{
os
<<
"Identifier to selected this procedure:"
<<
std
::
endl
;
report_engine
<
C
>
(
os
);
}
// void report_engine_ID(std::ostream& os)
}
// namespace tools
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment