|
@@ -8,73 +8,82 @@
|
|
|
namespace entt {
|
|
namespace entt {
|
|
|
|
|
|
|
|
|
|
|
|
|
-/*! @class basic_registry */
|
|
|
|
|
template <typename>
|
|
template <typename>
|
|
|
class basic_registry;
|
|
class basic_registry;
|
|
|
|
|
|
|
|
-/*! @class basic_view */
|
|
|
|
|
|
|
+
|
|
|
template<typename...>
|
|
template<typename...>
|
|
|
class basic_view;
|
|
class basic_view;
|
|
|
|
|
|
|
|
-/*! @class basic_runtime_view */
|
|
|
|
|
|
|
+
|
|
|
template<typename>
|
|
template<typename>
|
|
|
class basic_runtime_view;
|
|
class basic_runtime_view;
|
|
|
|
|
|
|
|
-/*! @class basic_group */
|
|
|
|
|
|
|
+
|
|
|
template<typename...>
|
|
template<typename...>
|
|
|
class basic_group;
|
|
class basic_group;
|
|
|
|
|
|
|
|
-/*! @class basic_observer */
|
|
|
|
|
|
|
+
|
|
|
template<typename>
|
|
template<typename>
|
|
|
class basic_observer;
|
|
class basic_observer;
|
|
|
|
|
|
|
|
-/*! @struct basic_actor */
|
|
|
|
|
|
|
+
|
|
|
template <typename>
|
|
template <typename>
|
|
|
struct basic_actor;
|
|
struct basic_actor;
|
|
|
|
|
|
|
|
-/*! @class basic_handle */
|
|
|
|
|
|
|
+
|
|
|
template<typename>
|
|
template<typename>
|
|
|
struct basic_handle;
|
|
struct basic_handle;
|
|
|
|
|
|
|
|
-/*! @class basic_snapshot */
|
|
|
|
|
|
|
+
|
|
|
template<typename>
|
|
template<typename>
|
|
|
class basic_snapshot;
|
|
class basic_snapshot;
|
|
|
|
|
|
|
|
-/*! @class basic_snapshot_loader */
|
|
|
|
|
|
|
+
|
|
|
template<typename>
|
|
template<typename>
|
|
|
class basic_snapshot_loader;
|
|
class basic_snapshot_loader;
|
|
|
|
|
|
|
|
-/*! @class basic_continuous_loader */
|
|
|
|
|
|
|
+
|
|
|
template<typename>
|
|
template<typename>
|
|
|
class basic_continuous_loader;
|
|
class basic_continuous_loader;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Default entity identifier. */
|
|
/*! @brief Default entity identifier. */
|
|
|
enum class entity: id_type {};
|
|
enum class entity: id_type {};
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using registry = basic_registry<entity>;
|
|
using registry = basic_registry<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using observer = basic_observer<entity>;
|
|
using observer = basic_observer<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using actor [[deprecated("Consider using the handle class instead")]] = basic_actor<entity>;
|
|
using actor [[deprecated("Consider using the handle class instead")]] = basic_actor<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using handle = basic_handle<entity>;
|
|
using handle = basic_handle<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using const_handle = basic_handle<const entity>;
|
|
using const_handle = basic_handle<const entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using snapshot = basic_snapshot<entity>;
|
|
using snapshot = basic_snapshot<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using snapshot_loader = basic_snapshot_loader<entity>;
|
|
using snapshot_loader = basic_snapshot_loader<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using continuous_loader = basic_continuous_loader<entity>;
|
|
using continuous_loader = basic_continuous_loader<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* @brief Alias declaration for the most common use case.
|
|
* @brief Alias declaration for the most common use case.
|
|
|
* @tparam Types Types of components iterated by the view.
|
|
* @tparam Types Types of components iterated by the view.
|
|
@@ -82,9 +91,11 @@ using continuous_loader = basic_continuous_loader<entity>;
|
|
|
template<typename... Types>
|
|
template<typename... Types>
|
|
|
using view = basic_view<entity, Types...>;
|
|
using view = basic_view<entity, Types...>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
/*! @brief Alias declaration for the most common use case. */
|
|
|
using runtime_view = basic_runtime_view<entity>;
|
|
using runtime_view = basic_runtime_view<entity>;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* @brief Alias declaration for the most common use case.
|
|
* @brief Alias declaration for the most common use case.
|
|
|
* @tparam Types Types of components iterated by the group.
|
|
* @tparam Types Types of components iterated by the group.
|