Sen API
Sen Libraries
Toggle main menu visibility
Loading...
Searching...
No Matches
db/src/constants.h
Go to the documentation of this file.
1
// === constants.h =====================================================================================================
2
// Sen Infrastructure
3
// Released under the Apache License v2.0 (SPDX-License-Identifier Apache-2.0).
4
// See the LICENSE.txt file for more information.
5
// © Airbus SAS, Airbus Helicopters, and Airbus Defence and Space SAU/GmbH/SAS.
6
// =====================================================================================================================
7
8
#ifndef SEN_LIBS_DB_SRC_CONSTANTS_H
9
#define SEN_LIBS_DB_SRC_CONSTANTS_H
10
11
// std
12
#include <cstdint>
13
#include <string_view>
14
15
namespace
sen::db
16
{
17
18
constexpr
uint32_t
keyframeIndexId
= 0U;
19
constexpr
uint32_t
beginMagic
= 0xcafebabeU;
20
21
// The archive layout this build reads and writes, stored in every file's v1::FileHeader. A new layout
22
// adds a value and a reader for it rather than raising this one, so older archives stay readable.
23
constexpr
uint32_t
supportedFileVersion
= 1U;
24
25
constexpr
std::string_view
runtimeFileName
=
"runtime"
;
26
constexpr
std::string_view
typesFileName
=
"types"
;
27
constexpr
std::string_view
indexesFileName
=
"indexes"
;
28
constexpr
std::string_view
annotationsFileName
=
"annotations"
;
29
constexpr
std::string_view
summaryFileName
=
"summary"
;
30
31
}
// namespace sen::db
32
33
#endif
// SEN_LIBS_DB_SRC_CONSTANTS_H
sen::db
Definition
type_specs.h:19
sen::db::summaryFileName
constexpr std::string_view summaryFileName
Definition
db/src/constants.h:29
sen::db::indexesFileName
constexpr std::string_view indexesFileName
Definition
db/src/constants.h:27
sen::db::keyframeIndexId
constexpr uint32_t keyframeIndexId
Definition
db/src/constants.h:18
sen::db::supportedFileVersion
constexpr uint32_t supportedFileVersion
Definition
db/src/constants.h:23
sen::db::typesFileName
constexpr std::string_view typesFileName
Definition
db/src/constants.h:26
sen::db::annotationsFileName
constexpr std::string_view annotationsFileName
Definition
db/src/constants.h:28
sen::db::beginMagic
constexpr uint32_t beginMagic
Definition
db/src/constants.h:19
sen::db::runtimeFileName
constexpr std::string_view runtimeFileName
Definition
db/src/constants.h:25
libs
db
src
constants.h
Generated by
1.17.0