Namespace entt

Description

No description yet.

Classes

as_groupConverts a registry to a group.
as_is_tEmpty class type used to request the as-is policy.
as_ref_tEmpty class type used to request the as ref policy.
as_viewConverts a registry to a view.
as_void_tEmpty class type used to request the as void policy.
basic_actorDedicated to those who aren't confident with the entity-component-system architecture.
basic_collectorCollector.
basic_collector< matcher< type_list< Reject... >, type_list< Require... >, Rule... >, Other... >Collector.
basic_collector<>Collector.
basic_continuous_loaderUtility class for continuous loading.
basic_groupGroup.
basic_group< Entity, exclude_t< Exclude... >, get_t< Get... > >Non-owning group.
basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned... >Owning group.
basic_hashed_stringZero overhead unique identifier.
basic_observerObserver.
basic_registryFast and reliable entity-component system.
basic_runtime_viewRuntime view.
basic_snapshotUtility class to create snapshots from a registry.
basic_snapshot_loaderUtility class to restore a snapshot as a whole.
basic_viewView.
basic_view< Entity, exclude_t< Exclude... >, Component... >Multi component view.
basic_view< Entity, exclude_t<>, Component >Single component view specialization.
cacheSimple cache for resources of a given type.
choice_tUtility class to disambiguate overloaded functions.
choice_t< 0 >Utility class to disambiguate overloaded functions.
connect_arg_tUsed to wrap a function or a member of a specified type.
connectionConnection class.
delegateBasic delegate implementation.
delegate< Ret(Args...)>Utility class to use to send around functions and members.
dispatcherBasic dispatcher implementation.
emitterGeneral purpose event emitter.
entt_traitsEntity traits.
entt_traits< std::uint16_t >Entity traits for a 16 bits entity identifier.
entt_traits< std::uint32_t >Entity traits for a 32 bits entity identifier.
entt_traits< std::uint64_t >Entity traits for a 64 bits entity identifier.
exclude_tAlias for exclusion lists.
familyDynamic identifier generator.
get_tAlias for lists of observed components.
handleShared resource handle.
has_type_indexProvides the member constant value to true if a given type is indexable, false otherwise.
has_type_index< Type, std::void_t< decltype(type_index< Type >::value())> >has_type_index
identifierTypes identifiers.
identityIdentity function object (waiting for C++20).
insertion_sortFunction object for performing insertion sort.
is_equality_comparableProvides 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.
loaderBase class for resource loaders.
matcherGrouping matcher.
member_classExtracts the class of a non-static member object or function.
meta_anyOpaque container for values of any type.
meta_baseOpaque container for meta base classes.
meta_convOpaque container for meta conversion functions.
meta_ctorOpaque container for meta constructors.
meta_ctxOpaque container for a meta context.
meta_dataOpaque container for meta data.
meta_factoryMeta 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_funcOpaque container for meta functions.
meta_handleOpaque pointers to instances of any type.
meta_propOpaque container for meta properties of any type.
meta_typeOpaque container for meta types.
monostateMinimal implementation of the monostate pattern.
overloadedHelper type for visitors.
processBase class for processes.
process_adaptorAdaptor for lambdas and functors to turn them into processes.
radix_sortFunction object for performing LSD radix sort.
schedulerCooperative scheduler for processes.
scoped_connectionScoped connection class.
service_locatorService locator, nothing more.
sighUnmanaged signal handler.
sigh< Ret(Args...)>Unmanaged signal handler.
sinkSink class.
sink< Ret(Args...)>Sink class.
sparse_setBasic sparse set implementation.
std_sortFunction object to wrap std::sort in a class type.
storageBasic storage implementation.
storage< Entity, Type, std::enable_if_t< std::is_empty_v< Type > > >Basic storage implementation.
type_indexType index.
type_infoType info.
type_listA class to use to push around lists of types, nothing more.
type_list_catPrimary 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_sizePrimary template isn't defined on purpose.
type_list_size< type_list< Type... > >Compile-time number of elements in a type list.
type_list_uniquePrimary 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.
y_combinatorBasic implementation of a y-combinator.

Functions

invokeHelper to create a listener that directly invokes a member function.
metaUtility function to use for reflection.
operator!= OverloadCompares two hashed strings.
operator!= OverloadChecks if two containers differ in their content.
operator!= OverloadChecks if two meta objects refer to the same type.
operator!= OverloadCompares the contents of two delegates.
overload OverloadConstant utility to disambiguate overloaded members of a class.
overload OverloadConstant utility to disambiguate overloaded functions.
resolve OverloadReturns the meta type associated with a given type.
resolve OverloadReturns the meta type associated with a given identifier, if any.
resolve OverloadIterates all the reflected types.
resolve_idReturns the meta type associated with a given identifier, if any.
resolve_ifReturns the first meta type that satisfies specific criteria, if any.
resolve_typeReturns the meta type associated with a given type id, if any.
to_integral

Enums

entityDefault entity identifier.

Typedefs

Typedefs (fwd.hpp)

using id_type = std::uint32_t

Alias declaration for type identifiers.

Mentioned in:

Configuration / ENTT_ID_TYPE

Core Functionalities / Type info

Core Functionalities / Tag

Entity Component System / Cloning a registry

Entity Component System / Stamping an entity

Entity Component System / Runtime views

Resource Management / The resource, the loader and the cache

Typedefs (hashed_string.hpp)

using hashed_string = basic_hashed_string< char >

Aliases for common character types.

Mentioned in:

Configuration / ENTT_HS_SUFFIX and ENTT_HWS_SUFFIX

Core Functionalities / Hashed strings

Core Functionalities / Wide characters

Core Functionalities / Monostate

Resource Management / The resource, the loader and the cache

Runtime Reflection System / Names and identifiers

Runtime Reflection System / Properties and meta objects

Frequently Asked Questions / Warning C4307: integral constant overflow

using hashed_wstring = basic_hashed_string< wchar_t >

Aliases for common character types.

Mentioned in:

Core Functionalities / Wide characters

Typedefs (type_traits.hpp)

template <auto Value>
using integral_constant = std::integral_constant< decltype(Value), Value >

Wraps a static constant.

Template Parameters

Value - A static constant.

Mentioned in:

Core Functionalities / Integral constant

template <id_type Value>
using tag = integral_constant< Value >

Alias template to ease the creation of named values.

Template Parameters

Value - A constant value at least convertible to id_type.

Mentioned in:

Core Functionalities / Tag

template <typename... List>
using type_list_cat_t = typename type_list_cat< List... >::type

Helper type.

Template Parameters

List - Type lists to concatenate.

template <typename Type>
using type_list_unique_t = typename type_list_unique< Type >::type

Helper type.

Template Parameters

Type - A type list.

template <typename Member>
using member_class_t = typename member_class< Member >::type

Helper type.

Template Parameters

Member - A pointer to a non-static member object or function.

Mentioned in:

Core Functionalities / Member class type

Typedefs (fwd.hpp)

using registry = id_type basic_registry< entity >

Alias declaration for the most common use case.

Mentioned in:

Getting Started / Code Example

Entity Component System / A bitset-free entity-component system

Entity Component System / The Registry, the Entity and the Component

Entity Component System / Observe changes

Entity Component System / Organizer

Entity Component System / Cloning a registry

Entity Component System / Stamping an entity

using observer = basic_observer< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / They call me Reactive System

using actor = basic_actor< entity >

Alias declaration for the most common use case.

using snapshot = basic_snapshot< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Snapshot: complete vs continuous

using snapshot_loader = basic_snapshot_loader< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Snapshot loader

using continuous_loader = basic_continuous_loader< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Continuous loader

template <typename... Types>
using view = basic_view< entity, Types... >

Alias declaration for the most common use case.

Template Parameters

Types - Types of components iterated by the view.

Mentioned in:

Entity Component System / Organizer

Entity Component System / Types: const, non-const and all in between

using runtime_view = basic_runtime_view< entity >

Alias declaration for the most common use case.

template <typename... Types>
using group = basic_group< entity, Types... >

Alias declaration for the most common use case.

Template Parameters

Types - Types of components iterated by the group.

Typedefs (policy.hpp)

using as_alias_t = as_ref_t

Empty class type used to request the as ref policy.

Variables

Variables (monostate.hpp)

template <id_type Value>
monostate< Value > monostate_v = {}

Helper variable template.

Template Parameters

Value - Value used to differentiate between different variables.

Variables (type_info.hpp)

template <typename Type>
constexpr bool has_type_index_v = has_type_index<Type>::value

Helper variable template.

Template Parameters

Type - Potentially indexable type.

Variables (type_traits.hpp)

template <std::size_t N>
constexpr choice_t< N > choice {}

Variable template for the choice trick.

Template Parameters

N - Number of choices available.

template <class List>
constexpr auto type_list_size_v = type_list_size<List>::value

Helper variable template.

Template Parameters

List - Type list.

template <class Type>
constexpr auto is_equality_comparable_v = is_equality_comparable<Type>::value

Helper variable template.

Template Parameters

Type - Potentially equality comparable type.

Variables (entity.hpp)

constexpr auto null = internal::null{}

Compile-time constant for null entities.

There exist implicit conversions from this variable to entity identifiers of any allowed type. Similarly, there exist comparision operators between the null entity and any other entity identifier.

Mentioned in:

Entity Component System / Null entity

Frequently Asked Questions / How can I represent hierarchies with my components?

Variables (observer.hpp)

constexpr basic_collector collector {}

Variable template used to ease the definition of collectors.

Variables (utility.hpp)

template <typename... Type>
constexpr exclude_t< Type... > exclude {}

Variable template for exclusion lists.

Template Parameters

Type - List of types.

Mentioned in:

Entity Component System / They call me Reactive System

Entity Component System / Views

Entity Component System / Full-owning groups

Entity Component System / Partial-owning groups

Entity Component System / Non-owning groups

Entity Component System / Nested groups

template <typename... Type>
constexpr get_t< Type... > get {}

Variable template for lists of observed components.

Template Parameters

Type - List of types.

Mentioned in:

Entity Component System / Groups

Entity Component System / Partial-owning groups

Entity Component System / Non-owning groups

Entity Component System / Nested groups

Variables (policy.hpp)

constexpr as_ref_t as_ref

Disambiguation tag.

constexpr as_ref_t as_alias

Disambiguation tag.

Variables (delegate.hpp)

template <auto Func>
constexpr connect_arg_t< Func > connect_arg {}

Constant of type connect_arg_t used to disambiguate calls.

Mentioned in:

Events, Signals And Everything In Between / Delegate

Source

Line 13 in src/entt/core/algorithm.hpp.






Add Discussion

Log in to comment