diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-05 03:10:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-05 03:10:25 +0300 |
commit | 2b66b372bc39e12f938488a008f38b1945d86aa9 (patch) | |
tree | d8f2409d99bd91d8998c129f76fd4dc82a2a91d5 /source/blender/nodes/NOD_socket_declarations.hh | |
parent | 2dace5f3ef54cc25ed31fe20fd33df727f10a9ac (diff) |
Cleanup: use doxygen sections
Diffstat (limited to 'source/blender/nodes/NOD_socket_declarations.hh')
-rw-r--r-- | source/blender/nodes/NOD_socket_declarations.hh | 58 |
1 files changed, 37 insertions, 21 deletions
diff --git a/source/blender/nodes/NOD_socket_declarations.hh b/source/blender/nodes/NOD_socket_declarations.hh index 6eac77b1d6b..00874cad766 100644 --- a/source/blender/nodes/NOD_socket_declarations.hh +++ b/source/blender/nodes/NOD_socket_declarations.hh @@ -201,9 +201,9 @@ class Geometry : public SocketDeclaration { bool matches(const bNodeSocket &socket) const override; }; -/* -------------------------------------------------------------------- - * #FloatBuilder inline methods. - */ +/* -------------------------------------------------------------------- */ +/** \name #FloatBuilder Inline Methods + * \{ */ inline FloatBuilder &FloatBuilder::min(const float value) { @@ -229,9 +229,11 @@ inline FloatBuilder &FloatBuilder::subtype(PropertySubType subtype) return *this; } -/* -------------------------------------------------------------------- - * #IntBuilder inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #IntBuilder Inline Methods + * \{ */ inline IntBuilder &IntBuilder::min(const int value) { @@ -257,9 +259,11 @@ inline IntBuilder &IntBuilder::subtype(PropertySubType subtype) return *this; } -/* -------------------------------------------------------------------- - * #VectorBuilder inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #VectorBuilder Inline Methods + * \{ */ inline VectorBuilder &VectorBuilder::default_value(const float3 value) { @@ -285,9 +289,11 @@ inline VectorBuilder &VectorBuilder::max(const float max) return *this; } -/* -------------------------------------------------------------------- - * #BoolBuilder inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #BoolBuilder Inline Methods + * \{ */ inline BoolBuilder &BoolBuilder::default_value(const bool value) { @@ -295,9 +301,11 @@ inline BoolBuilder &BoolBuilder::default_value(const bool value) return *this; } -/* -------------------------------------------------------------------- - * #ColorBuilder inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #ColorBuilder Inline Methods + * \{ */ inline ColorBuilder &ColorBuilder::default_value(const ColorGeometry4f value) { @@ -305,9 +313,11 @@ inline ColorBuilder &ColorBuilder::default_value(const ColorGeometry4f value) return *this; } -/* -------------------------------------------------------------------- - * #IDSocketDeclaration and children inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #IDSocketDeclaration and Children Inline Methods + * \{ */ inline IDSocketDeclaration::IDSocketDeclaration(const char *idname) : idname_(idname) { @@ -329,11 +339,15 @@ inline Texture::Texture() : IDSocketDeclaration("NodeSocketTexture") { } +/** \} */ + } // namespace blender::nodes::decl -/* -------------------------------------------------------------------- - * Extern template instantiations that are defined in `intern/extern_implementations.cc`. - */ +/* -------------------------------------------------------------------- */ +/** \name External Template Instantiations + * + * Defined in `intern/extern_implementations.cc`. + * \{ */ namespace blender::nodes { #define MAKE_EXTERN_SOCKET_DECLARATION(TYPE) \ @@ -351,3 +365,5 @@ MAKE_EXTERN_SOCKET_DECLARATION(decl::Geometry) #undef MAKE_EXTERN_SOCKET_DECLARATION } // namespace blender::nodes + +/** \} */ |