IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
config_types.hxx
Go to the documentation of this file.
1
3
4#pragma once
6
7namespace ice
8{
9
11 {
14 // AllowStringCasts = 0x02,
15 };
16
18 {
20
25
27 Blob, // Unused
28
31 };
32
33 class Config
34 {
35 public:
36 Config() noexcept;
37 Config(Config&& other) noexcept;
38 Config(Config const& other) noexcept;
39
40 auto operator=(Config&& other) noexcept -> Config&;
41 auto operator=(Config const& other) noexcept -> Config&;
42
43 auto operator[](ice::u32 index) const noexcept -> Config;
44 auto operator[](ice::String key) const noexcept -> Config;
45
46 ice::config::detail::ConfigKey const* _keys;
47 ice::config::detail::ConfigValue const* _values;
48 char const* _strings;
49 void const* _data;
50 };
51
52} // namespace ice
char const * _strings
Definition config_types.hxx:48
Config() noexcept
void const * _data
Definition config_types.hxx:49
ice::config::detail::ConfigKey const * _keys
Definition config_types.hxx:46
ice::config::detail::ConfigValue const * _values
Definition config_types.hxx:47
Definition config.hxx:9
Definition hashmap_details.hxx:13
SPDX-License-Identifier: MIT.
Definition array.hxx:12
ice::BasicString< char > String
Definition string.hxx:82
@ None
Definition log_severity.hxx:21
std::uint32_t u32
Definition types.hxx:26
ConfigValueFlags
Definition config_types.hxx:11
@ AllowImplicitCasts
Definition config_types.hxx:13
ConfigValueType
Definition config_types.hxx:18
@ S64
Definition config_types.hxx:23
@ F64
Definition config_types.hxx:24
@ U64
Definition config_types.hxx:22
@ F32
Definition config_types.hxx:24
@ Object
Definition config_types.hxx:30
@ Table
Definition config_types.hxx:29
@ U8
Definition config_types.hxx:22
@ S16
Definition config_types.hxx:23
@ S32
Definition config_types.hxx:23
@ S8
Definition config_types.hxx:23
@ Bool
Definition config_types.hxx:21
@ U32
Definition config_types.hxx:22
@ Blob
Definition config_types.hxx:27
@ U16
Definition config_types.hxx:22
@ Invalid
Definition log_sink.hxx:22
std::uint8_t u8
Definition types.hxx:24