Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
Class that contains all persisted data required for an asset filter: More...
#include <cs_AssetFilterPacketAccessors.h>
Public Member Functions | |
AssetFilterData (uint8_t *data) | |
AssetFilterMetadata | metadata () |
Get the metadata. More... | |
CuckooFilter | cuckooFilter () |
Get the cuckoo filter. More... | |
ExactMatchFilter | exactMatchFilter () |
Get the cuckoo filter. More... | |
bool | isValid () |
Checks if the data has valid values. More... | |
size_t | length () |
Get the expected length of this class. More... | |
Public Attributes | |
uint8_t * | _data |
Class that contains all persisted data required for an asset filter:
|
inline |
CuckooFilter AssetFilterData::cuckooFilter | ( | ) |
Get the cuckoo filter.
Only valid if filter type is FilterType::CukooFilter.
ExactMatchFilter AssetFilterData::exactMatchFilter | ( | ) |
Get the cuckoo filter.
Only valid if filter type is FilterType::ExactMatchFilter.
bool AssetFilterData::isValid | ( | ) |
Checks if the data has valid values.
size_t AssetFilterData::length | ( | ) |
Get the expected length of this class.
AssetFilterMetadata AssetFilterData::metadata | ( | ) |
Get the metadata.
uint8_t* AssetFilterData::_data |