/home/fwph/code/wurde/modules/rFlexBase/Units.H

Go to the documentation of this file.
00001 #ifndef Units_H
00002 #define Units_H
00003 
00004 #ifdef FANCY
00005 
00006 class Distance {
00007 public:
00008         Distance() {}
00009         Distance(const Distance &d) :m_distance(d.m_distance) {}
00010         ~Distance() {}
00011 
00012         Distance &operator=(const Distance &d) {
00013                 m_distance = d.m_distance; return *this;}
00014 
00015         operator double () {return m_distance;}
00016 
00017 private:
00018         double m_distance;
00019 };
00020 
00021 #else
00022 typedef double Distance;
00023 #endif
00024 
00025 #endif

Generated on Thu Feb 1 15:31:52 2007 for WURDE by  doxygen 1.5.1