Container for key-value pairs that can transform every value in it to one of types listed in common::AttributeValue.
It may contain value types that are not directly map'able to primitive value types. In that case the ForEachKeyValue method acts as a transform to convert the value type to one listed under AtributeValue (bool, int32_t, int64_t, uint32_t, uint64_t, double, nostd::string_view, or arrays of primite types). For example, if UUID, GUID, or UTF-16 string type is passed as one of values stored inside this container, the container itself may provide a custom implementation of ForEachKeyValue to transform the 'non-standard' type to one of the standard types.
Definition at line 57 of file includes/opentelemetry/common/key_value_iterable_view.h.


Public Member Functions | |
| KeyValueIterableView (const T &container) noexcept | |
| bool | ForEachKeyValue (nostd::function_ref< bool(nostd::string_view, common::AttributeValue)> callback) const noexcept override |
| size_t | size () const noexcept override |
| KeyValueIterableView (const T &container) noexcept | |
| bool | ForEachKeyValue (nostd::function_ref< bool(nostd::string_view, common::AttributeValue)> callback) const noexcept override |
| size_t | size () const noexcept override |
|
inlineexplicitnoexcept |
Definition at line 61 of file includes/opentelemetry/common/key_value_iterable_view.h.
|
inlineexplicitnoexcept |
Definition at line 61 of file 9.2/includes/opentelemetry/common/key_value_iterable_view.h.
|
inlineoverridevirtualnoexcept |
Implements common::KeyValueIterable.
Definition at line 64 of file includes/opentelemetry/common/key_value_iterable_view.h.
References pydeepstreamdoc::osd::ArrowHeadDoc::end.
|
inlineoverridevirtualnoexcept |
Implements common::KeyValueIterable.
Definition at line 64 of file 9.2/includes/opentelemetry/common/key_value_iterable_view.h.
References pydeepstreamdoc::osd::ArrowHeadDoc::end.
|
inlineoverridevirtualnoexcept |
Implements common::KeyValueIterable.
Definition at line 79 of file 9.2/includes/opentelemetry/common/key_value_iterable_view.h.
References nostd::size().
|
inlineoverridevirtualnoexcept |
Implements common::KeyValueIterable.
Definition at line 79 of file includes/opentelemetry/common/key_value_iterable_view.h.
References nostd::size().