#include <property_intf.h>
Inherits adtf::ucom::ant::IObject.
|
|
| ~IProperties ()=default |
| | Protected destructor.
|
| |
|
| ~IObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
Defintion of a property set container interface.
The IProperties will provide an interface to access a container by a named based property storage.
◆ Exists()
| virtual bool adtf::base::ant::IProperties::Exists |
( |
const char * | strName | ) |
const |
|
pure virtual |
Checks if property exists by name.
- Parameters
-
| strName | [in] the name to check. |
◆ Get()
The Get method will copy the content of current property store to the given pProperties. Usually this is a simple call of pProperties.Set(*this);
- Parameters
-
| pProperties | [in] The Property set where to copy the content to. |
- Returns
- Standard Result
◆ GetProperty()
| virtual tResult adtf::base::ant::IProperties::GetProperty |
( |
const char * | strName, |
|
|
IProperty & | pProperty ) const |
|
pure virtual |
Find a property and set the content to the pProperty.
This method will always COPY.
- Parameters
-
| strName | [in] Name of the property to find |
| pProperty | [in, out] Property interface to set the content to. |
- Return values
-
| ERR_NOTFOUND | A property with the name strName does not exist. |
◆ GetSize()
| virtual size_t adtf::base::ant::IProperties::GetSize |
( |
| ) |
const |
|
pure virtual |
Return the current size (count of properties) within the store.
Any subproperties are NOT counted.
- Returns
- The count of properties.
◆ Set()
The Set method should copy the the content of pProperties to the property store of this.
- Parameters
-
| pProperties | [in] The Property set where to copy the content from. |
- Returns
- Standard Result
The documentation for this class was generated from the following file: