Lines Matching defs:operator

44 	VecAccess&				operator=	(const Vector<T, Size>& v);
46 operator Vector<T, Size> (void) const;
84 VecAccess<T, VecSize, Size>& VecAccess<T, VecSize, Size>::operator= (const Vector<T, Size>& v)
155 Vector<T, Size>& operator+= (const Vector<T, Size>& v);
156 Vector<T, Size>& operator-= (const Vector<T, Size>& v);
157 Vector<T, Size>& operator= (const Vector<T, Size>& v);
159 const T& operator[] (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Size)); return m_data[ndx]; }
160 T& operator[] (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Size)); return m_data[ndx]; }
162 bool operator== (const Vector<T, Size>& v) const { for (int i = 0; i < Size; i++) if (m_data[i] != v.m_data[i]) return false; return true; }
163 bool operator!= (const Vector<T, Size>& v) const { return !(*this == v); }
222 inline Vector<T, Size>& Vector<T, Size>::operator=(const Vector<T, Size>& v)
238 VecAccess<T, VecSize, Size>::operator Vector<T, Size> (void) const
274 inline Vector<T, Size> operator- (const Vector<T, Size>& a)
283 inline Vector<T, Size> operator+ (const Vector<T, Size>& a, const Vector<T, Size>& b)
292 inline Vector<T, Size> operator- (const Vector<T, Size>& a, const Vector<T, Size>& b)
301 inline Vector<T, Size> operator* (const Vector<T, Size>& a, const Vector<T, Size>& b)
310 inline Vector<T, Size> operator/ (const Vector<T, Size>& a, const Vector<T, Size>& b)
319 inline Vector<T, Size> operator<< (const Vector<T, Size>& a, const Vector<T, Size>& b)
328 inline Vector<T, Size> operator>> (const Vector<T, Size>& a, const Vector<T, Size>& b)
337 inline Vector<T, Size> operator* (T s, const Vector<T, Size>& a)
346 inline Vector<T, Size> operator+ (T s, const Vector<T, Size>& a)
355 inline Vector<T, Size> operator- (T s, const Vector<T, Size>& a)
364 inline Vector<T, Size> operator- (const Vector<T, Size>& a, T s)
373 inline Vector<T, Size> operator/ (T s, const Vector<T, Size>& a)
382 inline Vector<T, Size> operator* (const Vector<T, Size>& a, T s) { return s * a; }
385 inline Vector<T, Size> operator+ (const Vector<T, Size>& a, T s) { return s + a; }
388 inline Vector<T, Size> operator/ (const Vector<T, Size>& a, T s)
397 inline Vector<T, Size>& Vector<T, Size>::operator+= (const Vector<T, Size>& v)
405 inline Vector<T, Size>& Vector<T, Size>::operator-= (const Vector<T, Size>& v)
412 // Stream operator.
414 std::ostream& operator<< (std::ostream& stream, const tcu::Vector<T, Size>& vec)