NVIDIA DeepStream SDK API Reference

9.2 Release
trace::SpanId Class Referencefinal

Detailed Description

Definition at line 16 of file includes/opentelemetry/trace/span_id.h.

Public Member Functions

 SpanId () noexcept
 
 SpanId (nostd::span< const uint8_t, kSize > id) noexcept
 
void ToLowerBase16 (nostd::span< char, 2 *kSize > buffer) const noexcept
 
nostd::span< const uint8_t, kSize > Id () const noexcept
 
bool operator== (const SpanId &that) const noexcept
 
bool operator!= (const SpanId &that) const noexcept
 
bool IsValid () const noexcept
 
void CopyBytesTo (nostd::span< uint8_t, kSize > dest) const noexcept
 
 SpanId () noexcept
 
 SpanId (nostd::span< const uint8_t, kSize > id) noexcept
 
void ToLowerBase16 (nostd::span< char, 2 *kSize > buffer) const noexcept
 
nostd::span< const uint8_t, kSize > Id () const noexcept
 
bool operator== (const SpanId &that) const noexcept
 
bool operator!= (const SpanId &that) const noexcept
 
bool IsValid () const noexcept
 
void CopyBytesTo (nostd::span< uint8_t, kSize > dest) const noexcept
 

Static Public Attributes

static constexpr int kSize = 8
 

Constructor & Destructor Documentation

◆ SpanId() [1/4]

trace::SpanId::SpanId ( )
inlinenoexcept

Definition at line 23 of file includes/opentelemetry/trace/span_id.h.

◆ SpanId() [2/4]

trace::SpanId::SpanId ( nostd::span< const uint8_t, kSize >  id)
inlineexplicitnoexcept

Definition at line 26 of file includes/opentelemetry/trace/span_id.h.

References data, and kSize.

◆ SpanId() [3/4]

trace::SpanId::SpanId ( )
inlinenoexcept

Definition at line 23 of file 9.2/includes/opentelemetry/trace/span_id.h.

◆ SpanId() [4/4]

trace::SpanId::SpanId ( nostd::span< const uint8_t, kSize >  id)
inlineexplicitnoexcept

Definition at line 26 of file 9.2/includes/opentelemetry/trace/span_id.h.

References data, and kSize.

Member Function Documentation

◆ CopyBytesTo() [1/2]

void trace::SpanId::CopyBytesTo ( nostd::span< uint8_t, kSize >  dest) const
inlinenoexcept

Definition at line 57 of file includes/opentelemetry/trace/span_id.h.

References kSize.

◆ CopyBytesTo() [2/2]

void trace::SpanId::CopyBytesTo ( nostd::span< uint8_t, kSize >  dest) const
inlinenoexcept

Definition at line 57 of file 9.2/includes/opentelemetry/trace/span_id.h.

References kSize.

◆ Id() [1/2]

nostd::span<const uint8_t, kSize> trace::SpanId::Id ( ) const
inlinenoexcept

Definition at line 40 of file 9.2/includes/opentelemetry/trace/span_id.h.

◆ Id() [2/2]

nostd::span<const uint8_t, kSize> trace::SpanId::Id ( ) const
inlinenoexcept

Definition at line 40 of file includes/opentelemetry/trace/span_id.h.

◆ IsValid() [1/2]

bool trace::SpanId::IsValid ( ) const
inlinenoexcept

Definition at line 50 of file includes/opentelemetry/trace/span_id.h.

References kSize.

Referenced by trace::SpanContext::IsValid().

◆ IsValid() [2/2]

bool trace::SpanId::IsValid ( ) const
inlinenoexcept

Definition at line 50 of file 9.2/includes/opentelemetry/trace/span_id.h.

References kSize.

◆ operator!=() [1/2]

bool trace::SpanId::operator!= ( const SpanId &  that) const
inlinenoexcept

Definition at line 47 of file includes/opentelemetry/trace/span_id.h.

◆ operator!=() [2/2]

bool trace::SpanId::operator!= ( const SpanId &  that) const
inlinenoexcept

Definition at line 47 of file 9.2/includes/opentelemetry/trace/span_id.h.

◆ operator==() [1/2]

bool trace::SpanId::operator== ( const SpanId &  that) const
inlinenoexcept

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

References kSize.

◆ operator==() [2/2]

bool trace::SpanId::operator== ( const SpanId &  that) const
inlinenoexcept

Definition at line 45 of file includes/opentelemetry/trace/span_id.h.

References kSize.

◆ ToLowerBase16() [1/2]

void trace::SpanId::ToLowerBase16 ( nostd::span< char, 2 *kSize >  buffer) const
inlinenoexcept

◆ ToLowerBase16() [2/2]

void trace::SpanId::ToLowerBase16 ( nostd::span< char, 2 *kSize >  buffer) const
inlinenoexcept

Definition at line 29 of file 9.2/includes/opentelemetry/trace/span_id.h.

References kSize.

Field Documentation

◆ kSize

static constexpr int trace::SpanId::kSize = 8
staticconstexpr

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