CflowdPortMatrixKey
All class functions are defined inline.
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdPortMatrixKey{
public:
- uint16_t Src() const ;
- uint16_t Src(uint16_t src) ;
- uint16_t Dst() const ;
- uint16_t Dst(uint16_t dst) ;
- operator < (const CflowdPortMatrixKey & portMatrixKey) const ;
- istream & read(istream & is) ;
- int read(int fd) ;
- ostream & write(ostream & os) const ;
- int write(int fd) const ;
- uint16_t Src(uint16_t src) ;
Back to the top of CflowdPortMatrixKey
DESCRIPTION
---------------------------------------------------------------------------
class CflowdPortMatrixKey
---------------------------------------------------------------------------
This class is used as a key into an port matrix map in cflowd++. The key is comprised of a source and destination port.
Note how I've inlined all this; we don't want member function call overhead in here because this class' members will be called frequently when it's used as a key in an STL