GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
RuntimeManifest.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
5
#pragma once
6
7
#include <string>
8
#include <vector>
9
10
namespace
gpr::runtime
{
11
15
struct
Component
{
16
std::string
name
;
17
std::string
version
;
18
std::string
role
;
19
std::string
load
=
"linked"
;
20
std::string
path
;
21
std::string
sha256
;
22
bool
verified
=
false
;
23
};
24
27
void
registerComponent
(
Component
component);
28
30
[[nodiscard]] std::vector<Component>
components
();
31
35
[[nodiscard]] std::string
manifestJson
();
36
[[nodiscard]] std::string
manifestSha256
();
37
38
}
// namespace gpr::runtime
gpr::runtime
Definition
RuntimeManifest.cpp:16
gpr::runtime::registerComponent
void registerComponent(Component component)
Definition
RuntimeManifest.cpp:115
gpr::runtime::manifestJson
std::string manifestJson()
Definition
RuntimeManifest.cpp:134
gpr::runtime::components
std::vector< Component > components()
A stable snapshot including the linked ABI dependencies.
Definition
RuntimeManifest.cpp:129
gpr::runtime::manifestSha256
std::string manifestSha256()
Definition
RuntimeManifest.cpp:150
gpr::runtime::Component
Definition
RuntimeManifest.h:15
gpr::runtime::Component::version
std::string version
Definition
RuntimeManifest.h:17
gpr::runtime::Component::path
std::string path
Definition
RuntimeManifest.h:20
gpr::runtime::Component::role
std::string role
Definition
RuntimeManifest.h:18
gpr::runtime::Component::sha256
std::string sha256
Definition
RuntimeManifest.h:21
gpr::runtime::Component::load
std::string load
linked, dlopen, or inprocess
Definition
RuntimeManifest.h:19
gpr::runtime::Component::verified
bool verified
Definition
RuntimeManifest.h:22
gpr::runtime::Component::name
std::string name
Definition
RuntimeManifest.h:16
gpr
RuntimeManifest.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf