NVIDIA DeepStream SDK API Reference

9.2 Release
context::Context Class Reference

Detailed Description

Definition at line 23 of file includes/opentelemetry/context/context.h.

Public Member Functions

 Context ()=default
 
template<class T >
 Context (const T &keys_and_values) noexcept
 
 Context (nostd::string_view key, ContextValue value) noexcept
 
template<class T >
Context SetValues (T &values) noexcept
 
Context SetValue (nostd::string_view key, ContextValue value) noexcept
 
context::ContextValue GetValue (const nostd::string_view key) const noexcept
 
bool HasKey (const nostd::string_view key) const noexcept
 
bool operator== (const Context &other) const noexcept
 
 Context ()=default
 
template<class T >
 Context (const T &keys_and_values) noexcept
 
 Context (nostd::string_view key, ContextValue value) noexcept
 
template<class T >
Context SetValues (T &values) noexcept
 
Context SetValue (nostd::string_view key, ContextValue value) noexcept
 
context::ContextValue GetValue (const nostd::string_view key) const noexcept
 
bool HasKey (const nostd::string_view key) const noexcept
 
bool operator== (const Context &other) const noexcept
 

Constructor & Destructor Documentation

◆ Context() [1/6]

context::Context::Context ( )
default

Referenced by SetValue(), and SetValues().

◆ Context() [2/6]

template<class T >
context::Context::Context ( const T &  keys_and_values)
inlinenoexcept

Definition at line 31 of file includes/opentelemetry/context/context.h.

◆ Context() [3/6]

context::Context::Context ( nostd::string_view  key,
ContextValue  value 
)
inlinenoexcept

Definition at line 37 of file includes/opentelemetry/context/context.h.

◆ Context() [4/6]

context::Context::Context ( )
default

◆ Context() [5/6]

template<class T >
context::Context::Context ( const T &  keys_and_values)
inlinenoexcept

Definition at line 31 of file 9.2/includes/opentelemetry/context/context.h.

◆ Context() [6/6]

context::Context::Context ( nostd::string_view  key,
ContextValue  value 
)
inlinenoexcept

Definition at line 37 of file 9.2/includes/opentelemetry/context/context.h.

Member Function Documentation

◆ GetValue() [1/2]

context::ContextValue context::Context::GetValue ( const nostd::string_view  key) const
inlinenoexcept

◆ GetValue() [2/2]

context::ContextValue context::Context::GetValue ( const nostd::string_view  key) const
inlinenoexcept

◆ HasKey() [1/2]

bool context::Context::HasKey ( const nostd::string_view  key) const
inlinenoexcept

Definition at line 84 of file includes/opentelemetry/context/context.h.

References GetValue().

◆ HasKey() [2/2]

bool context::Context::HasKey ( const nostd::string_view  key) const
inlinenoexcept

Definition at line 84 of file 9.2/includes/opentelemetry/context/context.h.

References GetValue().

◆ operator==() [1/2]

bool context::Context::operator== ( const Context &  other) const
inlinenoexcept

Definition at line 89 of file 9.2/includes/opentelemetry/context/context.h.

◆ operator==() [2/2]

bool context::Context::operator== ( const Context &  other) const
inlinenoexcept

Definition at line 89 of file includes/opentelemetry/context/context.h.

◆ SetValue() [1/2]

Context context::Context::SetValue ( nostd::string_view  key,
ContextValue  value 
)
inlinenoexcept

Definition at line 60 of file 9.2/includes/opentelemetry/context/context.h.

References Context().

◆ SetValue() [2/2]

Context context::Context::SetValue ( nostd::string_view  key,
ContextValue  value 
)
inlinenoexcept

Definition at line 60 of file includes/opentelemetry/context/context.h.

References Context().

Referenced by context::RuntimeContext::SetValue().

◆ SetValues() [1/2]

template<class T >
Context context::Context::SetValues ( T &  values)
inlinenoexcept

Definition at line 45 of file includes/opentelemetry/context/context.h.

References Context().

◆ SetValues() [2/2]

template<class T >
Context context::Context::SetValues ( T &  values)
inlinenoexcept

Definition at line 45 of file 9.2/includes/opentelemetry/context/context.h.

References Context().


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