PineForge HPO 1.11.0
Native hyperparameter optimization for PineForge strategies
Loading...
Searching...
No Matches
return_stats_identity.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <return_stats_identity_generated.hpp>
4
5#include <string_view>
6
7namespace pineforge::hpo {
8
16constexpr bool return_stats_identity_bound() noexcept {
17 return detail::return_stats_identity_generated::kBound;
18}
19
21constexpr std::string_view return_stats_identity_unbound_reason() noexcept {
22 return {detail::return_stats_identity_generated::kUnboundReason,
23 sizeof(detail::return_stats_identity_generated::kUnboundReason) - 1};
24}
25
30constexpr std::string_view return_stats_contract() noexcept {
31 return {detail::return_stats_identity_generated::kContract,
32 sizeof(detail::return_stats_identity_generated::kContract) - 1};
33}
34
43constexpr std::string_view return_stats_numeric_build_identity() noexcept {
44 return {detail::return_stats_identity_generated::kIdentity,
45 sizeof(detail::return_stats_identity_generated::kIdentity) - 1};
46}
47
54constexpr std::string_view return_stats_identity_descriptor() noexcept {
55 return {detail::return_stats_identity_generated::kDescriptor,
56 sizeof(detail::return_stats_identity_generated::kDescriptor) - 1};
57}
58
61constexpr std::string_view return_stats_source_digest() noexcept {
62 return {detail::return_stats_identity_generated::kSourceDigest,
63 sizeof(detail::return_stats_identity_generated::kSourceDigest) - 1};
64}
65
66} // namespace pineforge::hpo
constexpr std::string_view return_stats_identity_unbound_reason() noexcept
Short code naming why the identity is unbound; empty when it is bound.
constexpr std::string_view return_stats_contract() noexcept
Contract string that was bound into this build's identity at configure time.
constexpr bool return_stats_identity_bound() noexcept
True when this build's return-statistics identity is bound to the compile commands that the build sys...
constexpr std::string_view return_stats_identity_descriptor() noexcept
Exact descriptor text that the identity is the SHA-256 digest of.
constexpr std::string_view return_stats_source_digest() noexcept
SHA-256 digest, in lower-case hexadecimal, of the sorted reducer source and header entries; empty whe...
constexpr std::string_view return_stats_numeric_build_identity() noexcept
Opaque identity of the build that computes return statistics; empty when unbound.