cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include <cam8.hpp>
Public Member Functions | |
Cam8 () | |
bool | lookup (K key, V &value) |
Search the CAM array for a key. More... | |
bool | reverse_lookup (V value, K &key) |
Reverse-search the CAM array for a key to a value. More... | |
bool | insert (KeyValuePair< K, V > kVP) |
Insert a new key-value pair in the CAM array. More... | |
bool | insert (K key, V value) |
bool | update (K key, V value) |
Search the CAM array for a key and updates the corresponding value. More... | |
bool | update (KeyValuePair< K, V > kVP) |
bool | deleteEntry (K key) |
Remove a key-value pair from the CAM array. More... | |
void | reset () |
Invalidate all entries of the CAM array. More... | |
Protected Attributes | |
KeyValuePair< K, V > | CamArray0 |
KeyValuePair< K, V > | CamArray1 |
KeyValuePair< K, V > | CamArray2 |
KeyValuePair< K, V > | CamArray3 |
KeyValuePair< K, V > | CamArray4 |
KeyValuePair< K, V > | CamArray5 |
KeyValuePair< K, V > | CamArray6 |
KeyValuePair< K, V > | CamArray7 |
|
inline |
|
inline |
Definition at line 229 of file cam8.hpp.
|
inline |
Insert a new key-value pair in the CAM array.
[in] | KeyValuePair | The key-value pair to insert. |
Definition at line 187 of file cam8.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 284 of file cam8.hpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |