ADTF
3.18.2
|
Public Member Functions | |
cHashedValueGetter (tHashValueStorageType *pCurrent) | |
tResult | Set (const IHashValueMapValue &oValue) override |
Sets the the Value. More... | |
tResult | FromRaw (const IRawMemory &oRawValue) |
Implement to create a fast value copy in memory. More... | |
tResult | ToRaw (IRawMemory &&oRawValue) const |
Implement to create a fast value copy in memory. More... | |
tType | GetType () const override |
Retrieves the type of the Value. More... | |
Private Attributes | |
tHashValueStorageType * | m_pCurrent |
Additional Inherited Members | |
Public Types inherited from IHashValueMapValue | |
enum | tType : uint8_t { HVT_Invalid = adtf::util::tVariantType::VT_Empty , HVT_Bool = adtf::util::tVariantType::VT_Bool , HVT_Int8 = adtf::util::tVariantType::VT_Int8 , HVT_UInt8 = adtf::util::tVariantType::VT_UInt8 , HVT_Int16 = adtf::util::tVariantType::VT_Int16 , HVT_UInt16 = adtf::util::tVariantType::VT_UInt16 , HVT_Int32 = adtf::util::tVariantType::VT_Int32 , HVT_UInt32 = adtf::util::tVariantType::VT_UInt32 , HVT_Float32 = adtf::util::tVariantType::VT_Float32 , HVT_Float64 = adtf::util::tVariantType::VT_Float64 , HVT_Int64 = adtf::util::tVariantType::VT_Int64 , HVT_UInt64 = adtf::util::tVariantType::VT_UInt64 } |
Enumeration of variant types for the HashValueMap Values. More... | |
Protected Member Functions inherited from IHashValueMapValue | |
~IHashValueMapValue ()=default | |
protected DTOR | |
Protected Member Functions inherited from IRawValue | |
virtual | ~IRawValue ()=default |
protected DTOR | |
Definition at line 91 of file hashedvaluemap.h.
|
inlinevirtual |
Implement to create a fast value copy in memory.
Usually this method is called if types are equal implementation is within the same binary!
oRawValue | [in] Memory representation of the value |
ERR_NOERROR | Successfully copied. |
ERR_MEMORY | You have to return ERR_MEMORY if size of oRawValue does not fit !! |
any_error | Depends on the implementation. |
Implements IRawValue.
Definition at line 103 of file hashedvaluemap.h.
References RETURN_ERROR.
|
inlineoverridevirtual |
Retrieves the type of the Value.
Implements IHashValueMapValue.
Definition at line 113 of file hashedvaluemap.h.
|
inlineoverridevirtual |
Sets the the Value.
ERR_NOERROR | succedded |
ERR_INVALID_TYPE | Type not supported |
any | depends on implementation. |
Implements IHashValueMapValue.
Definition at line 99 of file hashedvaluemap.h.
References RETURN_ERROR.
|
inlinevirtual |
Implement to create a fast value copy in memory.
Usually this method is called if types are equal implementation is within the same binary!
oRawValue | [oRawValue] copy of the memory representation of the value |
ERR_NOERROR | Successfully copied. |
any_error | Depends on the implementation. You are adviced to return the return value of IRawMemory::Set. |
Implements IRawValue.
Definition at line 108 of file hashedvaluemap.h.