Skip to content

Commit

Permalink
doc: fixed some problems with doxygen (see skypjack#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Jun 22, 2020
1 parent ade8533 commit 5c3b956
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/entt/core/hashed_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct fnv1a_traits<std::uint64_t> {

/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
* @endcond
*/


Expand Down
2 changes: 1 addition & 1 deletion src/entt/core/type_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ template<typename Type>

/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
* @endcond
*/


Expand Down
22 changes: 11 additions & 11 deletions src/entt/core/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct choice_t
// Unfortunately, doxygen cannot parse such a construct.
/*! @cond TURN_OFF_DOXYGEN */
: choice_t<N-1>
/*! @endcond TURN_OFF_DOXYGEN */
/*! @endcond */
{};


Expand Down Expand Up @@ -241,18 +241,18 @@ using member_class_t = typename member_class<Member>::type;


#define ENTT_OPAQUE_TYPE(clazz, type)\
/**\
* @brief Defines an enum class to use for opaque identifiers and a\
* dedicate `to_integer` function to convert the identifiers to their\
* underlying type.\
* @param clazz The name to use for the enum class.\
* @param type The underlying type for the enum class.\
/*!\
@brief Defines an enum class to use for opaque identifiers and a\
dedicate `to_integral` function to convert the identifiers to their\
underlying type.\
@param clazz The name to use for the enum class.\
@param type The underlying type for the enum class.\
*/\
enum class clazz: type {};\
/**\
* @brief Converts an opaque type value to its underlying type.\
* @param id The value to convert.\
* @return The integral representation of the given value.
/*!\
@brief Converts an opaque type value to its underlying type.\
@param id The value to convert.\
@return The integral representation of the given value.
*/\
[[nodiscard]] constexpr auto to_integral(const clazz id) ENTT_NOEXCEPT {\
return static_cast<std::underlying_type_t<clazz>>(id);\
Expand Down
2 changes: 1 addition & 1 deletion src/entt/entity/entity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ template<typename Entity>

/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
* @endcond
*/


Expand Down
2 changes: 1 addition & 1 deletion src/entt/meta/ctx.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct ENTT_API meta_context {

/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
* @endcond
*/


Expand Down
2 changes: 1 addition & 1 deletion src/entt/meta/factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ template<typename Type, auto Candidate, typename Policy, std::size_t... Indexes>

/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
* @endcond
*/


Expand Down
2 changes: 1 addition & 1 deletion src/entt/meta/internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ struct meta_info: meta_node<std::remove_cv_t<std::remove_reference_t<Type>>...>

/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
* @endcond
*/


Expand Down
2 changes: 1 addition & 1 deletion src/entt/signal/delegate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ template<typename... Class, typename Ret, typename... Args>

/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
* @endcond
*/


Expand Down

0 comments on commit 5c3b956

Please sign in to comment.