Sfoglia il codice sorgente

entity: doc review

Michele Caini 2 anni fa
parent
commit
c33bee892d

+ 2 - 10
src/entt/entity/component.hpp

@@ -8,11 +8,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename Type, typename = void>
 template<typename Type, typename = void>
@@ -36,11 +32,7 @@ struct page_size<Type, std::void_t<decltype(Type::page_size)>>
     : std::integral_constant<std::size_t, Type::page_size> {};
     : std::integral_constant<std::size_t, Type::page_size> {};
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Common way to access various properties of components.
  * @brief Common way to access various properties of components.

+ 2 - 10
src/entt/entity/entity.hpp

@@ -9,11 +9,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 // waiting for C++20 and std::popcount
 // waiting for C++20 and std::popcount
@@ -60,11 +56,7 @@ struct entt_traits<std::uint64_t> {
 };
 };
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Common basic entity traits implementation.
  * @brief Common basic entity traits implementation.

+ 2 - 10
src/entt/entity/group.hpp

@@ -16,11 +16,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename, typename, typename>
 template<typename, typename, typename>
@@ -252,11 +248,7 @@ private:
 };
 };
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Group.
  * @brief Group.

+ 2 - 10
src/entt/entity/handle.hpp

@@ -12,11 +12,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename It>
 template<typename It>
@@ -87,11 +83,7 @@ template<typename ILhs, typename IRhs>
 }
 }
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Non-owning handle to an entity.
  * @brief Non-owning handle to an entity.

+ 2 - 10
src/entt/entity/organizer.hpp

@@ -15,11 +15,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename>
 template<typename>
@@ -87,11 +83,7 @@ template<typename... Req, typename Ret, typename Class, typename... Args>
 resource_traits<type_list<std::remove_reference_t<Args>...>, type_list<Req...>> constrained_function_to_resource_traits(Ret (Class::*)(Args...) const);
 resource_traits<type_list<std::remove_reference_t<Args>...>, type_list<Req...>> constrained_function_to_resource_traits(Ret (Class::*)(Args...) const);
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Utility class for creating a static task graph.
  * @brief Utility class for creating a static task graph.

+ 2 - 10
src/entt/entity/registry.hpp

@@ -30,11 +30,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename It>
 template<typename It>
@@ -226,11 +222,7 @@ private:
 };
 };
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Fast and reliable entity-component system.
  * @brief Fast and reliable entity-component system.

+ 2 - 10
src/entt/entity/runtime_view.hpp

@@ -11,11 +11,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename Set>
 template<typename Set>
@@ -95,11 +91,7 @@ private:
 };
 };
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Generic runtime view.
  * @brief Generic runtime view.

+ 2 - 10
src/entt/entity/snapshot.hpp

@@ -16,11 +16,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename Registry>
 template<typename Registry>
@@ -35,11 +31,7 @@ void orphans(Registry &registry) {
 }
 }
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Utility class to create snapshots from a registry.
  * @brief Utility class to create snapshots from a registry.

+ 2 - 10
src/entt/entity/sparse_set.hpp

@@ -17,11 +17,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename Container>
 template<typename Container>
@@ -137,11 +133,7 @@ template<typename Container>
 }
 }
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Basic sparse set implementation.
  * @brief Basic sparse set implementation.

+ 2 - 10
src/entt/entity/storage.hpp

@@ -19,11 +19,7 @@
 
 
 namespace entt {
 namespace entt {
 
 
-/**
- * @cond TURN_OFF_DOXYGEN
- * Internal details not to be documented.
- */
-
+/*! @cond TURN_OFF_DOXYGEN */
 namespace internal {
 namespace internal {
 
 
 template<typename Container, std::size_t Size>
 template<typename Container, std::size_t Size>
@@ -212,11 +208,7 @@ template<typename... Lhs, typename... Rhs>
 }
 }
 
 
 } // namespace internal
 } // namespace internal
-
-/**
- * Internal details not to be documented.
- * @endcond
- */
+/*! @endcond */
 
 
 /**
 /**
  * @brief Basic storage implementation.
  * @brief Basic storage implementation.