annotate DEPENDENCIES/generic/include/boost/icl/dynamic_interval_traits.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 /*-----------------------------------------------------------------------------+
Chris@16 2 Copyright (c) 2010-2010: Joachim Faulhaber
Chris@16 3 +------------------------------------------------------------------------------+
Chris@16 4 Distributed under the Boost Software License, Version 1.0.
Chris@16 5 (See accompanying file LICENCE.txt or copy at
Chris@16 6 http://www.boost.org/LICENSE_1_0.txt)
Chris@16 7 +-----------------------------------------------------------------------------*/
Chris@16 8 #ifndef BOOST_ICL_DYNAMIC_INTERVAL_TRAITS_HPP_JOFA_100926
Chris@16 9 #define BOOST_ICL_DYNAMIC_INTERVAL_TRAITS_HPP_JOFA_100926
Chris@16 10
Chris@16 11 namespace boost{ namespace icl
Chris@16 12 {
Chris@16 13
Chris@16 14 class interval_bounds;
Chris@16 15 template<class DomainT> class bounded_value;
Chris@16 16
Chris@16 17
Chris@16 18 //------------------------------------------------------------------------------
Chris@16 19 //- Adapter class
Chris@16 20 //------------------------------------------------------------------------------
Chris@16 21 template<class Type>
Chris@16 22 struct dynamic_interval_traits
Chris@16 23 {
Chris@16 24 typedef typename Type::domain_type domain_type;
Chris@16 25 typedef typename Type::domain_compare domain_compare;
Chris@16 26
Chris@16 27 static Type construct(const domain_type& lo, const domain_type& up, interval_bounds bounds);
Chris@16 28 static Type construct_bounded(const bounded_value<domain_type>& lo,
Chris@16 29 const bounded_value<domain_type>& up);
Chris@16 30 };
Chris@16 31
Chris@16 32
Chris@16 33 }} // namespace boost icl
Chris@16 34
Chris@16 35 #endif
Chris@16 36
Chris@16 37