opentracing-c
OpenTracing C API
Data Fields
opentracing_value Struct Reference

Tagged union that can represent a number of value types. More...

#include <opentracing-c/value.h>

Data Fields

opentracing_value_type type
 Value type. More...
 
union {
   opentracing_bool   bool_value
 Storage for boolean value. More...
 
   double   double_value
 Storage for double value. More...
 
   int64_t   int64_value
 Storage for 64 bit signed integer value. More...
 
   uint64_t   uint64_value
 Storage for 64 bit unsigned integer value. More...
 
   const char *   string_value
 Storage for string value. More...
 
value
 Value storage. More...
 

Detailed Description

Tagged union that can represent a number of value types.

Field Documentation

◆ bool_value

opentracing_bool opentracing_value::bool_value

Storage for boolean value.

◆ double_value

double opentracing_value::double_value

Storage for double value.

◆ int64_value

int64_t opentracing_value::int64_value

Storage for 64 bit signed integer value.

◆ string_value

const char* opentracing_value::string_value

Storage for string value.

◆ type

opentracing_value_type opentracing_value::type

Value type.

◆ uint64_value

uint64_t opentracing_value::uint64_value

Storage for 64 bit unsigned integer value.

◆ value

union { ... } opentracing_value::value

Value storage.


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