Address of module in detector data structure.
More...
#include <JModuleAddress.hh>
|
int | first |
| index of module in detector data structure More...
|
|
Address of module in detector data structure.
The address of a module consists of a single integer value JModuleAddress::first which refers to the index of the module in the detector data structure.
This class implements the JLANG::JEquals interface.
Definition at line 30 of file JModuleAddress.hh.
◆ JModuleAddress() [1/2]
JDETECTOR::JModuleAddress::JModuleAddress |
( |
| ) |
|
|
inline |
◆ JModuleAddress() [2/2]
JDETECTOR::JModuleAddress::JModuleAddress |
( |
const int |
index | ) |
|
|
inlineexplicit |
◆ equals()
bool JDETECTOR::JModuleAddress::equals |
( |
const JModuleAddress & |
address | ) |
const |
|
inline |
Equal method.
- Parameters
-
- Returns
- true if this module address equal to given module address; else false
Definition at line 58 of file JModuleAddress.hh.
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JModuleAddress & |
object |
|
) |
| |
|
friend |
Read module address from input.
- Parameters
-
in | input stream |
object | module address |
- Returns
- input stream
Definition at line 71 of file JModuleAddress.hh.
73 return in >>
object.first;
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JModuleAddress & |
object |
|
) |
| |
|
friend |
Write module address to output.
- Parameters
-
out | output stream |
object | module address |
- Returns
- output stream
Definition at line 84 of file JModuleAddress.hh.
86 return out <<
object.first;
◆ first
int JDETECTOR::JModuleAddress::first |
The documentation for this class was generated from the following file: