#include <string>
#include <optional>
Go to the source code of this file.
|
| std::string | nodeIDPrinter (const std::string &name, int nodeID, int parentID, bool pass, const std::string &time="") |
| std::string | nodeIDPrinter (const std::string &name, int nodeID, int parentID, const std::optional< bool > &pass, const std::string &time="") |
| std::string | nodeIDPrinter (const std::string &name, const std::optional< bool > &pass, const std::string &time) |
| std::string | nodeIDPrinter (const std::string &name, int nodeID, int parentID) |
◆ nodeIDPrinter() [1/4]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
const std::optional< bool > & | pass, |
|
|
const std::string & | time ) |
Definition at line 48 of file nodeIDPrinter.cxx.
50 {
51 if(pass.has_value()){
53 }
54
55
57
58 ss <<
"name(): " <<
name <<
" pass: " <<
"ERROR " <<timerStr <<
'\n';
59
61}
std::string nodeIDPrinter(const std::string &name, int nodeID, int parentID, bool pass, const std::string &timerStr)
◆ nodeIDPrinter() [2/4]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
int | nodeID, |
|
|
int | parentID ) |
Definition at line 63 of file nodeIDPrinter.cxx.
65 {
66
68 ss <<
"name(): " <<
name <<
" node: " << nodeID
69 << " parent: " << parentID
70 << '\n';
71
73}
◆ nodeIDPrinter() [3/4]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
int | nodeID, |
|
|
int | parentID, |
|
|
bool | pass, |
|
|
const std::string & | time = "" ) |
Definition at line 7 of file nodeIDPrinter.cxx.
11 {
12
14 ss <<
"name(): " <<
name <<
" node: " << nodeID
15 << " parent: " << parentID
16 << " pass: " << std::boolalpha << pass << " " <<timerStr << '\n';
17
19}
◆ nodeIDPrinter() [4/4]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
int | nodeID, |
|
|
int | parentID, |
|
|
const std::optional< bool > & | pass, |
|
|
const std::string & | time = "" ) |
Definition at line 32 of file nodeIDPrinter.cxx.
36 {
37 if(pass.has_value()){
38 return nodeIDPrinter(name, nodeID, parentID, *pass, timerStr);
39 }
41 ss <<
"name(): " <<
name <<
" node: " << nodeID
42 << " parent: " << parentID
43 << " pass: " << "ERROR " <<timerStr << '\n';
44
46}