IceShard
1
A personal game engine project, with development focused on 2D/2.5D games.
Toggle main menu visibility
Loading...
Searching...
No Matches
utils
public
ice
Namespaces
|
Functions
config.hxx File Reference
#include <
ice/array.hxx
>
#include <
ice/config/config_impl.hxx
>
Go to the source code of this file.
Namespaces
namespace
ice
SPDX-License-Identifier: MIT.
namespace
ice::config
Functions
auto
ice::config::from_data
(
ice::Data
data) noexcept ->
ice::Config
auto
ice::config::from_json
(
ice::Allocator
&alloc,
ice::String
json,
ice::Memory
&out_memory) noexcept ->
ice::Config
template<typename T, typename Key>
requires (
ice::concepts::ConfigValueType
<T> &&
ice::concepts::ConfigKeyType
<Key>)
auto
ice::config::get
(
ice::Config
const &config, Key key, T &out_value,
ice::ConfigValueFlags
flags=
ConfigValueFlags::None
) noexcept ->
ice::ErrorCode
template<typename T, typename Key>
requires (
ice::concepts::ConfigValueType
<T> &&
ice::concepts::ConfigKeyType
<Key>)
auto
ice::config::get
(
ice::Config
const &config, Key key,
ice::ConfigValueFlags
flags=
ConfigValueFlags::None
) noexcept ->
ice::Expected
< T >
template<typename T, typename Key>
requires (
ice::concepts::ConfigValueType
<T> &&
ice::concepts::ConfigKeyType
<Key>)
auto
ice::config::get_array
(
ice::Config
const &config, Key key,
ice::Array
< T > &out_values,
ice::ConfigValueFlags
flags=
ConfigValueFlags::None
) noexcept ->
ice::ErrorCode
Generated by
1.18.0