Fixed typos (pointed out by Sebstien)

This commit is contained in:
Efi Fogel 2024-11-07 19:21:40 +02:00
parent 67ab177f09
commit bb16c9b1e8
4 changed files with 14 additions and 18 deletions

View File

@ -14,12 +14,12 @@ namespace CGAL {
/*! \ingroup PkgArrangementOnSurface2TraitsClasses
*
* A meradata traits-class decorator for the arrangement package. It counts the
* A metadata traits-class decorator for the arrangement package. It counts the
* number of invocations of traits-class functors. It is parameterized with
* another traits class and inherits from it. For each traits method it
* maintains a counter that counts the number of invocations into the method.
*
* It models all the concept that the original trais models.
* It models all the concepts that the original traits models.
*/
template <typename BaseTraits>
@ -70,8 +70,7 @@ public:
template <typename ... Args>
Arr_counting_traits_2(Args ... args) : Base(std::forward<Args>(args)...) {}
/*! Disable copy constructor.
*/
/*! Disable copy constructor. */
Arr_counting_traits_2(const Arr_counting_traits_2&) = delete;
/// @}
@ -79,7 +78,7 @@ public:
/*! Obtain the counter of the given operation */
std::size_t count(Operation_id id) const;
/*! Print the compare_x counter */
/*! Print the counter associated with an operation. */
template <typename OutStream>
OutStream& print(OutStream& os, Operation_id id) const;

View File

@ -13,12 +13,12 @@ namespace CGAL {
/*! \ingroup PkgArrangementOnSurface2TraitsClasses
*
* A meradata traits-class decorator for the arrangement package. It traces the
* A metadata traits-class decorator for the arrangement package. It traces the
* invocations of traits-class functors. It is parameterized with another traits
* class and inherits from it. For each traits method it prints out its input
* parameters and its output result
*
* It models all the concept that the original trais models.
* It models all the concepts that the original traits models.
*/
template <typename BaseTraits>
class Arr_tracing_traits_2 : public BaseTraits {
@ -61,8 +61,7 @@ public:
template<typename ... Args>
Arr_tracing_traits_2(Args ... args) : Base(std::forward<Args>(args)...) {}
/*! Disable copy constructor.
*/
/*! Disable copy constructor. */
Arr_tracing_traits_2(const Arr_tracing_traits_2&) = delete;
/// @}

View File

@ -33,12 +33,12 @@
namespace CGAL {
/*! \class
* A meradata traits-class decorator for the arrangement package. It counts the
* A metadata traits-class decorator for the arrangement package. It counts the
* number of invocations of traits-class functors. It is parameterized with
* another traits class and inherits from it. For each traits method it
* maintains a counter that counts the number of invocations into the method.
*
* It models all the concept that the original trais models.
* It models all the concepts that the original traits models.
*/
template <typename BaseTraits>
class Arr_counting_traits_2 : public BaseTraits {
@ -93,14 +93,13 @@ public:
increment();
}
/*! Disable copy constructor.
*/
/*! Disable copy constructor. */
Arr_counting_traits_2(const Arr_counting_traits_2&) = delete;
/*! Obtain the counter of the given operation */
std::size_t count(Operation_id id) const { return m_counters[id]; }
/*! Print the compare_x counter */
/*! Print the counter associated with an operation. */
template <typename OutStream>
OutStream& print(OutStream& os, Operation_id id) const {
if (! m_exist[id]) return os;

View File

@ -30,12 +30,12 @@
namespace CGAL {
/*! \class
* A meradata traits-class decorator for the arrangement package. It traces the
* A metadata traits-class decorator for the arrangement package. It traces the
* invocations of traits-class functors. It is parameterized with another traits
* class and inherits from it. For each traits method it prints out its input
* parameters and its output result
*
* It models all the concept that the original trais models.
* It models all the concepts that the original traits models.
*/
template <typename BaseTraits>
class Arr_tracing_traits_2 : public BaseTraits {
@ -170,8 +170,7 @@ public:
Arr_tracing_traits_2(Args ... args) : Base(std::forward<Args>(args)...)
{ enable_all_traces(); }
/*! Disable copy constructor.
*/
/*! Disable copy constructor. */
Arr_tracing_traits_2(const Arr_tracing_traits_2&) = delete;
/*! Enable the trace of a traits operation