MySQL 9.7.0
Source Code Documentation
telemetry::MySingleKeyValueIterable Class Reference
Inheritance diagram for telemetry::MySingleKeyValueIterable:
[legend]

Public Member Functions

 MySingleKeyValueIterable (const char *name, const char *value)
 
 ~MySingleKeyValueIterable () override=default
 
bool ForEachKeyValue (opentelemetry::nostd::function_ref< bool(opentelemetry::nostd::string_view, opentelemetry::common::AttributeValue)> callback) const noexcept override
 
size_t size () const noexcept override
 

Private Attributes

const char * m_name
 
const char * m_value
 

Constructor & Destructor Documentation

◆ MySingleKeyValueIterable()

telemetry::MySingleKeyValueIterable::MySingleKeyValueIterable ( const char *  name,
const char *  value 
)

◆ ~MySingleKeyValueIterable()

telemetry::MySingleKeyValueIterable::~MySingleKeyValueIterable ( )
overridedefault

Member Function Documentation

◆ ForEachKeyValue()

bool telemetry::MySingleKeyValueIterable::ForEachKeyValue ( opentelemetry::nostd::function_ref< bool(opentelemetry::nostd::string_view, opentelemetry::common::AttributeValue)>  callback) const
overridenoexcept

◆ size()

size_t telemetry::MySingleKeyValueIterable::size ( ) const
inlineoverridenoexcept

Member Data Documentation

◆ m_name

const char* telemetry::MySingleKeyValueIterable::m_name
private

◆ m_value

const char* telemetry::MySingleKeyValueIterable::m_value
private

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