From 3f6dd5dbabb04944207d0d5e921e3e045276c2c4 Mon Sep 17 00:00:00 2001 From: JasonChmn <jason.chemin@hotmail.fr> Date: Fri, 12 Apr 2019 15:50:51 +0200 Subject: [PATCH] Add comments for end of namespace --- include/hpp/curve/bezier_curve.h | 2 +- include/hpp/curve/bezier_polynom_conversion.h | 2 +- include/hpp/curve/cubic_spline.h | 2 +- include/hpp/curve/curve_abc.h | 2 +- include/hpp/curve/curve_constraint.h | 2 +- include/hpp/curve/exact_cubic.h | 2 +- include/hpp/curve/polynom.h | 2 +- include/hpp/curve/quintic_spline.h | 2 +- include/hpp/curve/spline_deriv_constraint.h | 2 +- python/spline_python.cpp | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/hpp/curve/bezier_curve.h b/include/hpp/curve/bezier_curve.h index b50e682..8586230 100644 --- a/include/hpp/curve/bezier_curve.h +++ b/include/hpp/curve/bezier_curve.h @@ -364,6 +364,6 @@ struct bezier_curve : public curve_abc<Time, Numeric, Dim, Safe, Point> return bezier_curve_t(ts.begin(), ts.end(),T); } }; -} +} // namespace curve #endif //_CLASS_BEZIERCURVE diff --git a/include/hpp/curve/bezier_polynom_conversion.h b/include/hpp/curve/bezier_polynom_conversion.h index 4769108..0a49108 100644 --- a/include/hpp/curve/bezier_polynom_conversion.h +++ b/include/hpp/curve/bezier_polynom_conversion.h @@ -67,6 +67,6 @@ Bezier from_polynom(const Polynom& polynom) typedef Bezier::cit_point_t cit_point_t; typedef Bezier::bezier_curve_t bezier_curve_t; }*/ -} +} // namespace curve #endif //_BEZIER_POLY_CONVERSION diff --git a/include/hpp/curve/cubic_spline.h b/include/hpp/curve/cubic_spline.h index ba4ce11..9715f16 100644 --- a/include/hpp/curve/cubic_spline.h +++ b/include/hpp/curve/cubic_spline.h @@ -41,6 +41,6 @@ polynom<Time,Numeric,Dim,Safe,Point,T_Point> create_cubic(Point const& a, Point T_Point coeffs = make_cubic_vector<Point, T_Point>(a,b,c,d); return polynom<Time,Numeric,Dim,Safe,Point,T_Point>(coeffs.begin(),coeffs.end(), min, max); } -} +} // namespace curve #endif //_STRUCT_CUBICSPLINE diff --git a/include/hpp/curve/curve_abc.h b/include/hpp/curve/curve_abc.h index 16575a9..72aac2d 100644 --- a/include/hpp/curve/curve_abc.h +++ b/include/hpp/curve/curve_abc.h @@ -63,6 +63,6 @@ struct curve_abc : std::unary_function<Time, Point> /*Helpers*/ }; -} +} // namespace curve #endif //_STRUCT_CURVE_ABC diff --git a/include/hpp/curve/curve_constraint.h b/include/hpp/curve/curve_constraint.h index 6207aca..5b4e8ef 100644 --- a/include/hpp/curve/curve_constraint.h +++ b/include/hpp/curve/curve_constraint.h @@ -32,5 +32,5 @@ struct curve_constraints point_t end_vel; point_t end_acc; }; -} +} // namespace curve #endif //_CLASS_CUBICZEROVELACC diff --git a/include/hpp/curve/exact_cubic.h b/include/hpp/curve/exact_cubic.h index 6e30d29..d71cfa0 100644 --- a/include/hpp/curve/exact_cubic.h +++ b/include/hpp/curve/exact_cubic.h @@ -198,6 +198,6 @@ struct exact_cubic : public curve_abc<Time, Numeric, Dim, Safe, Point> t_spline_t subSplines_; // const /*Attributes*/ }; -} +} // namespace curve #endif //_CLASS_EXACTCUBIC diff --git a/include/hpp/curve/polynom.h b/include/hpp/curve/polynom.h index 635b490..2aca2fe 100644 --- a/include/hpp/curve/polynom.h +++ b/include/hpp/curve/polynom.h @@ -199,6 +199,6 @@ struct polynom : public curve_abc<Time, Numeric, Dim, Safe, Point> return res; } }; //class polynom -} +} // namespace curve #endif //_STRUCT_POLYNOM diff --git a/include/hpp/curve/quintic_spline.h b/include/hpp/curve/quintic_spline.h index a6604fc..31f6bf9 100644 --- a/include/hpp/curve/quintic_spline.h +++ b/include/hpp/curve/quintic_spline.h @@ -43,6 +43,6 @@ polynom<Time,Numeric,Dim,Safe,Point,T_Point> create_quintic(Point const& a, Poin T_Point coeffs = make_quintic_vector<Point, T_Point>(a,b,c,d,e,f); return polynom<Time,Numeric,Dim,Safe,Point,T_Point>(coeffs.begin(),coeffs.end(), min, max); } -} +} // namespace curve #endif //_STRUCT_QUINTIC_SPLINE diff --git a/include/hpp/curve/spline_deriv_constraint.h b/include/hpp/curve/spline_deriv_constraint.h index f80de28..9c2ed3e 100644 --- a/include/hpp/curve/spline_deriv_constraint.h +++ b/include/hpp/curve/spline_deriv_constraint.h @@ -137,6 +137,6 @@ struct spline_deriv_constraint : public exact_cubic<Time, Numeric, Dim, Safe, Po private: /* Constructors - destructors */ }; -} +} // namespace curve #endif //_CLASS_CUBICZEROVELACC diff --git a/python/spline_python.cpp b/python/spline_python.cpp index e2c269c..03061a8 100644 --- a/python/spline_python.cpp +++ b/python/spline_python.cpp @@ -320,4 +320,4 @@ BOOST_PYTHON_MODULE(curves) } -} // namespace spline +} // namespace curve -- GitLab