#include <tde_cmap_utils.h>
Definition at line 81 of file tde_cmap_utils.h.
dune::tde::crate::crate |
( |
int |
id, |
|
|
int |
cards |
|
) |
| |
|
inline |
void dune::tde::crate::add_crp_connection |
( |
int |
icrp, |
|
|
int |
fslot, |
|
|
const std::vector< int > & |
kel_ids |
|
) |
| |
|
inline |
Definition at line 89 of file tde_cmap_utils.h.
92 auto nconn = kel_ids.size();
94 std::cout<<
"number of connectors is not even\n";
99 std::cout<<
"cannot overwrite the existing connection\n";
104 for(
size_t i=0;i<kel_ids.size();i+=2 ){
105 int kel_1 = kel_ids[i];
106 int kel_2 = kel_ids[i+1];
109 std::cout<<
"slot "<<islot<<
" does not exist\n";
112 _crp_conn.emplace_back(islot, icrp, kel_1, kel_2 );
std::vector< std::tuple< int, int, int, int > > _crp_conn
int dune::tde::crate::_cards |
std::vector< std::tuple< int, int, int, int> > dune::tde::crate::_crp_conn |
int dune::tde::crate::_id |
The documentation for this struct was generated from the following file: