13 #include <string_view>
55 bool Exists(
const char* strName)
const override;
59 size_t GetSize()
const override;
61 tResult GetProperty(
const char* strName,
IProperty& pProperty)
const override;
63 tResult SetPropertyByPath(
const char* strParentPath,
const IProperty& pProperty)
override;
65 tResult RemoveProperty(
const char* strName)
override;
128 bool Exists(
const char* )
const override
156 size_t GetSize()
const override
161 tResult RemoveProperty(
const char* )
override
166 tResult RegisterPropertyObserver(
const char* ,
Copyright © Audi Electronics Venture GmbH.
#define RETURN_ERROR(code)
Return specific error code, which requires the calling function's return type to be tResult.
A common result class usable as return value throughout.
Defintion of a property set container interface.
The IProperty interface provides methods for getting and setting property values, name of the propert...
Observer Interface to react on property changes.
The IPropertyValue interface provides methods for getting and setting property values.
Base class for basic implementation of a IProperties interface.
cPropertiesBase(const cPropertiesBase &oPropy)
copy CTOR
cPropertiesBase & operator=(const cPropertiesBase &oPropy)
copy assignment
cPropertiesBase & operator=(cPropertiesBase &&oPropy)=delete
no move
cPropertiesBase(cPropertiesBase &&oPropy)=delete
no move
cPropertiesBase & operator=(const IProperties &oIPropy)
copy asignment
bool IsEqual(const IProperties &oProperties) const
compares the content of the current storage with the given oProperties
cPropertiesBase & CreateProperty(const char *strName, const ant::IPropertyValue &oValue)
Adds a new property and returns a reference to the sub-properties object.
cPropertiesBase(const IProperties &oIPropy)
copy CTOR tfrom interface value
A_UTILS_D(cPropertiesBase)
dptr impl
virtual ~cPropertiesBase()
DTOR.
Property Store as IObject.
cProperties & operator=(const cProperties &oPropy)
assinment operator
cProperties(const IProperties &oIPropy)
copy CTOR
virtual ~cProperties()
DTOR.
cProperties(cProperties &&oPropy)=delete
no move
cProperties(const cProperties &oPropy)
copy CTOR
cProperties & operator=(cProperties &&oPropy)=delete
no move
cProperties & operator=(const IProperties &oIPropy)
assinment operator
Use this template if you want to implement an ucom::ant::IObject based Interface and/or subclass an e...
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.