ADTF
Loading...
Searching...
No Matches
adtf::base::ant::IHashValueMapValue Class Referenceabstract

#include <hashedvaluemap_intf.h>

Inherits adtf::base::ant::IRawValue.

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
}
 

Public Member Functions

virtual tType GetType () const =0
 
virtual tResult Set (const IHashValueMapValue &oValue)=0
 
- Public Member Functions inherited from adtf::base::ant::IRawValue
virtual tResult FromRaw (const IRawMemory &oRawValue)=0
 
virtual tResult ToRaw (IRawMemory &&oRawValue) const =0
 

Protected Member Functions

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

Detailed Description

Value Interface for the IHashedValueMap

Member Enumeration Documentation

◆ tType

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

Member Function Documentation

◆ GetType()

virtual tType adtf::base::ant::IHashValueMapValue::GetType ( ) const
pure virtual

Retrieves the type of the Value.

Returns
The type

◆ Set()

virtual tResult adtf::base::ant::IHashValueMapValue::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.

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