#include <cs_ExactMatchFilter.h>
|
static constexpr size_t | bufferSize (uint8_t itemCount, uint8_t itemSize) |
| Size of the itemArray in bytes. More...
|
|
static constexpr size_t | size (uint8_t itemCount, uint8_t itemSize) |
| Total number of bytes that a filter with the given parameters would occupy. More...
|
|
◆ ExactMatchFilter() [1/2]
◆ ExactMatchFilter() [2/2]
Use this default constructor with care, _data is never checked in this class.
◆ bufferSize() [1/2]
constexpr size_t ExactMatchFilter::bufferSize |
( |
| ) |
|
|
inlineconstexpr |
◆ bufferSize() [2/2]
static constexpr size_t ExactMatchFilter::bufferSize |
( |
uint8_t |
itemCount, |
|
|
uint8_t |
itemSize |
|
) |
| |
|
inlinestaticconstexpr |
Size of the itemArray in bytes.
◆ contains()
bool ExactMatchFilter::contains |
( |
const void * |
key, |
|
|
size_t |
keyLengthInBytes |
|
) |
| |
|
overridevirtual |
◆ find()
int ExactMatchFilter::find |
( |
const void * |
item, |
|
|
size_t |
itemSize |
|
) |
| |
if contains(key,itemSize): returns the index of the item else: return -1
◆ getItem()
uint8_t * ExactMatchFilter::getItem |
( |
size_t |
index | ) |
|
|
private |
◆ isValid()
bool ExactMatchFilter::isValid |
( |
| ) |
|
|
overridevirtual |
◆ size() [1/2]
constexpr size_t ExactMatchFilter::size |
( |
| ) |
|
|
inlineconstexprvirtual |
◆ size() [2/2]
static constexpr size_t ExactMatchFilter::size |
( |
uint8_t |
itemCount, |
|
|
uint8_t |
itemSize |
|
) |
| |
|
inlinestaticconstexpr |
Total number of bytes that a filter with the given parameters would occupy.
◆ _data
The documentation for this class was generated from the following file: