NVIDIA DeepStream SDK API Reference

9.2 Release
trace::TraceId Class Referencefinal

Detailed Description

Definition at line 19 of file includes/opentelemetry/trace/trace_id.h.

Public Member Functions

 TraceId () noexcept
 
 TraceId (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 TraceId &that) const noexcept
 
bool operator!= (const TraceId &that) const noexcept
 
bool IsValid () const noexcept
 
void CopyBytesTo (nostd::span< uint8_t, kSize > dest) const noexcept
 
 TraceId () noexcept
 
 TraceId (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 TraceId &that) const noexcept
 
bool operator!= (const TraceId &that) const noexcept
 
bool IsValid () const noexcept
 
void CopyBytesTo (nostd::span< uint8_t, kSize > dest) const noexcept
 

Static Public Attributes

static constexpr int kSize = 16
 

Constructor & Destructor Documentation

◆ TraceId() [1/4]

trace::TraceId::TraceId ( )
inlinenoexcept

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

Referenced by IsValid().

◆ TraceId() [2/4]

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

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

References data, and kSize.

◆ TraceId() [3/4]

trace::TraceId::TraceId ( )
inlinenoexcept

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

◆ TraceId() [4/4]

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

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

References data, and kSize.

Member Function Documentation

◆ CopyBytesTo() [1/2]

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

Definition at line 62 of file includes/opentelemetry/trace/trace_id.h.

References kSize.

◆ CopyBytesTo() [2/2]

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

Definition at line 62 of file 9.2/includes/opentelemetry/trace/trace_id.h.

References kSize.

◆ Id() [1/2]

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

Definition at line 46 of file 9.2/includes/opentelemetry/trace/trace_id.h.

◆ Id() [2/2]

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

Definition at line 46 of file includes/opentelemetry/trace/trace_id.h.

◆ IsValid() [1/2]

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

Definition at line 59 of file includes/opentelemetry/trace/trace_id.h.

References TraceId().

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

◆ IsValid() [2/2]

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

Definition at line 59 of file 9.2/includes/opentelemetry/trace/trace_id.h.

References TraceId().

◆ operator!=() [1/2]

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

Definition at line 56 of file includes/opentelemetry/trace/trace_id.h.

◆ operator!=() [2/2]

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

Definition at line 56 of file 9.2/includes/opentelemetry/trace/trace_id.h.

◆ operator==() [1/2]

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

Definition at line 51 of file 9.2/includes/opentelemetry/trace/trace_id.h.

References kSize.

◆ operator==() [2/2]

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

Definition at line 51 of file includes/opentelemetry/trace/trace_id.h.

References kSize.

◆ ToLowerBase16() [1/2]

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

◆ ToLowerBase16() [2/2]

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

Definition at line 35 of file 9.2/includes/opentelemetry/trace/trace_id.h.

References kSize.

Field Documentation

◆ kSize

static constexpr int trace::TraceId::kSize = 16
staticconstexpr

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