dasmig-core
1.2.0
Shared random engine, distributions and data tiers for the dasmig generator libraries
Loading...
Searching...
No Matches
dataset.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) 2020-2026 Diego Dasso Migotto
3
4
#ifndef DASMIG_CORE_DATASET_HPP
5
#define DASMIG_CORE_DATASET_HPP
6
7
#include <cstdint>
8
9
/// @file dataset.hpp
10
/// @brief The data tier enum shared by every generator library.
11
/// @author Diego Dasso Migotto (diegomigotto at hotmail dot com)
12
13
// Libraries released before the core define their own copy of the enum behind
14
// this guard; defining it here makes them skip it when included together.
15
#ifndef DASMIG_DATASET_DEFINED
16
#define DASMIG_DATASET_DEFINED
17
18
namespace
dasmig
19
{
20
21
/// @brief Which tier of a library's bundled data to load.
22
enum class
dataset
: std::uint8_t
23
{
24
lite
,
///< Smaller tier: the best-covered entries, suitable for embedding.
25
full
///< Complete tier.
26
};
27
28
}
// namespace dasmig
29
30
#endif
// DASMIG_DATASET_DEFINED
31
32
#endif
// DASMIG_CORE_DATASET_HPP
dasmig::dataset
dataset
Which tier of a library's bundled data to load.
Definition
dataset.hpp:23
dasmig::dataset::full
@ full
Complete tier.
dasmig::dataset::lite
@ lite
Smaller tier: the best-covered entries, suitable for embedding.
dasmig
core
dataset.hpp
Generated by
1.9.8