00001 //============================================================================= 00002 // 00003 // OpenMesh 00004 // Copyright (C) 2001-2005 by Computer Graphics Group, RWTH Aachen 00005 // www.openmesh.org 00006 // 00007 //----------------------------------------------------------------------------- 00008 // 00009 // License 00010 // 00011 // This library is free software; you can redistribute it and/or modify it 00012 // under the terms of the GNU Library General Public License as published 00013 // by the Free Software Foundation, version 2. 00014 // 00015 // This library is distributed in the hope that it will be useful, but 00016 // WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 // Library General Public License for more details. 00019 // 00020 // You should have received a copy of the GNU Library General Public 00021 // License along with this library; if not, write to the Free Software 00022 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00023 // 00024 //----------------------------------------------------------------------------- 00025 // 00026 // $Revision: 1.1.1.1 $ 00027 // $Date: 2004/09/06 12:35:34 $ 00028 // 00029 //============================================================================= 00030 00031 00032 //============================================================================= 00033 // 00034 // Implements the Non-Copyable metapher 00035 // 00036 //============================================================================= 00037 00038 #ifndef OPENMESH_NONCOPYABLE_HH 00039 #define OPENMESH_NONCOPYABLE_HH 00040 00041 00042 //----------------------------------------------------------------------------- 00043 00044 #include <OpenMesh/Core/System/config.hh> 00045 00046 //----------------------------------------------------------------------------- 00047 00048 namespace OpenMesh { 00049 namespace Utils { 00050 00051 //----------------------------------------------------------------------------- 00052 00058 class Noncopyable 00059 { 00060 public: 00061 Noncopyable() { } 00062 00063 private: 00065 Noncopyable( const Noncopyable& ); 00066 00068 const Noncopyable& operator=( const Noncopyable& ); 00069 }; 00070 00071 //============================================================================= 00072 } // namespace Utils 00073 } // namespace OpenMesh 00074 //============================================================================= 00075 #endif // OPENMESH_NONCOPYABLE_HH 00076 //=============================================================================