pfp::cp::TernaryKey Class Reference
+ Inheritance diagram for pfp::cp::TernaryKey:
+ Collaboration diagram for pfp::cp::TernaryKey:

Public Member Functions

 TernaryKey (Bytes data, Bytes mask)
 
void print (std::ostream &os) const override
 
const Bytes & get_mask () const override
 
Type get_type () const override
 
- Public Member Functions inherited from pfp::cp::MatchKey
 MatchKey (Bytes v)
 
const Bytes & get_data () const
 
virtual size_t get_prefix_len () const
 

Additional Inherited Members

- Public Types inherited from pfp::cp::MatchKey
enum  Type { EXACT, LPM, TERNARY }
 
- Protected Attributes inherited from pfp::cp::MatchKey
const Bytes data
 

The documentation for this class was generated from the following files:
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/cp/Commands.h
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/cp/Commands.cpp