Lines Matching refs:measurement
38 class measurement class
41 typedef measurement<Y> this_type;
44 constexpr measurement(const value_type& val = value_type(), in measurement() function in boost::units::measurement
50 constexpr measurement(const this_type& source) : in measurement() function in boost::units::measurement
116 BOOST_TYPEOF_REGISTER_TEMPLATE(boost::units::measurement, 1)
127 measurement<Y>&
128 measurement<Y>::operator+=(const this_type& source) in operator +=()
139 measurement<Y>&
140 measurement<Y>::operator-=(const this_type& source) in operator -=()
151 measurement<Y>&
152 measurement<Y>::operator*=(const this_type& source) in operator *=()
165 measurement<Y>&
166 measurement<Y>::operator/=(const this_type& source) in operator /=()
180 measurement<Y>
181 operator+(Y lhs,const measurement<Y>& rhs) in operator +()
183 return (measurement<Y>(lhs,Y(0))+=rhs); in operator +()
189 measurement<Y>
190 operator-(Y lhs,const measurement<Y>& rhs) in operator -()
192 return (measurement<Y>(lhs,Y(0))-=rhs); in operator -()
198 measurement<Y>
199 operator*(Y lhs,const measurement<Y>& rhs) in operator *()
201 return (measurement<Y>(lhs,Y(0))*=rhs); in operator *()
207 measurement<Y>
208 operator/(Y lhs,const measurement<Y>& rhs) in operator /()
210 return (measurement<Y>(lhs,Y(0))/=rhs); in operator /()
217 measurement<Y>
218 operator+(const measurement<Y>& lhs,Y rhs) in operator +()
220 return (measurement<Y>(lhs)+=measurement<Y>(rhs,Y(0))); in operator +()
226 measurement<Y>
227 operator-(const measurement<Y>& lhs,Y rhs) in operator -()
229 return (measurement<Y>(lhs)-=measurement<Y>(rhs,Y(0))); in operator -()
235 measurement<Y>
236 operator*(const measurement<Y>& lhs,Y rhs) in operator *()
238 return (measurement<Y>(lhs)*=measurement<Y>(rhs,Y(0))); in operator *()
244 measurement<Y>
245 operator/(const measurement<Y>& lhs,Y rhs) in operator /()
247 return (measurement<Y>(lhs)/=measurement<Y>(rhs,Y(0))); in operator /()
254 measurement<Y>
255 operator+(const measurement<Y>& lhs,const measurement<Y>& rhs) in operator +()
257 return (measurement<Y>(lhs)+=rhs); in operator +()
263 measurement<Y>
264 operator-(const measurement<Y>& lhs,const measurement<Y>& rhs) in operator -()
266 return (measurement<Y>(lhs)-=rhs); in operator -()
272 measurement<Y>
273 operator*(const measurement<Y>& lhs,const measurement<Y>& rhs) in operator *()
275 return (measurement<Y>(lhs)*=rhs); in operator *()
281 measurement<Y>
282 operator/(const measurement<Y>& lhs,const measurement<Y>& rhs) in operator /()
284 return (measurement<Y>(lhs)/=rhs); in operator /()
289 struct power_typeof_helper<measurement<Y>,static_rational<N,D> >
291 typedef measurement<
295 static constexpr type value(const measurement<Y>& x) in value()
309 struct root_typeof_helper<measurement<Y>,static_rational<N,D> >
311 typedef measurement<
315 static constexpr type value(const measurement<Y>& x) in value()
330 std::ostream& operator<<(std::ostream& os,const measurement<Y>& val) in operator <<()