Lines Matching refs:other
78 BWeakReference(const BWeakReference<Type>& other)
82 SetTo(other);
85 BWeakReference(const BReference<Type>& other)
89 SetTo(other);
93 BWeakReference(const BReference<OtherType>& other)
97 SetTo(other.Get());
101 BWeakReference(const BWeakReference<OtherType>& other)
105 SetTo(other);
121 void SetTo(const BWeakReference<Type>& other)
125 if (other.fPointer) {
126 fPointer = other.fPointer;
132 void SetTo(const BWeakReference<OtherType>& other)
141 if (other.PrivatePointer()) {
142 fPointer = const_cast<WeakPointer*>(other.PrivatePointer());
147 void SetTo(const BReference<Type>& other)
149 SetTo(other.Get());
180 BWeakReference& operator=(const BWeakReference<Type>& other)
182 if (this == &other)
185 SetTo(other);
189 BWeakReference& operator=(Type* other)
191 SetTo(other);
195 BWeakReference& operator=(const BReference<Type>& other)
197 SetTo(other.Get());
202 BWeakReference& operator=(const BReference<OtherType>& other)
204 SetTo(other.Get());
209 BWeakReference& operator=(const BWeakReference<OtherType>& other)
211 SetTo(other);
215 bool operator==(const BWeakReference<Type>& other) const
217 return fPointer == other.fPointer;
220 bool operator!=(const BWeakReference<Type>& other) const
222 return fPointer != other.fPointer;