Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-06-03 00:17:02


Author: steven_watanabe
Date: 2008-06-03 00:17:01 EDT (Tue, 03 Jun 2008)
New Revision: 46073
URL: http://svn.boost.org/trac/boost/changeset/46073

Log:
Removed tabs
Text files modified:
   sandbox/units/boost/units/detail/utility.hpp | 4 +-
   sandbox/units/boost/units/io.hpp | 8 +++---
   sandbox/units/libs/units/example/composite_output.cpp | 48 ++++++++++++++++++++--------------------
   sandbox/units/libs/units/example/kitchen_sink.cpp | 46 +++++++++++++++++++-------------------
   4 files changed, 53 insertions(+), 53 deletions(-)

Modified: sandbox/units/boost/units/detail/utility.hpp
==============================================================================
--- sandbox/units/boost/units/detail/utility.hpp (original)
+++ sandbox/units/boost/units/detail/utility.hpp 2008-06-03 00:17:01 EDT (Tue, 03 Jun 2008)
@@ -57,14 +57,14 @@
         
         std::free(realname);
         
- //boost::replace_all(out," ","");
+ //boost::replace_all(out," ","");
         boost::replace_all(out,"boost::units::","");
         //boost::replace_all(out,"static_rational","R");
         //boost::replace_all(out,"dimensionless_type","dl");
         //boost::replace_all(out,"_base_dimension","_bd");
         //boost::replace_all(out,"_base_unit","_bu");
         //boost::replace_all(out,"heterogeneous_system","hts");
-
+
         return out;
     }
     

Modified: sandbox/units/boost/units/io.hpp
==============================================================================
--- sandbox/units/boost/units/io.hpp (original)
+++ sandbox/units/boost/units/io.hpp 2008-06-03 00:17:01 EDT (Tue, 03 Jun 2008)
@@ -100,10 +100,10 @@
 
 enum format_mode
 {
- symbol_fmt = 0, // default - reduces unit names to known symbols for both base and derived units
- name_fmt, // output full unit names for base and derived units
- raw_fmt, // output only symbols for base units
- typename_fmt // output demangled typenames
+ symbol_fmt = 0, // default - reduces unit names to known symbols for both base and derived units
+ name_fmt, // output full unit names for base and derived units
+ raw_fmt, // output only symbols for base units
+ typename_fmt // output demangled typenames
 };
 
 namespace detail {

Modified: sandbox/units/libs/units/example/composite_output.cpp
==============================================================================
--- sandbox/units/libs/units/example/composite_output.cpp (original)
+++ sandbox/units/libs/units/example/composite_output.cpp 2008-06-03 00:17:01 EDT (Tue, 03 Jun 2008)
@@ -88,29 +88,29 @@
     using boost::units::cgs::second;
     using boost::units::cgs::dyne;
         
- //[composite_output_snippet_2]
+ //[composite_output_snippet_2]
     std::cout << 2.0 * dyne << std::endl
- << symbol_format << 2.0 * dyne << std::endl
- << name_format << 2.0 * dyne << std::endl
- << symbol_format << gram*centimeter/second << std::endl
- << name_format << gram*centimeter/second << std::endl
- << symbol_format << gram*centimeter/(second*second) << std::endl
- << name_format << gram*centimeter/(second*second) << std::endl
- << symbol_string(scale<10,static_rational<-9> >()) << std::endl
- << name_string(scale<10,static_rational<-9> >()) << std::endl
- << symbol_format << si::nano << std::endl
- << name_format << si::nano << std::endl
- << symbol_format << si::farad << std::endl
- << name_format << si::farad << std::endl
- << symbol_format << 1.0*si::farad << std::endl
- << name_format << 1.0*si::farad << std::endl
- << symbol_format << si::farad*si::nano << std::endl
- << name_format << si::farad*si::nano << std::endl
- << symbol_format << 1.0*si::farad*si::nano << std::endl
- << name_format << 1.0*si::farad*si::nano << std::endl
- << symbol_format << si::nano*gram*centimeter/second << std::endl
- << name_format << si::nano*gram*centimeter/second << std::endl;
- //]
-
- return 0;
+ << symbol_format << 2.0 * dyne << std::endl
+ << name_format << 2.0 * dyne << std::endl
+ << symbol_format << gram*centimeter/second << std::endl
+ << name_format << gram*centimeter/second << std::endl
+ << symbol_format << gram*centimeter/(second*second) << std::endl
+ << name_format << gram*centimeter/(second*second) << std::endl
+ << symbol_string(scale<10,static_rational<-9> >()) << std::endl
+ << name_string(scale<10,static_rational<-9> >()) << std::endl
+ << symbol_format << si::nano << std::endl
+ << name_format << si::nano << std::endl
+ << symbol_format << si::farad << std::endl
+ << name_format << si::farad << std::endl
+ << symbol_format << 1.0*si::farad << std::endl
+ << name_format << 1.0*si::farad << std::endl
+ << symbol_format << si::farad*si::nano << std::endl
+ << name_format << si::farad*si::nano << std::endl
+ << symbol_format << 1.0*si::farad*si::nano << std::endl
+ << name_format << 1.0*si::farad*si::nano << std::endl
+ << symbol_format << si::nano*gram*centimeter/second << std::endl
+ << name_format << si::nano*gram*centimeter/second << std::endl;
+ //]
+
+ return 0;
 }

Modified: sandbox/units/libs/units/example/kitchen_sink.cpp
==============================================================================
--- sandbox/units/libs/units/example/kitchen_sink.cpp (original)
+++ sandbox/units/libs/units/example/kitchen_sink.cpp 2008-06-03 00:17:01 EDT (Tue, 03 Jun 2008)
@@ -79,12 +79,12 @@
 //]
 
 //[kitchen_sink_output_7
-l1 == l2 false
-l1 != l2 true
-l1 <= l2 true
-l1 < l2 true
-l1 >= l2 false
-l1 > l2 false
+l1 == l2 false
+l1 != l2 true
+l1 <= l2 true
+l1 < l2 true
+l1 >= l2 false
+l1 > l2 false
 //]
 
 dimless = 1
@@ -446,17 +446,17 @@
               << std::endl << std::endl;
     }
     
- /// check moment of inertia/angular momentum/rotational energy
-
- //[kitchen_sink_snippet_9
- std::cout << symbol_format
- << "I*w = " << moment_of_inertia()*angular_velocity() << std::endl
- << "I*w/L = " << moment_of_inertia()*angular_velocity()/angular_momentum() << std::endl
- << "I*w^2 = " << moment_of_inertia()*pow<2>(angular_velocity()) << std::endl
- << std::endl;
- //]
-
- //[kitchen_sink_snippet_10
+ /// check moment of inertia/angular momentum/rotational energy
+
+ //[kitchen_sink_snippet_9
+ std::cout << symbol_format
+ << "I*w = " << moment_of_inertia()*angular_velocity() << std::endl
+ << "I*w/L = " << moment_of_inertia()*angular_velocity()/angular_momentum() << std::endl
+ << "I*w^2 = " << moment_of_inertia()*pow<2>(angular_velocity()) << std::endl
+ << std::endl;
+ //]
+
+ //[kitchen_sink_snippet_10
 // std::cout << typename_format
 // << quantity<capacitance>(1.0*farad) << std::endl
 // << quantity<catalytic_activity>(1.0*katal) << std::endl
@@ -476,8 +476,8 @@
 // << quantity<resistance>(1.0*ohm) << std::endl
 // << std::endl;
     //]
-
- //[kitchen_sink_snippet_11
+
+ //[kitchen_sink_snippet_11
 // std::cout << raw_format
 // << quantity<capacitance>(1.0*farad) << std::endl
 // << quantity<catalytic_activity>(1.0*katal) << std::endl
@@ -497,8 +497,8 @@
 // << quantity<resistance>(1.0*ohm) << std::endl
 // << std::endl;
     //]
-
- //[kitchen_sink_snippet_12
+
+ //[kitchen_sink_snippet_12
     std::cout << symbol_format
               << quantity<capacitance>(1.0*farad) << std::endl
               << quantity<catalytic_activity>(1.0*katal) << std::endl
@@ -518,8 +518,8 @@
               << quantity<resistance>(1.0*ohm) << std::endl
               << std::endl;
     //]
-
- //[kitchen_sink_snippet_13
+
+ //[kitchen_sink_snippet_13
     std::cout << name_format
               << quantity<capacitance>(1.0*farad) << std::endl
               << quantity<catalytic_activity>(1.0*katal) << std::endl


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