dust3d/thirdparty/cgal/CGAL-5.1/include/CGAL/Modifier_base.h

37 lines
1.0 KiB
C++

// Copyright (c) 1997
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Modifier/include/CGAL/Modifier_base.h $
// $Id: Modifier_base.h 0779373 2020-03-26T13:31:46+01:00 Sébastien Loriot
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
//
//
// Author(s) : Lutz Kettner <kettner@inf.ethz.ch>
#ifndef CGAL_MODIFIER_BASE_H
#define CGAL_MODIFIER_BASE_H 1
namespace CGAL {
template <class R>
class Modifier_base {
// Abstract Base Class for protected internal access.
// It defines the common interface for all modifiers.
public:
typedef R Representation;
virtual void operator()( R& rep) = 0;
// Postcondition: `rep' is a valid representation.
virtual ~Modifier_base() {}
};
} //namespace CGAL
#endif // CGAL_MODIFIER_BASE_H //
// EOF //