.. _program_listing_file_include_opentelemetry_common_attribute_value.h: Program Listing for File attribute_value.h ========================================== |exhale_lsh| :ref:`Return to documentation for file ` (``include/opentelemetry/common/attribute_value.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include #include "opentelemetry/nostd/span.h" #include "opentelemetry/nostd/string_view.h" #include "opentelemetry/nostd/variant.h" #include "opentelemetry/version.h" OPENTELEMETRY_BEGIN_NAMESPACE namespace common { using AttributeValue = nostd::variant, #endif nostd::span, nostd::span, nostd::span, nostd::span, nostd::span, nostd::span, nostd::span>; enum AttributeType { kTypeBool, kTypeInt, kTypeInt64, kTypeUInt, kTypeUInt64, kTypeDouble, kTypeString, #ifdef HAVE_SPAN_BYTE kTypeSpanByte, #endif kTypeSpanBool, kTypeSpanInt, kTypeSpanInt64, kTypeSpanUInt, kTypeSpanUInt64, kTypeSpanDouble, kTypeSpanString }; } // namespace common OPENTELEMETRY_END_NAMESPACE