test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Mask.cc
Go to the documentation of this file.
2 
3 namespace l1t{
4 
6 {
7  id_ = id;
8  port_ = boost::lexical_cast<int>(id.substr(id.find_last_not_of("0123456789")+1));
9  procRole_ = procRole;
10 }
11 
13 {
14  id_ = id;
15  port_ = boost::lexical_cast<int>(id.substr(id.find_last_not_of("0123456789")+1));
16 }
17 
18 }
Mask()
Definition: Mask.h:13
std::string id_
Definition: Mask.h:23
unsigned port_
Definition: Mask.h:19
std::string procRole_
Definition: Mask.h:23
void setPort(std::string id)
Definition: Mask.cc:12