Data structure for configuration of JDQSimulator.
More...
Data structure for configuration of JDQSimulator.
Definition at line 39 of file JDQSimulator.cc.
◆ JSource()
KM3NETDAQ::JSource::JSource |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 46 of file JDQSimulator.cc.
46 :
47 std::string()
48 {}
◆ operator>>
std::istream & operator>> |
( |
std::istream & | in, |
|
|
JSource & | source ) |
|
friend |
Read JSource from input stream.
- Parameters
-
- Returns
- input stream
Definition at line 58 of file JDQSimulator.cc.
59 {
60 int index;
61
62 in >> index >> static_cast<std::string&>(source);
63
64 return in;
65 }
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JSource & | source ) |
|
friend |
Write JSource to output stream.
- Parameters
-
- Returns
- output stream
Definition at line 75 of file JDQSimulator.cc.
76 {
77 out << static_cast<const std::string&>(source);
78
79 return out;
80 }
The documentation for this class was generated from the following file: