BWAPI
|
00001 // Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany). 00002 // All rights reserved. 00003 // 00004 // This file is part of CGAL (www.cgal.org); you may redistribute it under 00005 // the terms of the Q Public License version 1.0. 00006 // See the file LICENSE.QPL distributed with CGAL. 00007 // 00008 // Licensees holding a valid commercial license may use this file in 00009 // accordance with the commercial license agreement provided with the software. 00010 // 00011 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 // 00014 // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/Nef_S2/include/CGAL/Nef_S2/SM_decorator_traits.h $ 00015 // $Id: SM_decorator_traits.h 43825 2008-06-27 11:17:26Z hachenb $ 00016 // 00017 // 00018 // Author(s) : Peter Hachenberger <hachenberger@mpi-sb.mpg.de> 00019 00020 #ifndef CGAL_NEF_SM_DECORATOR_TRAITS_H 00021 #define CGAL_NEF_SM_DECORATOR_TRAITS_H 00022 00023 CGAL_BEGIN_NAMESPACE 00024 00025 template <class Refs_> 00026 class SM_decorator_traits { 00027 typedef Refs_ Refs; 00028 public: 00029 typedef typename Refs::SVertex_handle SVertex_handle; 00030 typedef typename Refs::SHalfedge_handle SHalfedge_handle; 00031 typedef typename Refs::SHalfloop_handle SHalfloop_handle; 00032 typedef typename Refs::SFace_handle SFace_handle; 00033 00034 typedef typename Refs::SVertex_iterator SVertex_iterator; 00035 typedef typename Refs::SHalfedge_iterator SHalfedge_iterator; 00036 typedef typename Refs::SHalfloop_iterator SHalfloop_iterator; 00037 typedef typename Refs::SFace_iterator SFace_iterator; 00038 00039 typedef typename Refs::SVertex_const_handle SVertex_const_handle; 00040 typedef typename Refs::SHalfedge_const_handle SHalfedge_const_handle; 00041 typedef typename Refs::SHalfloop_const_handle SHalfloop_const_handle; 00042 typedef typename Refs::SFace_const_handle SFace_const_handle; 00043 00044 typedef typename Refs::SVertex_const_iterator SVertex_const_iterator; 00045 typedef typename Refs::SHalfedge_const_iterator SHalfedge_const_iterator; 00046 typedef typename Refs::SHalfloop_const_iterator SHalfloop_const_iterator; 00047 typedef typename Refs::SFace_const_iterator SFace_const_iterator; 00048 00049 typedef typename Refs::SHalfedge_around_svertex_circulator 00050 SHalfedge_around_svertex_circulator; 00051 typedef typename Refs::SHalfedge_around_sface_circulator 00052 SHalfedge_around_sface_circulator; 00053 typedef typename Refs::SFace_cycle_iterator SFace_cycle_iterator; 00054 }; 00055 00056 template <class Refs_> 00057 class SM_decorator_const_traits { 00058 typedef Refs_ Refs; 00059 public: 00060 typedef typename Refs::SVertex_const_handle SVertex_handle; 00061 typedef typename Refs::SHalfedge_const_handle SHalfedge_handle; 00062 typedef typename Refs::SHalfloop_const_handle SHalfloop_handle; 00063 typedef typename Refs::SFace_const_handle SFace_handle; 00064 00065 typedef typename Refs::SVertex_const_iterator SVertex_iterator; 00066 typedef typename Refs::SHalfedge_const_iterator SHalfedge_iterator; 00067 typedef typename Refs::SHalfloop_const_iterator SHalfloop_iterator; 00068 typedef typename Refs::SFace_const_iterator SFace_iterator; 00069 00070 typedef typename Refs::SHalfedge_around_svertex_const_circulator 00071 SHalfedge_around_svertex_circulator; 00072 typedef typename Refs::SHalfedge_around_sface_const_circulator 00073 SHalfedge_around_sface_circulator; 00074 typedef typename Refs::SFace_cycle_const_iterator SFace_cycle_iterator; 00075 00076 typedef typename Refs::SVertex_const_handle SVertex_const_handle; 00077 typedef typename Refs::SHalfedge_const_handle SHalfedge_const_handle; 00078 typedef typename Refs::SHalfloop_const_handle SHalfloop_const_handle; 00079 typedef typename Refs::SFace_const_handle SFace_const_handle; 00080 00081 typedef typename Refs::SVertex_const_iterator SVertex_const_iterator; 00082 typedef typename Refs::SHalfedge_const_iterator SHalfedge_const_iterator; 00083 typedef typename Refs::SHalfloop_const_iterator SHalfloop_const_iterator; 00084 typedef typename Refs::SFace_const_iterator SFace_const_iterator; 00085 00086 typedef typename Refs::SHalfedge_around_svertex_const_circulator 00087 SHalfedge_around_svertex_const_circulator; 00088 typedef typename Refs::SHalfedge_around_sface_const_circulator 00089 SHalfedge_around_sface_const_circulator; 00090 typedef typename Refs::SFace_cycle_const_iterator SFace_cycle_const_iterator; 00091 }; 00092 00093 CGAL_END_NAMESPACE 00094 #endif // CGAL_NEF_SM_DECORATOR_TRAITS_H