Namespace entt
Description
No description yet.
Namespaces
literals |
Classes
adl_meta_pointer_like | Fake ADL based lookup function for meta pointer-like types. | |
allocation_deleter | Deleter for allocator-aware unique pointers (waiting for C++20). | |
as_cref_t | Empty class type used to request the as cref policy. | |
as_group | Converts a registry to a group. | |
as_is_t | Empty class type used to request the as-is policy. | |
as_ref_t | Empty class type used to request the as ref policy. | |
as_view | Converts a registry to a view. | |
as_void_t | Empty class type used to request the as void policy. | |
basic_any | A SBO friendly, type-safe container for single values of any type. | |
basic_collector | Collector. | |
basic_collector< matcher< type_list< Reject... >, type_list< Require... >, Rule... >, Other... > | Collector. | |
basic_collector<> | Collector. | |
basic_continuous_loader | Utility class for continuous loading. | |
basic_dispatcher | Basic dispatcher implementation. | |
basic_group | Group. | |
basic_group< Entity, owned_t< Owned... >, get_t< Get... >, exclude_t< Exclude... > > | Owning group. | |
basic_group< Entity, owned_t<>, get_t< Get... >, exclude_t< Exclude... > > | Non-owning group. | |
basic_handle | Non-owning handle to an entity. | |
basic_hashed_string | Zero overhead unique identifier. | |
basic_observer | Observer. | |
basic_organizer | Utility class for creating a static task graph. | |
basic_poly | Static polymorphism made simple and within everyone's reach. | |
basic_registry | Fast and reliable entity-component system. | |
basic_runtime_view | Runtime view implementation. | |
basic_runtime_view< basic_sparse_set< Entity, Allocator > > | Generic runtime view. | |
basic_snapshot | Utility class to create snapshots from a registry. | |
basic_snapshot_loader | Utility class to restore a snapshot as a whole. | |
basic_sparse_set | Basic sparse set implementation. | |
basic_storage | Basic storage implementation. | |
basic_storage< Entity, Type, Allocator, std::enable_if_t< ignore_as_empty_v< Type > > > | Default constructor. | |
basic_view | View implementation. | |
basic_view< Entity, get_t< Component >, exclude_t<>, std::void_t< std::enable_if_t<!component_traits< std::remove_const_t< Component > >::in_place_delete > > > | Single component view specialization. | |
basic_view< Entity, get_t< Component... >, exclude_t< Exclude... > > | Multi component view. | |
choice_t | Utility class to disambiguate overloaded functions. | |
choice_t< 0 > | Utility class to disambiguate overloaded functions. | |
component_traits | Common way to access various properties of components. | |
compressed_pair | A compressed pair. | |
connect_arg_t | Used to wrap a function or a member of a specified type. | |
connection | Connection class. | |
constness_as | Transcribes the constness of a type to another type. | |
constness_as< To, const From > | Transcribes the constness of a type to another type. | |
delegate | Basic delegate implementation. | |
delegate< Ret(Args...)> | Utility class to use to send around functions and members. | |
dense_map | Associative container for key-value pairs with unique keys. | |
dense_set | Associative container for unique objects of a given type. | |
emitter | General purpose event emitter. | |
entt_traits | Entity traits. | |
enum_as_bitmask | Enable bitmask support for enum classes. | |
enum_as_bitmask< Type, std::void_t< decltype(Type::_entt_enum_as_bitmask)> > | Enable bitmask support for enum classes. | |
exclude_t | Alias for exclusion lists. | |
family | Dynamic identifier generator. | |
get_t | Alias for lists of observed components. | |
identifier | Types identifiers. | |
identity | Identity function object (waiting for C++20). | |
input_iterator_pointer | Helper type to use as pointer with input iterators. | |
insertion_sort | Function object for performing insertion sort. | |
is_applicable | Same as std::is_invocable, but with tuples. | |
is_applicable< Func, const Tuple< Args... > > | Same as std::is_invocable, but with tuples. | |
is_applicable< Func, Tuple< Args... > > | Same as std::is_invocable, but with tuples. | |
is_applicable_r | Same as std::is_invocable_r, but with tuples for arguments. | |
is_applicable_r< Ret, Func, std::tuple< Args... > > | Same as std::is_invocable_r, but with tuples for arguments. | |
is_complete | Provides the member constant value to true if a given type is complete, false otherwise. | |
is_complete< Type, std::void_t< decltype(sizeof(Type))> > | Provides the member constant value to true if a given type is complete, false otherwise. | |
is_ebco_eligible | Provides the member constant value to true if a given type is both an empty and non-final class, false otherwise. | |
is_equality_comparable | Provides the member constant value to true if a given type is equality comparable, false otherwise. | |
is_equality_comparable< Type, std::void_t< decltype(std::declval< Type >()==std::declval< Type >())> > | Provides the member constant value to true if a given type is equality comparable, false otherwise. | |
is_iterator | Provides the member constant value to true if a given type is an iterator, false otherwise. | |
is_iterator< Type, std::enable_if_t<!std::is_same_v< std::remove_const_t< std::remove_pointer_t< Type > >, void > > > | Provides the member constant value to true if a given type is an iterator, false otherwise. | |
is_meta_pointer_like | Provides the member constant value to true if a given type is a pointer-like type from the point of view of the meta system, false otherwise. | |
is_meta_pointer_like< const Type > | Partial specialization to ensure that const pointer-like types are also accepted. | |
is_meta_pointer_like< std::shared_ptr< Type > > | Makes std::shared_ptr s of any type pointer-like types for the meta system. | |
is_meta_pointer_like< std::unique_ptr< Type, Args... > > | Makes std::unique_ptr s of any type pointer-like types for the meta system. | |
is_meta_pointer_like< Type * > | Makes plain pointers pointer-like types for the meta system. | |
is_meta_pointer_like< Type(*)[N]> | Partial specialization used to reject pointers to arrays. | |
is_transparent | Provides the member constant value to true if Type::is_transparent is valid and denotes a type, false otherwise. | |
is_transparent< Type, std::void_t< typename Type::is_transparent > > | Provides the member constant value to true if Type::is_transparent is valid and denotes a type, false otherwise. | |
iterable_adaptor | Utility class to create an iterable object from a pair of iterators. | |
locator | Service locator, nothing more. | |
matcher | Grouping matcher. | |
member_class | Extracts the class of a non-static member object or function. | |
meta_any | Opaque wrapper for values of any type. | |
meta_associative_container | Proxy object for associative containers. | |
meta_associative_container_traits | Traits class template to be specialized to enable support for meta associative containers. | |
meta_associative_container_traits< dense_map< Key, Type, Args... > > | Meta associative container traits for dense_map s of any type. | |
meta_associative_container_traits< dense_set< Type, Args... > > | Meta associative container traits for dense_set s of any type. | |
meta_associative_container_traits< std::map< Key, Value, Args... > > | Meta associative container traits for std::map s of any type. | |
meta_associative_container_traits< std::set< Key, Args... > > | Meta associative container traits for std::set s of any type. | |
meta_associative_container_traits< std::unordered_map< Key, Value, Args... > > | Meta associative container traits for std::unordered_map s of any type. | |
meta_associative_container_traits< std::unordered_set< Key, Args... > > | Meta associative container traits for std::unordered_set s of any type. | |
meta_class_template_tag | Utility class to disambiguate class templates. | |
meta_ctx | Opaque container for a meta context. | |
meta_data | Opaque wrapper for data members. | |
meta_factory | Meta factory to be used for reflection purposes. | |
meta_factory< Type > | Basic meta factory to be used for reflection purposes. | |
meta_factory< Type, Spec... > | Extended meta factory to be used for reflection purposes. | |
meta_func | Opaque wrapper for member functions. | |
meta_function_descriptor | Primary template isn't defined on purpose. | |
meta_function_descriptor< Type, Ret Class::* > | Meta function descriptor. | |
meta_function_descriptor< Type, Ret(*)()> | Meta function descriptor. | |
meta_function_descriptor< Type, Ret(*)(MaybeType, Args...)> | Meta function descriptor. | |
meta_function_descriptor< Type, Ret(Class::*)(Args...) const > | Meta function descriptor. | |
meta_function_descriptor< Type, Ret(Class::*)(Args...)> | Meta function descriptor. | |
meta_function_helper | Meta function helper. | |
meta_handle | Opaque pointers to instances of any type. | |
meta_prop | Opaque wrapper for properties of any type. | |
meta_range | Iterable range to use to iterate all types of meta objects. | |
meta_sequence_container | Proxy object for sequence containers. | |
meta_sequence_container_traits | Traits class template to be specialized to enable support for meta sequence containers. | |
meta_sequence_container_traits< std::array< Type, N > > | Meta sequence container traits for std::array s of any type. | |
meta_sequence_container_traits< std::vector< Type, Args... > > | Meta sequence container traits for std::vector s of any type. | |
meta_template_traits | Traits class template to be specialized to enable support for meta template information. | |
meta_template_traits< Clazz< Args... > > | General purpose traits class for generating meta template information. | |
meta_type | Opaque wrapper for types. | |
monostate | Minimal implementation of the monostate pattern. | |
null_t | Null object for all identifiers. | |
overloaded | Helper type for visitors. | |
owned_t | Alias for lists of owned components. | |
poly_base | Poly base class used to inject functionalities into concepts. | |
poly_inspector | Inspector class used to infer the type of the virtual table. | |
poly_vtable | Static virtual table factory. | |
process | Base class for processes. | |
process_adaptor | Adaptor for lambdas and functors to turn them into processes. | |
radix_sort | Function object for performing LSD radix sort. | |
resource | Basic resource handle. | |
resource_cache | Basic cache for resources of any type. | |
resource_loader | Transparent loader for shared resources. | |
scheduler | Cooperative scheduler for processes. | |
scoped_connection | Scoped connection class. | |
sigh | Unmanaged signal handler. | |
sigh< Ret(Args...), Allocator > | Unmanaged signal handler. | |
sigh_storage_mixin | Mixin type used to add signal support to storage types. | |
sink | Sink class. | |
sink< sigh< Ret(Args...), Allocator > > | Sink class. | |
size_of | A type-only sizeof wrapper that returns 0 where sizeof complains. | |
size_of< Type, std::void_t< decltype(sizeof(Type))> > | A type-only sizeof wrapper that returns 0 where sizeof complains. | |
std_sort | Function object to wrap std::sort in a class type. | |
storage_traits | Provides a common way to access certain properties of storage types. | |
tombstone_t | Tombstone object for all identifiers. | |
type_hash | Type hash. | |
type_identity | Identity type trait. | |
type_index | Type sequential identifier. | |
type_info | Implementation specific information about a type. | |
type_list | A class to use to push around lists of types, nothing more. | |
type_list_cat | Primary template isn't defined on purpose. | |
type_list_cat< type_list< Type... > > | Concatenates multiple type lists. | |
type_list_cat< type_list< Type... >, type_list< Other... >, List... > | Concatenates multiple type lists. | |
type_list_cat<> | Concatenates multiple type lists. | |
type_list_contains | Provides the member constant value to true if a type list contains a given type, false otherwise. | |
type_list_contains< type_list< Type... >, Other > | Provides the member constant value to true if a type list contains a given type, false otherwise. | |
type_list_diff | Primary template isn't defined on purpose. | |
type_list_diff< type_list< Type... >, type_list< Other... > > | Computes the difference between two type lists. | |
type_list_element | Primary template isn't defined on purpose. | |
type_list_element< 0u, type_list< Type, Other... > > | Provides compile-time indexed access to the types of a type list. | |
type_list_element< Index, type_list< Type, Other... > > | Provides compile-time indexed access to the types of a type list. | |
type_list_unique | Primary template isn't defined on purpose. | |
type_list_unique< type_list< Type, Other... > > | Removes duplicates types from a type list. | |
type_list_unique< type_list<> > | Removes duplicates types from a type list. | |
type_name | Type name. | |
value_list | A class to use to push around lists of constant values, nothing more. | |
value_list_cat | Primary template isn't defined on purpose. | |
value_list_cat< value_list< Value... > > | Concatenates multiple value lists. | |
value_list_cat< value_list< Value... >, value_list< Other... >, List... > | Concatenates multiple value lists. | |
value_list_cat<> | Concatenates multiple value lists. | |
value_list_element | Primary template isn't defined on purpose. | |
value_list_element< 0u, value_list< Value, Other... > > | Provides compile-time indexed access to the types of a type list. | |
value_list_element< Index, value_list< Value, Other... > > | Provides compile-time indexed access to the values of a value list. | |
y_combinator | Basic implementation of a y-combinator. |
Functions
allocate_unique | Allows std::unique_ptr to use allocators (waiting for C++20). | |
any_cast overload | Performs type-safe access to the contained object. | |
dereference_meta_pointer_like | ADL based lookup function for dereferencing meta pointer-like types. | |
fast_mod | Fast module utility function (powers of two only). | |
forward_as_any | Forwards its argument and avoids copies for lvalue references. | |
forward_as_meta | Forwards its argument and avoids copies for lvalue references. | |
invoke | Helper to create a listener that directly invokes a member function. | |
is_power_of_two | Checks whether a value is a power of two or not. | |
make_any | Constructs a wrapper from a given type, passing it all arguments. | |
make_meta | Constructs a wrapper from a given type, passing it all arguments. | |
make_obj_using_allocator | Uses-allocator construction utility (waiting for C++20). | |
meta | Utility function to use for reflection. | |
meta_arg | Returns the meta type of the i-th element of a list of arguments. | |
meta_construct overload | Tries to construct an instance given a list of erased parameters. | |
meta_dispatch | Wraps a value depending on the given policy. | |
meta_getter | Gets the value of a given variable. | |
meta_invoke overload | Tries to invoke an object given a list of erased parameters. | |
meta_invoke overload | Tries to invoke a function given a list of erased parameters. | |
meta_reset overload | Resets a type and all its parts. | |
meta_setter | Sets the value of a given variable. | |
next_power_of_two | Computes the smallest power of two greater than or equal to a value. | |
operator!= overload | Checks if two wrappers differ in their content. | |
operator!= overload | Compares two hashed strings. | |
operator!= overload | Compares the contents of two type info objects. | |
operator!= overload | Compares a null object and an identifier of any type. | |
operator!= overload | Compares a tombstone object and an identifier of any type. | |
operator!= overload | Compares two handles. | |
operator!= overload | Checks if two objects refer to the same type. | |
operator!= overload | Compares the contents of two delegates. | |
operator""_hs | User defined literal for hashed strings. | |
operator""_hws | User defined literal for hashed wstrings. | |
operator+ overload | Concatenates multiple type lists. | |
operator+ overload | Concatenates multiple value lists. | |
operator< overload | Compares two hashed strings. | |
operator< overload | Compares two type info objects. | |
operator<= overload | Compares two hashed strings. | |
operator<= overload | Compares two type info objects. | |
operator== overload | Compares two hashed strings. | |
operator== overload | Compares the contents of two type info objects. | |
operator== overload | Compares a null object and an identifier of any type. | |
operator== overload | Compares a tombstone object and an identifier of any type. | |
operator== overload | Compares two handles. | |
operator> overload | Compares two hashed strings. | |
operator> overload | Compares two type info objects. | |
operator>= overload | Compares two hashed strings. | |
operator>= overload | Compares two type info objects. | |
overload overload | Constant utility to disambiguate overloaded members of a class. | |
overload overload | Constant utility to disambiguate overloaded functions. | |
poly_call | Shortcut for calling poly_base<Type>invoke . | |
propagate_on_container_copy_assignment | Utility function to design allocation-aware containers. | |
propagate_on_container_move_assignment | Utility function to design allocation-aware containers. | |
propagate_on_container_swap | Utility function to design allocation-aware containers. | |
resolve overload | Returns the meta type associated with a given type. | |
resolve overload | Returns the meta type associated with a given identifier, if any. | |
resolve overload | Returns the meta type associated with a given type info object. | |
swap | Swaps two compressed pair objects. | |
to_address | Unwraps fancy pointers, does nothing otherwise (waiting for C++20). | |
to_entity overload | Returns the entity part once converted to the underlying type. | |
to_entity overload | Returns the entity associated with a given component. | |
to_integral | Converts an entity to its underlying type. | |
to_version | Returns the version part once converted to the underlying type. | |
type_id overload | Returns the type info object associated to a given type. | |
uninitialized_construct_using_allocator | Uses-allocator construction utility (waiting for C++20). | |
unwrap_tuple | Utility function to unwrap tuples of a single element. | |
uses_allocator_construction_args | Uses-allocator construction utility (waiting for C++20). |
Enums
entity | Default entity identifier. | |
deletion_policy | Sparse set deletion policy. |
Typedefs
Typedefs (fwd.hpp)
using id_type = std::uint32_t | Alias declaration for type identifiers.
| |
Alias declaration for the most common use case.
|
Typedefs (hashed_string.hpp)
using hashed_string = basic_hashed_string< char > | Aliases for common character types.
| |
using hashed_wstring = basic_hashed_string< wchar_t > | Aliases for common character types.
|
Typedefs (type_traits.hpp)
template <typename Type> | Helper type.
| |
template <typename Type, typename> | Using declaration to be used to repeat the same type a number of times equal to the size of a given parameter pack.
| |
template <auto Value> | Wraps a static constant.
| |
template <id_type Value> | Alias template to facilitate the creation of named values.
| |
template <std::size_t Index, typename List> | Helper type.
| |
template <typename... List> | Helper type.
| |
template <typename Type> | Helper type.
| |
template <typename... List> | Helper type.
| |
template <typename... List> | Helper type.
| |
template <typename To, typename From> | Alias template to facilitate the transcription of the constness.
| |
template <typename Member> | Helper type.
|
Typedefs (fwd.hpp)
using sparse_set = basic_sparse_set< entity > | Alias declaration for the most common use case. | |
template <typename... Args> | Alias declaration for the most common use case.
| |
using registry = basic_registry< entity > | Alias declaration for the most common use case.
| |
using observer = basic_observer< entity > | Alias declaration for the most common use case.
| |
using organizer = basic_organizer< entity > | Alias declaration for the most common use case.
| |
using handle = basic_handle< entity > | Alias declaration for the most common use case.
| |
using const_handle = basic_handle< const entity > | Alias declaration for the most common use case.
| |
template <typename... Args> | Alias declaration for the most common use case.
| |
template <typename... Args> | Alias declaration for the most common use case.
| |
using snapshot = basic_snapshot< entity > | Alias declaration for the most common use case.
| |
using snapshot_loader = basic_snapshot_loader< entity > | Alias declaration for the most common use case.
| |
using continuous_loader = basic_continuous_loader< entity > | Alias declaration for the most common use case.
| |
template <typename Get, typename Exclude = exclude_t<>> | Alias declaration for the most common use case.
| |
using runtime_view = basic_runtime_view< sparse_set > | Alias declaration for the most common use case.
| |
template <typename... Args> | Alias declaration for the most common use case.
|
Typedefs (utility.hpp)
template <typename Type, typename Candidate> | Helper type.
|
Typedefs (fwd.hpp)
template <typename Concept> | Alias declaration for the most common use case.
|
Typedefs (fwd.hpp)
using dispatcher = basic_dispatcher<> | Alias declaration for the most common use case.
|
Variables
Variables (enum.hpp)
template <typename Type> | Helper variable template.
|
Variables (monostate.hpp)
template <id_type Value> | Helper variable template.
|
Variables (type_traits.hpp)
Variable template for the choice trick.
| ||
template <typename Type> | Helper variable template.
| |
template <auto Value, typename> | Helper variable template to be used to repeat the same value a number of times equal to the size of a given parameter pack.
| |
template <typename List, typename Type> | Helper variable template.
| |
template <std::size_t Index, typename List> | Helper type.
| |
template <typename Func, typename Args> | Helper variable template.
| |
template <typename Ret, typename Func, typename Args> | Helper variable template.
| |
template <typename Type> | Helper variable template.
| |
template <typename Type> | Helper variable template.
| |
template <typename Type> | Helper variable template.
| |
template <typename Type> | Helper variable template.
| |
template <typename Type> | Helper variable template.
|
Variables (component.hpp)
template <class Type> | Helper variable template.
|
Variables (entity.hpp)
Compile-time constant for null entities. There exist implicit conversions from this variable to identifiers of any allowed type. Similarly, there exist comparison operators between the null entity and any other identifier.
| ||
constexpr tombstone_t tombstone {} | Compile-time constant for tombstone entities. There exist implicit conversions from this variable to identifiers of any allowed type. Similarly, there exist comparison operators between the tombstone entity and any other identifier.
|
Variables (observer.hpp)
constexpr basic_collector collector {} | Variable template used to ease the definition of collectors. |
Variables (utility.hpp)
template <typename... Type> | Variable template for exclusion lists.
| |
template <typename... Type> | Variable template for lists of observed components.
| |
template <typename... Type> | Variable template for lists of owned components.
|
Variables (type_traits.hpp)
template <typename Type> | Helper variable template.
|
Variables (delegate.hpp)
template <auto Func> | Constant of type connect_arg_t used to disambiguate calls.
|
Source
Line 22 in src/entt/container/dense_map.hpp.