38 std::uint32_t
mask(0x0);
72 std::ostringstream oss;
75 case 0: oss <<
'B';
break;
76 case 1: oss <<
'E';
break;
77 default: oss <<
'*';
break;
79 (yoke > 0 ? oss <<
'+' << yoke : oss << yoke);
85 case 0: oss <<
'B';
break;
86 case 1: oss <<
'E';
break;
87 default: oss <<
'*';
break;
90 case 0: oss <<
'N';
break;
91 case 1: oss <<
'M';
break;
92 case 2: oss <<
'P';
break;
93 default: oss <<
'*';
break;
97 case 0: oss <<
'1';
break;
98 case 1: oss <<
'2';
break;
99 case 2: oss <<
'3';
break;
100 case 3: oss <<
'A';
break;
101 case 4: oss <<
'B';
break;
102 case 5: oss <<
'C';
break;
103 case 6: oss <<
'D';
break;
104 case 7: oss <<
'E';
break;
105 default: oss <<
'*';
break;
108 case 0: oss <<
"ab";
break;
109 case 1: oss <<
"cd";
break;
110 default: oss <<
"";
break;
114 oss <<
"_CH" << linkboard;
117 oss <<
":" << connector;
124 return (ostream << link.
getName());
std::ostream & operator<<(std::ostream &ostream, RPCLBLink const &link)
RPCLBLink & setSide(int side=wildcard_)
RPCLBLink & setConnector(int connector=wildcard_)
static std::uint32_t const mask_side_
static std::uint32_t const mask_region_
static int const pos_sector_
RPCLBLink & setFibre(int fibre=wildcard_)
std::ostream & bf_stream(std::ostream &ostream, int const min, std::uint32_t const mask, int const pos) const
RPCLBLink & setWheelOrDisk(int wheelordisk=wildcard_)
RPCLBLink & setRadial(int radial=wildcard_)
static int const wildcard_
std::string getName() const
static int const min_sector_
static int const min_wheelordisk_
static std::uint32_t const mask_linkboard_
RPCLBLink & setRegion(int region=wildcard_)
static std::uint32_t const mask_connector_
std::uint32_t getMask() const
static std::uint32_t const mask_fibre_
RPCLBLink & setYoke(int yoke=wildcard_)
static int const pos_wheelordisk_
RPCLBLink & setSector(int sector=wildcard_)
static std::uint32_t const mask_radial_
static std::uint32_t const mask_sector_
RPCLBLink & setLinkBoard(int linkboard=wildcard_)
static std::uint32_t const mask_wheelordisk_
static std::uint32_t const mask_yoke_