TAttributeView
Represents a single view service attribute (key-value) pair that can be defined when the service is being created.
Definition
Unit: Neslib.Iceoryx2.Types
Remarks
The parent from which the view was extracted MUST live longer than the TAttributeView.
Properties
| Name | Description |
|---|---|
| Key | Acquires the service attribute key |
| KeyUtf8 | Acquires the service attribute key |
| Value | Acquires the service attribute value |
| ValueUtf8 | Acquires the service attribute value |
Methods
| Name | Description |
|---|---|
| ToString | Returns a string representation of the attribute |
Property Descriptions
Key
Acquires the service attribute key
property Key: String read GetKey
Type: String
Remarks
Use KeyUtf8 for a more efficient version that doesn't require UTF-8 conversion.
KeyUtf8
Acquires the service attribute key
property KeyUtf8: UTF8String read GetKeyUtf8
Type: UTF8String
Value
Acquires the service attribute value
property Value: String read GetValue
Type: String
Remarks
Use ValueUtf8 for a more efficient version that doesn't require UTF-8 conversion.
ValueUtf8
Acquires the service attribute value
property ValueUtf8: UTF8String read GetValueUtf8
Type: UTF8String
Method Descriptions
ToString
Returns a string representation of the attribute
function ToString: String
Returns
String