ADTF  3.18.2
IHashValueMapValueabstract

Value Interface for the IHashedValueMap. More...

Inheritance diagram for IHashValueMapValue:
[legend]

Public Types

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...
 

Public Member Functions

virtual tType GetType () const =0
 Retrieves the type of the Value. More...
 
virtual tResult Set (const IHashValueMapValue &oValue)=0
 Sets the the Value. More...
 
- Public Member Functions inherited from IRawValue
virtual tResult FromRaw (const IRawMemory &oRawValue)=0
 Implement to create a fast value copy in memory. More...
 
virtual tResult ToRaw (IRawMemory &&oRawValue) const =0
 Implement to create a fast value copy in memory. More...
 

Protected Member Functions

 ~IHashValueMapValue ()=default
 protected DTOR
 
- Protected Member Functions inherited from IRawValue
virtual ~IRawValue ()=default
 protected DTOR
 

Detailed Description

Value Interface for the IHashedValueMap.

Definition at line 20 of file hashedvaluemap_intf.h.

Member Enumeration Documentation

◆ tType

enum tType : uint8_t

Enumeration of variant types for the HashValueMap Values.

Enumerator
HVT_Invalid 

Invalid type.

HVT_Bool 

bool type - bool

HVT_Int8 

int8 type - int8_t

HVT_UInt8 

uint8 type - uint8_t

HVT_Int16 

int16 type - int16_t

HVT_UInt16 

uint16 type - uint16_t

HVT_Int32 

int32 type - int32_t

HVT_UInt32 

uint32 type - uint32_t

HVT_Float32 

float type - float

HVT_Float64 

double type - double

HVT_Int64 

int64 type - int64_t (tTimeStamp)

HVT_UInt64 

uint64 type - uint64_t

Definition at line 29 of file hashedvaluemap_intf.h.

Member Function Documentation

◆ GetType()

virtual tType GetType ( ) const
pure virtual

Retrieves the type of the Value.

Returns
The type

Implemented in hash_value_map< STORAGE, INTERFACE >::cHashedValueGetter.

Referenced by hash_value_map< STORAGE, INTERFACE >::SetValue().

◆ Set()

virtual tResult Set ( const IHashValueMapValue oValue)
pure virtual

Sets the the Value.

Returns
Error code
Return values
ERR_NOERRORsuccedded
ERR_INVALID_TYPEType not supported
anydepends on implementation.

Implemented in hash_value_map< STORAGE, INTERFACE >::cHashedValueGetter.

Referenced by hash_value_map< STORAGE, INTERFACE >::GetValue().