30 #ifndef _PROCESS_TIME_INTERVAL_TRAIT_HXX_
31 #define _PROCESS_TIME_INTERVAL_TRAIT_HXX_
33 #include "IteratorTraits.hxx"
42 template <
typename Iterator >
43 std::pair<bool, typename iterator_t<Iterator>::value_type >
44 static inline apply(
typename WhatEver::DataId dataId, Iterator it1) {
45 typedef typename iterator_t<Iterator>::value_type value_type;
46 return std::make_pair<bool,value_type> (0,0);
55 #include "CalciumCouplingPolicy.hxx"
58 template <
class Iterator >
59 std::pair<bool,typename iterator_t<Iterator>::value_type>
60 static inline apply(CalciumCouplingPolicy::DataId dataId, Iterator it1) {
62 Iterator it2=it1; it2++;
64 typedef typename iterator_t<Iterator>::value_type value_type;
65 return std::make_pair<bool,value_type> (1,processTimeInterval(dataId,it1,it2));