NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::common::AttributeMap Class Reference

Detailed Description

Class for storing attributes.

Definition at line 165 of file includes/opentelemetry/sdk/common/attribute_utils.h.

Inheritance diagram for sdk::common::AttributeMap:
Collaboration diagram for sdk::common::AttributeMap:

Public Member Functions

 AttributeMap ()
 
 AttributeMap (const opentelemetry::common::KeyValueIterable &attributes)
 
 AttributeMap (const opentelemetry::common::KeyValueIterable *attributes)
 
 AttributeMap (std::initializer_list< std::pair< nostd::string_view, opentelemetry::common::AttributeValue >> attributes)
 
const std::unordered_map< std::string, OwnedAttributeValue > & GetAttributes () const noexcept
 
void SetAttribute (nostd::string_view key, const opentelemetry::common::AttributeValue &value) noexcept
 
bool EqualTo (const opentelemetry::common::KeyValueIterable &attributes) const noexcept
 
 AttributeMap ()
 
 AttributeMap (const opentelemetry::common::KeyValueIterable &attributes)
 
 AttributeMap (const opentelemetry::common::KeyValueIterable *attributes)
 
 AttributeMap (std::initializer_list< std::pair< nostd::string_view, opentelemetry::common::AttributeValue >> attributes)
 
const std::unordered_map< std::string, OwnedAttributeValue > & GetAttributes () const noexcept
 
void SetAttribute (nostd::string_view key, const opentelemetry::common::AttributeValue &value) noexcept
 
bool EqualTo (const opentelemetry::common::KeyValueIterable &attributes) const noexcept
 

Constructor & Destructor Documentation

◆ AttributeMap() [1/8]

sdk::common::AttributeMap::AttributeMap ( )
inline

◆ AttributeMap() [2/8]

sdk::common::AttributeMap::AttributeMap ( const opentelemetry::common::KeyValueIterable &  attributes)
inline

◆ AttributeMap() [3/8]

sdk::common::AttributeMap::AttributeMap ( const opentelemetry::common::KeyValueIterable *  attributes)
inline

◆ AttributeMap() [4/8]

sdk::common::AttributeMap::AttributeMap ( std::initializer_list< std::pair< nostd::string_view, opentelemetry::common::AttributeValue >>  attributes)
inline

◆ AttributeMap() [5/8]

sdk::common::AttributeMap::AttributeMap ( )
inline

◆ AttributeMap() [6/8]

sdk::common::AttributeMap::AttributeMap ( const opentelemetry::common::KeyValueIterable &  attributes)
inline

◆ AttributeMap() [7/8]

sdk::common::AttributeMap::AttributeMap ( const opentelemetry::common::KeyValueIterable *  attributes)
inline

◆ AttributeMap() [8/8]

sdk::common::AttributeMap::AttributeMap ( std::initializer_list< std::pair< nostd::string_view, opentelemetry::common::AttributeValue >>  attributes)
inline

Member Function Documentation

◆ EqualTo() [1/2]

bool sdk::common::AttributeMap::EqualTo ( const opentelemetry::common::KeyValueIterable &  attributes) const
inlinenoexcept

◆ EqualTo() [2/2]

bool sdk::common::AttributeMap::EqualTo ( const opentelemetry::common::KeyValueIterable &  attributes) const
inlinenoexcept

◆ GetAttributes() [1/2]

const std::unordered_map<std::string, OwnedAttributeValue>& sdk::common::AttributeMap::GetAttributes ( ) const
inlinenoexcept

◆ GetAttributes() [2/2]

const std::unordered_map<std::string, OwnedAttributeValue>& sdk::common::AttributeMap::GetAttributes ( ) const
inlinenoexcept

◆ SetAttribute() [1/2]

void sdk::common::AttributeMap::SetAttribute ( nostd::string_view  key,
const opentelemetry::common::AttributeValue &  value 
)
inlinenoexcept

Definition at line 213 of file includes/opentelemetry/sdk/common/attribute_utils.h.

References nostd::visit().

Referenced by AttributeMap().

◆ SetAttribute() [2/2]

void sdk::common::AttributeMap::SetAttribute ( nostd::string_view  key,
const opentelemetry::common::AttributeValue &  value 
)
inlinenoexcept

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