#include <sstream>
#include "./nodeIDPrinter.h"
Go to the source code of this file.
|
| std::string | nodeIDPrinter (const std::string &name, int nodeID, int parentID, bool pass, const std::string &timerStr) |
| std::string | nodeIDPrinter (const std::string &name, bool pass, const std::string &timerStr) |
| std::string | nodeIDPrinter (const std::string &name, int nodeID, int parentID, const std::optional< bool > &pass, const std::string &timerStr) |
| std::string | nodeIDPrinter (const std::string &name, const std::optional< bool > &pass, const std::string &timerStr) |
| std::string | nodeIDPrinter (const std::string &name, int nodeID, int parentID) |
◆ nodeIDPrinter() [1/5]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
bool | pass, |
|
|
const std::string & | timerStr ) |
Definition at line 21 of file nodeIDPrinter.cxx.
23 {
24
26 ss <<
"name(): " <<
name <<
" pass: " <<std::boolalpha << pass <<
" "
27 << timerStr << '\n';
28
30}
◆ nodeIDPrinter() [2/5]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
const std::optional< bool > & | pass, |
|
|
const std::string & | timerStr ) |
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() [3/5]
| 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() [4/5]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
int | nodeID, |
|
|
int | parentID, |
|
|
bool | pass, |
|
|
const std::string & | timerStr ) |
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() [5/5]
| std::string nodeIDPrinter |
( |
const std::string & | name, |
|
|
int | nodeID, |
|
|
int | parentID, |
|
|
const std::optional< bool > & | pass, |
|
|
const std::string & | timerStr ) |
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}