#include <property_intf.h>
Inherits adtf::base::ant::IRawValue.
Inherited by adtf::base::ant::property_value< property_type >, adtf::base::ant::property_value< T >, and adtf::base::spider::cPropertyValue.
|
|
virtual | ~IRawValue ()=default |
| | protected DTOR
|
| |
The IPropertyValue interface provides methods for getting and setting property values.
◆ FromString()
| virtual tResult adtf::base::ant::IPropertyValue::FromString |
( |
const IString & | strValueAsString | ) |
|
|
pure virtual |
Implement to deserialize the value from a textfile and/or to set by string
- Parameters
-
| strValueAsString | [in] String to deserialize from |
- Return values
-
| ERR_NOERROR | Successfully set to strType. |
| any_error | Depends on the implementation. |
◆ GetType()
| virtual tResult adtf::base::ant::IPropertyValue::GetType |
( |
IString && | strType | ) |
const |
|
pure virtual |
Retrieves the string for the property value type.
Usually this is defined by the property_type_definition::TYPE_NAME.
- Parameters
-
| strType | [out] The type name. |
- See also
- property_type_definition
- Return values
-
| ERR_NOERROR | Successfully set to strType. |
◆ Set()
Sets the value by a deep copy.
- Parameters
-
- Return values
-
| ERR_NOERROR | Successfully set to strType. |
| any_error | Depends on the implementation. I.e. ERR_INVALID_TYPE if IPropertyValue::GetType is different and no conversion implemented. |
◆ ToString()
| virtual tResult adtf::base::ant::IPropertyValue::ToString |
( |
IString && | strIToString | ) |
const |
|
pure virtual |
Implement to serialize the value to a textfile and/or to show it on a display
- Parameters
-
| strIToString | [out] serialized string value (should be human readable for displays!!) |
- Return values
-
| ERR_NOERROR | Successfully set to strType. |
| any_error | Depends on the implementation. |
The documentation for this class was generated from the following file: