#include <CablingObject.h>
Definition at line 10 of file CablingObject.h.
◆ CablingObject() [1/2]
| CablingObject::CablingObject |
( |
const cablingParameters & | params, |
|
|
const std::string & | obj_name ) |
Definition at line 9 of file CablingObject.cxx.
9 :
BaseObject(ObjectType, const std::string &)
◆ CablingObject() [2/2]
◆ ~CablingObject()
| virtual CablingObject::~CablingObject |
( |
| ) |
|
|
virtualdefault |
◆ error_header()
| std::string CablingObject::error_header |
( |
| ) |
const |
|
nodiscard |
Definition at line 22 of file CablingObject.cxx.
22 {
23 std::ostringstream disp;
26 disp << ":" << std::endl;
27 return disp.str();
28}
◆ name()
| const std::string & BaseObject::name |
( |
| ) |
const |
|
inlineinherited |
◆ no_connection_error()
| std::string CablingObject::no_connection_error |
( |
const std::string & | conn_name, |
|
|
int | num ) const |
|
nodiscard |
Definition at line 30 of file CablingObject.cxx.
30 {
31 std::ostringstream disp;
32 disp <<
error_header() <<
name() <<
" n. " <<
number() <<
" is supposed to receive input from " << conn_name <<
" n. " <<
num <<
" which doesn't exist!";
33 return disp.str();
34}
const std::string & name() const
std::string error_header() const
◆ number()
| int CablingObject::number |
( |
| ) |
const |
◆ operator=()
◆ Print()
| virtual void BaseObject::Print |
( |
std::ostream & | , |
|
|
bool | ) const |
|
inlinevirtualinherited |
Reimplemented in bitPATTERN, CMAdata, CMAparameters, CMApatterns, CMAtrigger, MuonSimuTrack, PADdata, PADpatterns, RPC_CondCabling::CMAcablingdata, RPC_CondCabling::CMApivotdata, RPC_CondCabling::RPCchamber, RPC_CondCabling::RPCchamberdata, RPC_CondCabling::WiredOR, RPC_CondCabling::WiredORdata, RPCdigit, RPCtrigDataObject, SLdata, and SLpatterns.
Definition at line 25 of file BaseObject.h.
◆ sector_type()
| int CablingObject::sector_type |
( |
| ) |
const |
◆ station()
| int CablingObject::station |
( |
| ) |
const |
◆ tag()
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const CablingObject & | obj ) |
|
friend |
Definition at line 16 of file CablingObject.cxx.
16 {
17 stream <<
obj.name() <<
" number " << std::setw(3) <<
obj.number() <<
" associated to sector type " << std::setw(3)
18 <<
obj.sector_type() <<
" in station n. " <<
obj.station() << std::endl;
20}
◆ m_name
| std::string BaseObject::m_name |
|
privateinherited |
◆ m_number
| int CablingObject::m_number {0} |
|
private |
◆ m_sector_type
| int CablingObject::m_sector_type {0} |
|
private |
◆ m_station
| int CablingObject::m_station {0} |
|
private |
◆ m_tag
The documentation for this class was generated from the following files: