Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
AssetFilterData Class Reference

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
 

Detailed Description

Class that contains all persisted data required for an asset filter:

  • Metadata.
  • Filter data.

Constructor & Destructor Documentation

◆ AssetFilterData()

AssetFilterData::AssetFilterData ( uint8_t *  data)
inline

Member Function Documentation

◆ cuckooFilter()

CuckooFilter AssetFilterData::cuckooFilter ( )

Get the cuckoo filter.

Only valid if filter type is FilterType::CukooFilter.

◆ exactMatchFilter()

ExactMatchFilter AssetFilterData::exactMatchFilter ( )

Get the cuckoo filter.

Only valid if filter type is FilterType::ExactMatchFilter.

◆ isValid()

bool AssetFilterData::isValid ( )

Checks if the data has valid values.

◆ length()

size_t AssetFilterData::length ( )

Get the expected length of this class.

◆ metadata()

AssetFilterMetadata AssetFilterData::metadata ( )

Get the metadata.

Member Data Documentation

◆ _data

uint8_t* AssetFilterData::_data

The documentation for this class was generated from the following file: