|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
#include <ice/container/associative_container.hxx>
Public Member Functions | |
| template<ice::concepts::AssociativeResizableContainer Self, ice::concepts::HashableKeyType KeyType, typename InValueType = typename std::remove_reference_t<Self>::ValueType> requires (std::convertible_to<InValueType, typename Self::ValueType>) | |
| auto | set (this Self &self, KeyType const &key, InValueType &&in_value) noexcept -> ice::container::ValueRef< Self > |
| template<ice::concepts::AssociativeResizableContainer Self, ice::concepts::HashableKeyType KeyType, typename InValueType = typename std::remove_reference_t<Self>::ValueType> requires (std::convertible_to<InValueType, typename Self::ValueType>) | |
| void | set_if_missing (this Self &self, KeyType const &key, InValueType &&in_value) noexcept |
| template<ice::concepts::AssociativeContainer Self, ice::concepts::HashableKeyType KeyType, typename InValueType = typename std::remove_reference_t<Self>::ValueType> | |
| auto | get_or_set (this Self &&self, KeyType const &key, InValueType &&in_value) noexcept -> ice::container::ValueRef< Self > |
| template<ice::concepts::AssociativeContainer Self, ice::concepts::HashableKeyType KeyType> | |
| bool | remove (this Self &&self, KeyType const &key) noexcept |
| Public Member Functions inherited from ice::container::AssociativeContainer | |
| template<ice::concepts::AssociativeContainer Self, ice::concepts::HashableKeyType KeyType> | |
| bool | has (this Self const &self, KeyType const &key) noexcept |
| template<ice::concepts::AssociativeContainer Self, ice::concepts::HashableKeyType KeyType> | |
| bool | missing (this Self const &self, KeyType const &key) noexcept |
| template<ice::concepts::AssociativeContainer Self, ice::concepts::HashableKeyType KeyType, typename InValueType = typename std::remove_reference_t<Self>::ValueType> | |
| auto | get (this Self const &self, KeyType const &key, InValueType const &fallback_value) noexcept -> ice::container::ValueRef< Self const > |
| template<ice::concepts::AssociativeContainer Self, ice::concepts::HashableKeyType KeyType> | |
| auto | try_get (this Self &&self, KeyType const &key) noexcept -> ice::container::ValuePtr< Self > |
| Public Member Functions inherited from ice::container::BasicContainer | |
| template<ice::concepts::Container Self> | |
| constexpr bool | is_empty (this Self const &self) noexcept |
| template<ice::concepts::Container Self> | |
| constexpr bool | not_empty (this Self const &self) noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |