CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTCELinkId.cc
Go to the documentation of this file.
2 
3 #include <string>
4 #include <functional>
5 #include <limits>
6 
8  : elink_id_(std::numeric_limits<decltype(elink_id())>::max()),
9  gbtlink_id_(std::numeric_limits<decltype(gbtlink_id())>::max()),
10  dtc_id_(std::numeric_limits<decltype(dtc_id())>::max()) {}
11 
12 DTCELinkId::DTCELinkId(DTCELinkId const& rhs) noexcept
13  : elink_id_(rhs.elink_id_), gbtlink_id_(rhs.gbtlink_id_), dtc_id_(rhs.dtc_id_) {}
14 
16  : elink_id_(rhs.elink_id_), gbtlink_id_(rhs.gbtlink_id_), dtc_id_(rhs.dtc_id_) {}
17 
19  elink_id_ = rhs.elink_id_;
20  gbtlink_id_ = rhs.gbtlink_id_;
21  dtc_id_ = rhs.dtc_id_;
22 
23  return *this;
24 }
25 
27  elink_id_ = rhs.elink_id_;
28  gbtlink_id_ = rhs.gbtlink_id_;
29  dtc_id_ = rhs.dtc_id_;
30 
31  return *this;
32 }
33 
35 
36 DTCELinkId::DTCELinkId(uint16_t dtc_id, uint8_t gbtlink_id, uint8_t elink_id) noexcept
37  : elink_id_(elink_id), gbtlink_id_(gbtlink_id), dtc_id_(dtc_id) {}
~DTCELinkId() noexcept
Definition: DTCELinkId.cc:34
DTCELinkId & operator=(DTCELinkId const &) noexcept
Definition: DTCELinkId.cc:18
uint8_t elink_id_
Definition: DTCELinkId.h:50
uint16_t dtc_id_
Definition: DTCELinkId.h:52
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
DTCELinkId() noexcept
Definition: DTCELinkId.cc:7