diff --git a/Doxyfile b/Doxyfile index fdfd9b5e7..8c6c050e4 100644 --- a/Doxyfile +++ b/Doxyfile @@ -195,7 +195,7 @@ TAB_SIZE = 8 # You can put \n's in the value part of an alias to insert newlines. ALIASES = \ - "debugoperator{1}=@relates \1\n@brief Debug output operator" \ + "debugoperator{1}=@relates \1\n@brief Debug output operator @xrefitem debugoperators \"Debug output operator\" \"Debug output operators for custom types\" Allows printing \1 with Corrade::Utility::Debug and friends." \ "collisionoperator{2}=@relates \1\n@brief Collision of %\1 and %\2\n@see \2::operator%(const \1&) const" \ "todoc=@xrefitem todoc \"Documentation todo\" \"Documentation-related todo list\"" \ "requires_gl=@xrefitem requires-gl \"Requires desktop OpenGL\" \"Functionality requiring desktop OpenGL (not available on OpenGL ES)\" Not available on OpenGL ES." \ diff --git a/src/Color.h b/src/Color.h index abfafa345..626e3adb8 100644 --- a/src/Color.h +++ b/src/Color.h @@ -396,12 +396,12 @@ template class Color4: public Math::Vector4 { } }; -/** @debugoperator{Color3} */ +/** @debugoperator{Magnum::Color3} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Color3& value) { return debug << static_cast&>(value); } -/** @debugoperator{Color4} */ +/** @debugoperator{Magnum::Color4} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Color4& value) { return debug << static_cast&>(value); } diff --git a/src/Math/Matrix.h b/src/Math/Matrix.h index 4e08c1903..4cb2a60c7 100644 --- a/src/Math/Matrix.h +++ b/src/Math/Matrix.h @@ -265,7 +265,7 @@ template class Matrix { T _data[size*size]; }; -/** @debugoperator{Matrix} */ +/** @debugoperator{Magnum::Math::Matrix} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Math::Matrix& value) { debug << "Matrix("; debug.setFlag(Corrade::Utility::Debug::SpaceAfterEachValue, false); diff --git a/src/Math/Matrix3.h b/src/Math/Matrix3.h index 7ee74c4a7..35b121f6d 100644 --- a/src/Math/Matrix3.h +++ b/src/Math/Matrix3.h @@ -97,7 +97,7 @@ template class Matrix3: public Matrix<3, T> { MAGNUM_MATRIX_SUBCLASS_IMPLEMENTATION(Matrix3, Vector3, 3) }; -/** @debugoperator{Matrix3} */ +/** @debugoperator{Magnum::Math::Matrix3} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Math::Matrix3& value) { return debug << static_cast&>(value); } diff --git a/src/Math/Matrix4.h b/src/Math/Matrix4.h index 602dfd98a..a7e8912a7 100644 --- a/src/Math/Matrix4.h +++ b/src/Math/Matrix4.h @@ -146,7 +146,7 @@ template class Matrix4: public Matrix<4, T> { MAGNUM_MATRIX_SUBCLASS_IMPLEMENTATION(Matrix4, Vector4, 4) }; -/** @debugoperator{Matrix4} */ +/** @debugoperator{Magnum::Math::Matrix4} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Math::Matrix4& value) { return debug << static_cast&>(value); } diff --git a/src/Math/Vector.h b/src/Math/Vector.h index a2714007c..eede07b42 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -439,7 +439,7 @@ template Vector operator/(U number, cons return out; } -/** @debugoperator{Vector} */ +/** @debugoperator{Magnum::Math::Vector} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Math::Vector& value) { debug << "Vector("; debug.setFlag(Corrade::Utility::Debug::SpaceAfterEachValue, false); diff --git a/src/Math/Vector2.h b/src/Math/Vector2.h index 8c81dce48..3dde7c5a1 100644 --- a/src/Math/Vector2.h +++ b/src/Math/Vector2.h @@ -88,7 +88,7 @@ template class Vector2: public Vector<2, T> { MAGNUM_VECTOR_SUBCLASS_OPERATOR_IMPLEMENTATION(Vector2, 2) -/** @debugoperator{Vector2} */ +/** @debugoperator{Magnum::Math::Vector2} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Math::Vector2& value) { return debug << static_cast&>(value); } diff --git a/src/Math/Vector3.h b/src/Math/Vector3.h index 2510c1f2e..9beae4e77 100644 --- a/src/Math/Vector3.h +++ b/src/Math/Vector3.h @@ -140,7 +140,7 @@ template class Vector3: public Vector<3, T> { MAGNUM_VECTOR_SUBCLASS_OPERATOR_IMPLEMENTATION(Vector3, 3) -/** @debugoperator{Vector3} */ +/** @debugoperator{Magnum::Math::Vector3} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Math::Vector3& value) { return debug << static_cast&>(value); } diff --git a/src/Math/Vector4.h b/src/Math/Vector4.h index 88fb0f5d8..a33752b8d 100644 --- a/src/Math/Vector4.h +++ b/src/Math/Vector4.h @@ -88,7 +88,7 @@ template class Vector4: public Vector<4, T> { MAGNUM_VECTOR_SUBCLASS_OPERATOR_IMPLEMENTATION(Vector4, 4) -/** @debugoperator{Vector4} */ +/** @debugoperator{Magnum::Math::Vector4} */ template Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Magnum::Math::Vector4& value) { return debug << static_cast&>(value); }