载入中...
搜索中...
未找到
DiagnosticValue.h 文件参考

Compile-time contract for stable names and codes of domain values. 更多...

#include "common/Diagnostic.h"
#include "common/Status.h"
#include <concepts>
#include <string_view>
#include <type_traits>

浏览源代码.

类

struct  eve::DiagnosticValueTraits< Severity >
 DiagnosticValue mapping for diagnostic severities. 更多...
 
struct  eve::DiagnosticValueTraits< DiagnosticCode >
 DiagnosticValue mapping for machine-readable diagnostic codes. 更多...
 
struct  eve::DiagnosticValueTraits< StatusCode >
 DiagnosticValue mapping for operation status categories. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

概念

concept  eve::DiagnosticValue
 A value with a stable protocol name and machine-readable diagnostic code.
 

函数

template<DiagnosticValue T>
constexpr std::string_view eve::diagnosticValueName (T value) noexcept
 Return the stable name supplied by a DiagnosticValue specialization.
 
template<DiagnosticValue T>
constexpr DiagnosticCode eve::diagnosticValueCode (T value) noexcept
 Return the stable machine-readable code supplied by a DiagnosticValue specialization.
 

详细描述

Compile-time contract for stable names and codes of domain values.

在文件 DiagnosticValue.h 中定义.