IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::config::detail Namespace Reference

Functions

auto find (ice::Config const &config, ice::u32 index, ice::config::detail::ConfigKey const *&out_key, ice::config::detail::ConfigValue const *&out_value) noexcept -> ice::ErrorCode
auto find (ice::Config const &config, ice::String strkey, ice::config::detail::ConfigKey const *&out_key, ice::config::detail::ConfigValue const *&out_value) noexcept -> ice::ErrorCode
auto gettype (ice::config::detail::ConfigKey const *key) noexcept -> ice::ConfigValueType
bool istype (ice::config::detail::ConfigKey const *key, ice::ConfigValueType value_type) noexcept
auto entry_key (ice::Config const &config, ice::config::detail::ConfigKey const &key) noexcept -> ice::String
auto entry_first (ice::config::detail::ConfigKey const *&array_key, ice::config::detail::ConfigValue const *&array_value) noexcept -> ice::ErrorCode
auto entry_next (ice::config::detail::ConfigKey const *&array_key, ice::config::detail::ConfigValue const *&array_value) noexcept -> ice::ErrorCode
auto array_size (ice::config::detail::ConfigKey const *array_first_key) noexcept -> ice::u32
auto array_first (ice::config::detail::ConfigKey const *&array_key, ice::config::detail::ConfigValue const *&array_value) noexcept -> ice::ErrorCode
auto array_next (ice::config::detail::ConfigKey const *&array_key, ice::config::detail::ConfigValue const *&array_value) noexcept -> ice::ErrorCode
template<typename T>
requires (ice::concepts::ConfigValueType<T>)
auto get (ice::Config const &config, ice::config::detail::ConfigKey const *key, ice::config::detail::ConfigValue const *value, T &out_value, ice::ConfigValueFlags flags) noexcept -> ice::ErrorCode
template<typename T, typename Key>
requires (ice::concepts::ConfigValueType<T> && ice::concepts::ConfigKeyType<Key>)
auto get (ice::Config const &config, Key key, T &out_value, ice::ConfigValueFlags flags) noexcept -> ice::ErrorCode
template<typename T, typename Key>
requires (ice::concepts::ConfigValueType<T> && ice::concepts::ConfigKeyType<Key>)
auto get_array (ice::Config const &config, Key key, ice::Array< T > &out_values, ice::ConfigValueFlags flags) noexcept -> ice::ErrorCode

Detailed Description

Copyright 2024 - 2026, Dandielo dandi.nosp@m.elo@.nosp@m.icesh.nosp@m.ard..nosp@m.net SPDX-License-Identifier: MIT

Function Documentation

◆ array_first()

auto ice::config::detail::array_first ( ice::config::detail::ConfigKey const *& array_key,
ice::config::detail::ConfigValue const *& array_value ) -> ice::ErrorCode
noexcept

◆ array_next()

auto ice::config::detail::array_next ( ice::config::detail::ConfigKey const *& array_key,
ice::config::detail::ConfigValue const *& array_value ) -> ice::ErrorCode
noexcept

◆ array_size()

auto ice::config::detail::array_size ( ice::config::detail::ConfigKey const * array_first_key) -> ice::u32
noexcept

◆ entry_first()

auto ice::config::detail::entry_first ( ice::config::detail::ConfigKey const *& array_key,
ice::config::detail::ConfigValue const *& array_value ) -> ice::ErrorCode
noexcept

◆ entry_key()

auto ice::config::detail::entry_key ( ice::Config const & config,
ice::config::detail::ConfigKey const & key ) -> ice::String
noexcept

◆ entry_next()

auto ice::config::detail::entry_next ( ice::config::detail::ConfigKey const *& array_key,
ice::config::detail::ConfigValue const *& array_value ) -> ice::ErrorCode
noexcept

◆ find() [1/2]

auto ice::config::detail::find ( ice::Config const & config,
ice::String strkey,
ice::config::detail::ConfigKey const *& out_key,
ice::config::detail::ConfigValue const *& out_value ) -> ice::ErrorCode
noexcept

◆ find() [2/2]

auto ice::config::detail::find ( ice::Config const & config,
ice::u32 index,
ice::config::detail::ConfigKey const *& out_key,
ice::config::detail::ConfigValue const *& out_value ) -> ice::ErrorCode
noexcept

◆ get() [1/2]

template<typename T>
requires (ice::concepts::ConfigValueType<T>)
auto ice::config::detail::get ( ice::Config const & config,
ice::config::detail::ConfigKey const * key,
ice::config::detail::ConfigValue const * value,
T & out_value,
ice::ConfigValueFlags flags ) -> ice::ErrorCode
noexcept

◆ get() [2/2]

template<typename T, typename Key>
requires (ice::concepts::ConfigValueType<T> && ice::concepts::ConfigKeyType<Key>)
auto ice::config::detail::get ( ice::Config const & config,
Key key,
T & out_value,
ice::ConfigValueFlags flags ) -> ice::ErrorCode
noexcept

◆ get_array()

template<typename T, typename Key>
requires (ice::concepts::ConfigValueType<T> && ice::concepts::ConfigKeyType<Key>)
auto ice::config::detail::get_array ( ice::Config const & config,
Key key,
ice::Array< T > & out_values,
ice::ConfigValueFlags flags ) -> ice::ErrorCode
noexcept

◆ gettype()

auto ice::config::detail::gettype ( ice::config::detail::ConfigKey const * key) -> ice::ConfigValueType
noexcept

◆ istype()

bool ice::config::detail::istype ( ice::config::detail::ConfigKey const * key,
ice::ConfigValueType value_type )
noexcept