NVIDIA DeepStream SDK API Reference

9.2 Release
common::NoopKeyValueIterable Class Reference

Detailed Description

Supports internal iteration over a collection of key-value pairs.

Definition at line 40 of file includes/opentelemetry/common/key_value_iterable.h.

Inheritance diagram for common::NoopKeyValueIterable:
Collaboration diagram for common::NoopKeyValueIterable:

Public Member Functions

 ~NoopKeyValueIterable () override=default
 
bool ForEachKeyValue (nostd::function_ref< bool(nostd::string_view, common::AttributeValue)>) const noexcept override
 No-op implementation: does not invoke the callback, even if key-value pairs are present. More...
 
size_t size () const noexcept override
 
 ~NoopKeyValueIterable () override=default
 
bool ForEachKeyValue (nostd::function_ref< bool(nostd::string_view, common::AttributeValue)>) const noexcept override
 No-op implementation: does not invoke the callback, even if key-value pairs are present. More...
 
size_t size () const noexcept override
 

Constructor & Destructor Documentation

◆ ~NoopKeyValueIterable() [1/2]

common::NoopKeyValueIterable::~NoopKeyValueIterable ( )
overridedefault

◆ ~NoopKeyValueIterable() [2/2]

common::NoopKeyValueIterable::~NoopKeyValueIterable ( )
overridedefault

Member Function Documentation

◆ ForEachKeyValue() [1/2]

bool common::NoopKeyValueIterable::ForEachKeyValue ( nostd::function_ref< bool(nostd::string_view, common::AttributeValue)>  ) const
inlineoverridevirtualnoexcept

No-op implementation: does not invoke the callback, even if key-value pairs are present.

Returns
true without iterating or invoking the callback

Implements common::KeyValueIterable.

Definition at line 49 of file includes/opentelemetry/common/key_value_iterable.h.

◆ ForEachKeyValue() [2/2]

bool common::NoopKeyValueIterable::ForEachKeyValue ( nostd::function_ref< bool(nostd::string_view, common::AttributeValue)>  ) const
inlineoverridevirtualnoexcept

No-op implementation: does not invoke the callback, even if key-value pairs are present.

Returns
true without iterating or invoking the callback

Implements common::KeyValueIterable.

Definition at line 49 of file 9.2/includes/opentelemetry/common/key_value_iterable.h.

◆ size() [1/2]

size_t common::NoopKeyValueIterable::size ( ) const
inlineoverridevirtualnoexcept
Returns
the number of key-value pairs

Implements common::KeyValueIterable.

Definition at line 59 of file 9.2/includes/opentelemetry/common/key_value_iterable.h.

◆ size() [2/2]

size_t common::NoopKeyValueIterable::size ( ) const
inlineoverridevirtualnoexcept
Returns
the number of key-value pairs

Implements common::KeyValueIterable.

Definition at line 59 of file includes/opentelemetry/common/key_value_iterable.h.


The documentation for this class was generated from the following file: