BWAPI
|
00001 // Copyright (c) 2006-2007 Max-Planck-Institute Saarbruecken (Germany). 00002 // All rights reserved. 00003 // 00004 // This file is part of CGAL (www.cgal.org); you can redistribute it and/or 00005 // modify it under the terms of the GNU Lesser General Public License as 00006 // published by the Free Software Foundation; version 2.1 of the License. 00007 // See the file LICENSE.LGPL distributed with CGAL. 00008 // 00009 // Licensees holding a valid commercial license may use this file in 00010 // accordance with the commercial license agreement provided with the software. 00011 // 00012 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00013 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00014 // 00015 // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/Algebraic_foundations/include/CGAL/Fraction_traits.h $ 00016 // $Id: Fraction_traits.h 39778 2007-08-08 15:59:25Z spion $ 00017 // 00018 // 00019 // Author(s) : Michael Hemmer <hemmer@mpi-inf.mpg.de> 00020 // 00021 // ============================================================================= 00022 00023 00024 // TODO: The comments are all original EXACUS comments and aren't adapted. So 00025 // they may be wrong now. 00026 00035 #ifndef CGAL_FRACTION_TRAITS_H 00036 #define CGAL_FRACTION_TRAITS_H 00037 00038 #include <CGAL/number_type_basic.h> 00039 00040 CGAL_BEGIN_NAMESPACE 00041 00053 template <class Type_ > 00054 class Fraction_traits { 00055 public: 00056 typedef Type_ Type; 00057 typedef Tag_false Is_fraction; 00058 typedef Null_tag Numerator_type; 00059 typedef Null_tag Denominator_type; 00060 typedef Null_functor Common_factor; 00061 typedef Null_functor Decompose; 00062 typedef Null_functor Compose; 00063 }; 00064 00065 CGAL_END_NAMESPACE 00066 00067 #endif // CGAL_FRACTION_TRAITS_H 00068 // EOF