#include <hashedvaluemap_intf.h>
Inherits adtf::base::ant::IRawValue.
Inherited by adtf::base::ant::hash_value_map< STORAGE, INTERFACE >, and adtf::streaming::ant::ISampleInfo.
|
|
using | tHashKey = adtf::util::cStringUtil::tHashKey32 |
| | Type for the HashKey of the Value.
|
| |
|
|
virtual | ~IHashValueMap ()=default |
| | protected DTOR
|
| |
|
virtual | ~IRawValue ()=default |
| | protected DTOR
|
| |
The hashed vlaue table store interface to set and retrieve values via a hash key. The hash can be generated by create_hash_value_key.
- See also
- hashed_value_map, create_hash_value_key
◆ Exists()
| virtual bool adtf::base::ant::IHashValueMap::Exists |
( |
const tHashKey & | oKey | ) |
const |
|
pure virtual |
◆ Get()
◆ GetRawMemoryLayoutVersion()
| virtual uint8_t adtf::base::ant::IHashValueMap::GetRawMemoryLayoutVersion |
( |
| ) |
const |
|
pure virtual |
◆ GetValue()
Retrieves the value for the hash key oHashKey to oValue if exists.
- Parameters
-
| [in] | oHashKey | hashkey |
| [out] | oValue | value |
- Returns
- returns the standard error code
- Return values
-
| ERR_NOERROR | succedded |
| ERR_INVALID_TYPE | Type not supported |
| any | depends on implementation of IHashedValue. |
- See also
- get_hashed_value
Implemented in adtf::base::ant::hash_value_map< STORAGE, INTERFACE >.
◆ IsEmpty()
| virtual bool adtf::base::ant::IHashValueMap::IsEmpty |
( |
| ) |
const |
|
pure virtual |
◆ Reset()
| virtual void adtf::base::ant::IHashValueMap::Reset |
( |
| ) |
|
|
pure virtual |
◆ SetValue()
Sets or resets the value for the hash key oHashKey as copy of oValue.
- Parameters
-
| [in] | oHashKey | hashkey |
| [in] | oValue | value to set |
- Returns
- returns the standard error code
- Return values
-
- See also
- set_hashed_value
Implemented in adtf::base::ant::hash_value_map< STORAGE, INTERFACE >.
The documentation for this class was generated from the following file: