NVIDIA DeepStream SDK API Reference

9.2 Release
baggage::Baggage Class Reference

Detailed Description

Definition at line 19 of file includes/opentelemetry/baggage/baggage.h.

Public Member Functions

 Baggage () noexcept
 
 Baggage (size_t size) noexcept
 
template<class T >
 Baggage (const T &keys_and_values) noexcept
 
bool GetValue (nostd::string_view key, std::string &value) const noexcept
 
nostd::shared_ptr< Baggage > Set (const nostd::string_view &key, const nostd::string_view &value) noexcept
 
bool GetAllEntries (nostd::function_ref< bool(nostd::string_view, nostd::string_view)> callback) const noexcept
 
nostd::shared_ptr< Baggage > Delete (nostd::string_view key) noexcept
 
std::string ToHeader () const noexcept
 
 Baggage () noexcept
 
 Baggage (size_t size) noexcept
 
template<class T >
 Baggage (const T &keys_and_values) noexcept
 
bool GetValue (nostd::string_view key, std::string &value) const noexcept
 
nostd::shared_ptr< Baggage > Set (const nostd::string_view &key, const nostd::string_view &value) noexcept
 
bool GetAllEntries (nostd::function_ref< bool(nostd::string_view, nostd::string_view)> callback) const noexcept
 
nostd::shared_ptr< Baggage > Delete (nostd::string_view key) noexcept
 
std::string ToHeader () const noexcept
 

Static Public Member Functions

static OPENTELEMETRY_API_SINGLETON nostd::shared_ptr< Baggage > GetDefault ()
 
static nostd::shared_ptr< Baggage > FromHeader (nostd::string_view header) noexcept
 
static OPENTELEMETRY_API_SINGLETON nostd::shared_ptr< Baggage > GetDefault ()
 
static nostd::shared_ptr< Baggage > FromHeader (nostd::string_view header) noexcept
 

Static Public Attributes

static constexpr size_t kMaxKeyValuePairs = 180
 
static constexpr size_t kMaxKeyValueSize = 4096
 
static constexpr size_t kMaxSize = 8192
 
static constexpr char kKeyValueSeparator = '='
 
static constexpr char kMembersSeparator = ','
 
static constexpr char kMetadataSeparator = ';'
 

Constructor & Destructor Documentation

◆ Baggage() [1/6]

baggage::Baggage::Baggage ( )
inlinenoexcept

Definition at line 29 of file includes/opentelemetry/baggage/baggage.h.

◆ Baggage() [2/6]

baggage::Baggage::Baggage ( size_t  size)
inlinenoexcept

Definition at line 30 of file includes/opentelemetry/baggage/baggage.h.

◆ Baggage() [3/6]

template<class T >
baggage::Baggage::Baggage ( const T &  keys_and_values)
inlinenoexcept

Definition at line 33 of file includes/opentelemetry/baggage/baggage.h.

◆ Baggage() [4/6]

baggage::Baggage::Baggage ( )
inlinenoexcept

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

◆ Baggage() [5/6]

baggage::Baggage::Baggage ( size_t  size)
inlinenoexcept

Definition at line 30 of file 9.2/includes/opentelemetry/baggage/baggage.h.

◆ Baggage() [6/6]

template<class T >
baggage::Baggage::Baggage ( const T &  keys_and_values)
inlinenoexcept

Definition at line 33 of file 9.2/includes/opentelemetry/baggage/baggage.h.

Member Function Documentation

◆ Delete() [1/2]

nostd::shared_ptr<Baggage> baggage::Baggage::Delete ( nostd::string_view  key)
inlinenoexcept

Definition at line 94 of file includes/opentelemetry/baggage/baggage.h.

◆ Delete() [2/2]

nostd::shared_ptr<Baggage> baggage::Baggage::Delete ( nostd::string_view  key)
inlinenoexcept

Definition at line 94 of file 9.2/includes/opentelemetry/baggage/baggage.h.

◆ FromHeader() [1/2]

◆ FromHeader() [2/2]

◆ GetAllEntries() [1/2]

bool baggage::Baggage::GetAllEntries ( nostd::function_ref< bool(nostd::string_view, nostd::string_view)>  callback) const
inlinenoexcept

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

◆ GetAllEntries() [2/2]

bool baggage::Baggage::GetAllEntries ( nostd::function_ref< bool(nostd::string_view, nostd::string_view)>  callback) const
inlinenoexcept

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

◆ GetDefault() [1/2]

static OPENTELEMETRY_API_SINGLETON nostd::shared_ptr<Baggage> baggage::Baggage::GetDefault ( )
inlinestatic

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

◆ GetDefault() [2/2]

static OPENTELEMETRY_API_SINGLETON nostd::shared_ptr<Baggage> baggage::Baggage::GetDefault ( )
inlinestatic

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

◆ GetValue() [1/2]

bool baggage::Baggage::GetValue ( nostd::string_view  key,
std::string &  value 
) const
inlinenoexcept

Definition at line 46 of file includes/opentelemetry/baggage/baggage.h.

◆ GetValue() [2/2]

bool baggage::Baggage::GetValue ( nostd::string_view  key,
std::string &  value 
) const
inlinenoexcept

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

◆ Set() [1/2]

nostd::shared_ptr<Baggage> baggage::Baggage::Set ( const nostd::string_view &  key,
const nostd::string_view &  value 
)
inlinenoexcept

Definition at line 54 of file 9.2/includes/opentelemetry/baggage/baggage.h.

◆ Set() [2/2]

nostd::shared_ptr<Baggage> baggage::Baggage::Set ( const nostd::string_view &  key,
const nostd::string_view &  value 
)
inlinenoexcept

Definition at line 54 of file includes/opentelemetry/baggage/baggage.h.

◆ ToHeader() [1/2]

std::string baggage::Baggage::ToHeader ( ) const
inlinenoexcept

◆ ToHeader() [2/2]

std::string baggage::Baggage::ToHeader ( ) const
inlinenoexcept

Field Documentation

◆ kKeyValueSeparator

static constexpr char baggage::Baggage::kKeyValueSeparator = '='
staticconstexpr

Definition at line 25 of file includes/opentelemetry/baggage/baggage.h.

◆ kMaxKeyValuePairs

static constexpr size_t baggage::Baggage::kMaxKeyValuePairs = 180
staticconstexpr

Definition at line 22 of file includes/opentelemetry/baggage/baggage.h.

◆ kMaxKeyValueSize

static constexpr size_t baggage::Baggage::kMaxKeyValueSize = 4096
staticconstexpr

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

◆ kMaxSize

static constexpr size_t baggage::Baggage::kMaxSize = 8192
staticconstexpr

Definition at line 24 of file includes/opentelemetry/baggage/baggage.h.

◆ kMembersSeparator

static constexpr char baggage::Baggage::kMembersSeparator = ','
staticconstexpr

Definition at line 26 of file includes/opentelemetry/baggage/baggage.h.

◆ kMetadataSeparator

static constexpr char baggage::Baggage::kMetadataSeparator = ';'
staticconstexpr

Definition at line 27 of file includes/opentelemetry/baggage/baggage.h.


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