Public Member Functions | Public Attributes | List of all members
dune::tde::kel_connector Struct Reference

#include <tde_cmap_utils.h>

Public Member Functions

 kel_connector ()
 
 kel_connector (int id, int view, bool reverse, int first_view_ch)
 
void print () const
 
bool operator< (const kel_connector &other) const
 

Public Attributes

int _id
 
int _view
 
bool _reverse
 
int _first_view_ch
 

Detailed Description

Definition at line 14 of file tde_cmap_utils.h.

Constructor & Destructor Documentation

dune::tde::kel_connector::kel_connector ( )
inline

Definition at line 16 of file tde_cmap_utils.h.

17  {
18  _id = -1;
19  _view = -1;
20  _reverse = false;
21  _first_view_ch = 0;
22  }
dune::tde::kel_connector::kel_connector ( int  id,
int  view,
bool  reverse,
int  first_view_ch 
)
inline

Definition at line 24 of file tde_cmap_utils.h.

25  {
26  _id = id;
27  _view = view;
28  _reverse = reverse;
29  _first_view_ch = first_view_ch;
30  }
static unsigned int reverse(QString &chars, unsigned char *level, unsigned int a, unsigned int b)
Definition: qstring.cpp:11649

Member Function Documentation

bool dune::tde::kel_connector::operator< ( const kel_connector other) const
inline

Definition at line 38 of file tde_cmap_utils.h.

38 { return _id < other._id; }
void dune::tde::kel_connector::print ( ) const
inline

Definition at line 32 of file tde_cmap_utils.h.

32  {
33  std::cout<<"KEL "<<_id<<" : view "<<_view
34  <<" reverse order "<<_reverse
35  <<" first view ch for this connector "<<_first_view_ch<<std::endl;
36  }
QTextStream & endl(QTextStream &s)

Member Data Documentation

int dune::tde::kel_connector::_first_view_ch

Definition at line 43 of file tde_cmap_utils.h.

int dune::tde::kel_connector::_id

Definition at line 40 of file tde_cmap_utils.h.

bool dune::tde::kel_connector::_reverse

Definition at line 42 of file tde_cmap_utils.h.

int dune::tde::kel_connector::_view

Definition at line 41 of file tde_cmap_utils.h.


The documentation for this struct was generated from the following file: