54 HVT_UInt64 = adtf::util::tVariantType::VT_UInt64
87 using tHashKey = adtf::util::cStringUtil::tHashKey32;
A common result class usable as return value throughout.
The hashed vlaue table store interface to set and retrieve values via a hash key.
virtual tResult Get(IHashValueMap &oHashMap) const =0
Copy operation to the oHashMap.
virtual ~IHashValueMap()=default
protected DTOR
virtual bool IsEmpty() const =0
Tests if value map is empty.
virtual void Reset()=0
Clears the value map.
virtual uint8_t GetRawMemoryLayoutVersion() const =0
Return the Version of the memory layout used to store the values.
virtual tResult GetValue(const tHashKey &oHashKey, IHashValueMapValue &oValue) const =0
Retrieves the value for the hash key oHashKey to oValue if exists.
virtual bool Exists(const tHashKey &oKey) const =0
Tests is a value for the oKey exists.
adtf::util::cStringUtil::tHashKey32 tHashKey
Type for the HashKey of the Value.
virtual tResult SetValue(const tHashKey &oHashKey, const IHashValueMapValue &oValue)=0
Sets or resets the value for the hash key oHashKey as copy of oValue.
Value Interface for the IHashedValueMap.
virtual tType GetType() const =0
Retrieves the type of the Value.
tType
Enumeration of variant types for the HashValueMap Values.
@ HVT_UInt16
uint16 type - uint16_t
@ HVT_UInt8
uint8 type - uint8_t
@ HVT_UInt32
uint32 type - uint32_t
@ HVT_Float64
double type - double
@ HVT_Bool
bool type - bool
@ HVT_Int16
int16 type - int16_t
@ HVT_Int64
int64 type - int64_t (tTimeStamp)
@ HVT_Int32
int32 type - int32_t
@ HVT_UInt64
uint64 type - uint64_t
@ HVT_Int8
int8 type - int8_t
@ HVT_Invalid
Invalid type.
@ HVT_Float32
float type - float
virtual tResult Set(const IHashValueMapValue &oValue)=0
Sets the the Value.
~IHashValueMapValue()=default
protected DTOR
The IRawValue interface provides methods for getting and setting raw values.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.