|
ADTF
|
#include <property_intf.h>
Inherited by adtf::base::ant::IHashValueMap, adtf::base::ant::IHashValueMapValue, and adtf::base::ant::IPropertyValue.
Public Member Functions | |
| virtual tResult | FromRaw (const IRawMemory &oRawValue)=0 |
| virtual tResult | ToRaw (IRawMemory &&oRawValue) const =0 |
Protected Member Functions | |
| virtual | ~IRawValue ()=default |
| protected DTOR | |
The IRawValue interface provides methods for getting and setting raw values.
|
pure virtual |
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. |
Implemented in adtf::base::ant::hash_value_map< STORAGE, INTERFACE >, adtf::base::ant::property_value< T >, adtf::base::ant::property_value< property_type >, adtf::base::ant::property_value< property_type >, adtf::base::ant::property_value< property_type >, adtf::base::cPropertyValue, adtf::base::hash_value_map< STORAGE, INTERFACE >, adtf::base::property_value< T >, and adtf::base::spider::cPropertyValue.
|
pure virtual |
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. |
Implemented in adtf::base::ant::hash_value_map< STORAGE, INTERFACE >, adtf::base::ant::property_value< T >, adtf::base::ant::property_value< property_type >, adtf::base::ant::property_value< property_type >, adtf::base::ant::property_value< property_type >, adtf::base::cPropertyValue, adtf::base::hash_value_map< STORAGE, INTERFACE >, adtf::base::property_value< T >, and adtf::base::spider::cPropertyValue.