Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60987 - in sandbox/itl/boost: itl itl/type_traits validate/gentor
From: afojgo_at_[hidden]
Date: 2010-04-01 07:23:28


Author: jofaber
Date: 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
New Revision: 60987
URL: http://svn.boost.org/trac/boost/changeset/60987

Log:
Tab replacement
Text files modified:
   sandbox/itl/boost/itl/closed_interval.hpp | 64 ++++++++++++++++++++--------------------
   sandbox/itl/boost/itl/continuous_interval.hpp | 2
   sandbox/itl/boost/itl/predicates.hpp | 2
   sandbox/itl/boost/itl/rightopen_interval.hpp | 2
   sandbox/itl/boost/itl/type_traits/is_asymmetric_interval.hpp | 14 ++++----
   sandbox/itl/boost/itl/type_traits/is_continuous.hpp | 14 ++++----
   sandbox/itl/boost/validate/gentor/randomgentor.hpp | 36 +++++++++++-----------
   7 files changed, 67 insertions(+), 67 deletions(-)

Modified: sandbox/itl/boost/itl/closed_interval.hpp
==============================================================================
--- sandbox/itl/boost/itl/closed_interval.hpp (original)
+++ sandbox/itl/boost/itl/closed_interval.hpp 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
@@ -20,9 +20,9 @@
 class asymmetric_interval : public base_interval<DomainT,Compare>
 {
 public:
- typedef base_interval<DomainT,Compare> base_type;
- typedef asymmetric_interval<SubType,DomainT,Compare> type;
- typedef SubType sub_type;
+ typedef base_interval<DomainT,Compare> base_type;
+ typedef asymmetric_interval<SubType,DomainT,Compare> type;
+ typedef SubType sub_type;
 
 public:
     //==========================================================================
@@ -33,7 +33,7 @@
     {
         BOOST_CONCEPT_ASSERT((DefaultConstructibleConcept<DomainT>));
         BOOST_CONCEPT_ASSERT((LessThanComparableConcept<DomainT>));
- BOOST_STATIC_ASSERT((!itl::is_continuous<DomainT>::value));
+ BOOST_STATIC_ASSERT((!itl::is_continuous<DomainT>::value));
     }
 
     //NOTE: Compiler generated copy constructor is used
@@ -44,7 +44,7 @@
     {
         BOOST_CONCEPT_ASSERT((DefaultConstructibleConcept<DomainT>));
         BOOST_CONCEPT_ASSERT((LessThanComparableConcept<DomainT>));
- BOOST_STATIC_ASSERT((!itl::is_continuous<DomainT>::value));
+ BOOST_STATIC_ASSERT((!itl::is_continuous<DomainT>::value));
     }
 
     /** Interval from <tt>low</tt> to <tt>up</tt> with bounds <tt>bounds</tt> */
@@ -53,7 +53,7 @@
     {
         BOOST_CONCEPT_ASSERT((DefaultConstructibleConcept<DomainT>));
         BOOST_CONCEPT_ASSERT((LessThanComparableConcept<DomainT>));
- BOOST_STATIC_ASSERT((!itl::is_continuous<DomainT>::value));
+ BOOST_STATIC_ASSERT((!itl::is_continuous<DomainT>::value));
     }
 
     domain_type lower()const{ return _lwb; }
@@ -70,7 +70,7 @@
     bool touches(const asymmetric_interval& x2)const
     { return domain_equal(_upb, succ(x2._lwb)); }
 
- bool is_disjoint(const asymmetric_interval& x2)const //JODO ex
+ bool is_disjoint(const asymmetric_interval& x2)const //JODO ex
     { return exclusive_less(x2) || x2.exclusive_less(*this); }
 
     sub_type& extend(const sub_type& x2) //JODO ex
@@ -87,15 +87,15 @@
         }
     }
 
- /** subtract \c left_minuend from the \c *this interval on it's left side.
- *this becomes the difference: The part of \c *this right of \c left_minuend.
- \code
- right_over = *this - left_minuend; //on the left.
- ... d] : right
- ...c] : left_minuend
- [c+1 d] : right_over = *this
- \endcode
- */
+ /** subtract \c left_minuend from the \c *this interval on it's left side.
+ *this becomes the difference: The part of \c *this right of \c left_minuend.
+ \code
+ right_over = *this - left_minuend; //on the left.
+ ... d] : right
+ ...c] : left_minuend
+ [c+1 d] : right_over = *this
+ \endcode
+ */
     sub_type& left_subtract(const sub_type& left_minuend)
     {
         if(!left_minuend.exclusive_less(*this))
@@ -104,15 +104,15 @@
     }
 
 
- /** subtract \c right_minuend from the \c *this interval on it's right side.
- *this becomes the difference: The part of \c *this right of \c right_minuend.
- \code
- left_over = *this - right_minuend; //on the right side.
- [a ... : left
- [b ... : right_minuend
- [a b-1] : left_over = *this
- \endcode
- */
+ /** subtract \c right_minuend from the \c *this interval on it's right side.
+ *this becomes the difference: The part of \c *this right of \c right_minuend.
+ \code
+ left_over = *this - right_minuend; //on the right side.
+ [a ... : left
+ [b ... : right_minuend
+ [a b-1] : left_over = *this
+ \endcode
+ */
     sub_type& right_subtract(const sub_type& right_minuend)
     {
         if(!exclusive_less(right_minuend))
@@ -120,11 +120,11 @@
         return *that();
     }
 
- /*JODO
- [a c]
- [b d]
- [a b-1][b c][c+1 d]
- */
+ /*JODO
+ [a c]
+ [b d]
+ [a b-1][b c][c+1 d]
+ */
     sub_type& operator &= (const sub_type& sectant)
     {
         _lwb = (std::max)(_lwb, sectant._lwb);
@@ -160,8 +160,8 @@
 
     bool lower_equal(const sub_type& x2)const{ return _lwb==x2._lwb; }
     bool upper_equal(const sub_type& x2)const{ return _upb==x2._upb; }
- bool lower_less (const sub_type& x2)const{ return domain_less(_lwb, x2._lwb); }
- bool upper_less (const sub_type& x2)const{ return domain_less(_upb, x2._upb); }
+ bool lower_less (const sub_type& x2)const{ return domain_less(_lwb, x2._lwb); }
+ bool upper_less (const sub_type& x2)const{ return domain_less(_upb, x2._upb); }
 
 
 protected:

Modified: sandbox/itl/boost/itl/continuous_interval.hpp
==============================================================================
--- sandbox/itl/boost/itl/continuous_interval.hpp (original)
+++ sandbox/itl/boost/itl/continuous_interval.hpp 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
@@ -81,7 +81,7 @@
   (std::basic_ostream<CharType, CharTraits> &stream,
    continuous_interval<DomainT,Compare> const& object)
 {
- if(itl::is_empty(object))
+ if(itl::is_empty(object))
         return stream << "[)";
     else
         return stream << "[" << object.lower() << "," << object.upper()<< ")";

Modified: sandbox/itl/boost/itl/predicates.hpp
==============================================================================
--- sandbox/itl/boost/itl/predicates.hpp (original)
+++ sandbox/itl/boost/itl/predicates.hpp 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
@@ -35,7 +35,7 @@
         bool(Type::* m_pred)()const;
     } ;
 
- //JODO this clashes with function template itl::empty(IntervalT)
+ //JODO this clashes with function template itl::empty(IntervalT)
     //template <class Type>
     //class empty: public property<Type>
     //{

Modified: sandbox/itl/boost/itl/rightopen_interval.hpp
==============================================================================
--- sandbox/itl/boost/itl/rightopen_interval.hpp (original)
+++ sandbox/itl/boost/itl/rightopen_interval.hpp 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
@@ -77,7 +77,7 @@
   (std::basic_ostream<CharType, CharTraits> &stream,
    rightopen_interval<DomainT,Compare> const& object)
 {
- if(itl::is_empty(object))
+ if(itl::is_empty(object))
         return stream << "[)";
     else
         return stream << "[" << object.lower() << "," << object.upper()<< ")";

Modified: sandbox/itl/boost/itl/type_traits/is_asymmetric_interval.hpp
==============================================================================
--- sandbox/itl/boost/itl/type_traits/is_asymmetric_interval.hpp (original)
+++ sandbox/itl/boost/itl/type_traits/is_asymmetric_interval.hpp 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
@@ -17,13 +17,13 @@
 {
     typedef is_asymmetric_interval<Type> type;
     BOOST_STATIC_CONSTANT(bool,
- value = (type_traits::ice_and
- <
- is_interval<Type>::value
- , has_static_bounds<Type>::value
- , has_asymmetric_bounds<Type>::value
- >::value)
- );
+ value = (type_traits::ice_and
+ <
+ is_interval<Type>::value
+ , has_static_bounds<Type>::value
+ , has_asymmetric_bounds<Type>::value
+ >::value)
+ );
 };
 
 }} // namespace boost itl

Modified: sandbox/itl/boost/itl/type_traits/is_continuous.hpp
==============================================================================
--- sandbox/itl/boost/itl/type_traits/is_continuous.hpp (original)
+++ sandbox/itl/boost/itl/type_traits/is_continuous.hpp 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
@@ -42,13 +42,13 @@
     template <class Type> struct is_continuous
     {
         typedef is_continuous<Type> type;
- BOOST_STATIC_CONSTANT(bool, value = false);
- //JODO Meta Fortsetzung des Praedikats auf interval<Type> etc.
- // so nicht, vielleicht anders? Meta lambda?
- //value = (mpl::and_<has_domain<Type>::value,
- // is_continuous<typename Type::domain_type>
- // >::value
- // ));
+ BOOST_STATIC_CONSTANT(bool, value = false);
+ //JODO Meta Fortsetzung des Praedikats auf interval<Type> etc.
+ // so nicht, vielleicht anders? Meta lambda?
+ //value = (mpl::and_<has_domain<Type>::value,
+ // is_continuous<typename Type::domain_type>
+ // >::value
+ // ));
     };
 
 }} // namespace boost itl

Modified: sandbox/itl/boost/validate/gentor/randomgentor.hpp
==============================================================================
--- sandbox/itl/boost/validate/gentor/randomgentor.hpp (original)
+++ sandbox/itl/boost/validate/gentor/randomgentor.hpp 2010-04-01 07:23:27 EDT (Thu, 01 Apr 2010)
@@ -352,7 +352,7 @@
         {
             gentor.setRangeOfSampleSize(GentorProfileSgl::it()->range_ContainerSize());
             map_segment_gentor<double,int,ITL_INTERVAL_DEFAULT<double> >* segment_gentor
- = new map_segment_gentor<double,int,ITL_INTERVAL_DEFAULT<double> >;
+ = new map_segment_gentor<double,int,ITL_INTERVAL_DEFAULT<double> >;
             NumberGentorT<int>* int_gentor = new NumberGentorT<int>;
             int_gentor->setRange(GentorProfileSgl::it()->range_int());
             segment_gentor->setCodomainGentor(int_gentor);
@@ -370,7 +370,7 @@
         {
             gentor.setRangeOfSampleSize(GentorProfileSgl::it()->range_ContainerSize());
             ItvGentorT<NumericT, ITL_INTERVAL_DEFAULT<NumericT> >* itvGentor
- = new ItvGentorT<NumericT, ITL_INTERVAL_DEFAULT<NumericT> >;
+ = new ItvGentorT<NumericT, ITL_INTERVAL_DEFAULT<NumericT> >;
             itvGentor->setRange(GentorProfileSgl_numeric_range<NumericT>::get());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
             gentor.setDomainGentor(itvGentor);
@@ -413,7 +413,7 @@
         {
             gentor.setRangeOfSampleSize(GentorProfileSgl::it()->range_ContainerSize());
             map_segment_gentor<int,int,ITL_INTERVAL_DEFAULT<int> >* segment_gentor
- = new map_segment_gentor<int,int,ITL_INTERVAL_DEFAULT<int> >;
+ = new map_segment_gentor<int,int,ITL_INTERVAL_DEFAULT<int> >;
             NumberGentorT<int>* int_gentor = new NumberGentorT<int>;
             int_gentor->setRange(GentorProfileSgl::it()->range_int());
             segment_gentor->setCodomainGentor(int_gentor);
@@ -451,7 +451,7 @@
         }
     };
 
- //--------------------------------------------------------------------------
+ //--------------------------------------------------------------------------
     template <>
     struct Calibrater<interval_set<int>, RandomGentor>
     {
@@ -459,7 +459,7 @@
         {
             gentor.setRangeOfSampleSize(GentorProfileSgl::it()->range_ContainerSize());
             ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >* itvGentor
- = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
+ = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
             interval<int> valRange = GentorProfileSgl::it()->range_interval_int();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -474,7 +474,7 @@
         {
             gentor.setRangeOfSampleSize(GentorProfileSgl::it()->range_ContainerSize());
             ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >* itvGentor
- = new ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >;
+ = new ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >;
             interval<double> valRange = GentorProfileSgl::it()->range_interval_double();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -489,7 +489,7 @@
         {
             gentor.setRangeOfSampleSize(GentorProfileSgl::it()->range_ContainerSize());
             ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >* itvGentor
- = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
+ = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
             interval<int> valRange = GentorProfileSgl::it()->range_interval_int();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -507,7 +507,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >* itvGentor
- = new ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >;
+ = new ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >;
             interval<double> valRange = GentorProfileSgl::it()->range_interval_double();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -526,7 +526,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >* itvGentor
- = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
+ = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
             interval<int> valRange = GentorProfileSgl::it()->range_interval_int();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -544,7 +544,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >* itvGentor
- = new ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >;
+ = new ItvGentorT<double, ITL_INTERVAL_DEFAULT<double> >;
             interval<double> valRange = GentorProfileSgl::it()->range_interval_double();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -587,7 +587,7 @@
         {
             gentor.setRangeOfSampleSize(GentorProfileSgl::it()->range_ContainerSize());
             ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >* itvGentor
- = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
+ = new ItvGentorT<int, ITL_INTERVAL_DEFAULT<int> >;
             interval<int> valRange = GentorProfileSgl::it()->range_interval_int();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -678,7 +678,7 @@
             // NumberGentorT<int> intGentor;
             //CL ItvGentorT<NumericDomainT>* itvGentor = new ItvGentorT<NumericDomainT>;
             ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >* itvGentor
- = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
+ = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
             interval<NumericDomainT> valRange = GentorProfileSgl_numeric_range<NumericDomainT>::get();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -706,7 +706,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >* itvGentor
- = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
+ = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
             interval<NumericDomainT> valRange = GentorProfileSgl_numeric_range<NumericDomainT>::get();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -732,7 +732,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >* itvGentor
- = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
+ = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
             interval<NumericDomainT> valRange = GentorProfileSgl_numeric_range<NumericDomainT>::get();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -761,7 +761,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >* itvGentor
- = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
+ = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
             interval<NumericDomainT> valRange = GentorProfileSgl_numeric_range<NumericDomainT>::get();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -788,7 +788,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >* itvGentor
- = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
+ = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
             interval<NumericDomainT> valRange = GentorProfileSgl_numeric_range<NumericDomainT>::get();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -814,7 +814,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >* itvGentor
- = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
+ = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
             interval<NumericDomainT> valRange = GentorProfileSgl_numeric_range<NumericDomainT>::get();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());
@@ -838,7 +838,7 @@
             // If it is a container: (Create and) Pass the generator(s) for their contents
             // NumberGentorT<int> intGentor;
             ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >* itvGentor
- = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
+ = new ItvGentorT<NumericDomainT, ITL_INTERVAL_DEFAULT<NumericDomainT> >;
             interval<NumericDomainT> valRange = GentorProfileSgl_numeric_range<NumericDomainT>::get();
             itvGentor->setValueRange(valRange.lower(), valRange.upper());
             itvGentor->setMaxIntervalLength(GentorProfileSgl::it()->maxIntervalLength());


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk