Home | History | Annotate | Download | only in src

Lines Matching defs:Agile

19 template <typename T, bool TIsNotAgile> class Agile;
27 struct UnwrapAgile<Agile<T, false>>
32 struct UnwrapAgile<Agile<T, true>>
143 class Agile
145 static_assert(__is_win_class(typename Details::AgileTypeHelper<T>::type) || __is_win_interface(typename Details::AgileTypeHelper<T>::type), "Agile can only be used with ref class or interface class types");
176 // Don't Capture context if object is agile
195 Agile() throw() : _object(nullptr), _contextToken(0)
202 Agile(nullptr_t) throw() : _object(nullptr), _contextToken(0)
209 explicit Agile(TypeT object) throw() : _object(nullptr), _contextToken(0)
218 Agile(const Agile& object) throw() : _object(nullptr), _contextToken(0)
227 Agile(Agile&& object) throw() : _object(nullptr), _contextToken(0)
236 ~Agile() throw()
243 // Agile object, no proxy required
262 // Different context and holding on to a non agile object
269 // Object is agile if it implements IAgileObject
275 // Object is agile if it implements IAgileObject
285 auto pThis = const_cast<Agile*>(this);
296 auto pThis = const_cast<Agile*>(this);
303 // Different context and holding on to a non agile object
329 Agile& operator=(nullptr_t) throw()
335 Agile& operator=(TypeT object) throw()
337 Agile(object).Swap(*this);
341 Agile& operator=(Agile object) throw()
349 Agile& operator=(IUnknown* lp) throw()
363 void Swap(Agile& object)
406 bool operator==(const Agile& other) const throw()
411 bool operator<(const Agile& other) const throw()
423 class Agile<T, false>
425 static_assert(__is_win_class(typename Details::AgileTypeHelper<T>::type) || __is_win_interface(typename Details::AgileTypeHelper<T>::type), "Agile can only be used with ref class or interface class types");
430 Agile() throw() : _object(nullptr)
434 Agile(nullptr_t) throw() : _object(nullptr)
438 explicit Agile(TypeT object) throw() : _object(object)
442 Agile(const Agile& object) throw() : _object(object._object)
446 Agile(Agile&& object) throw() : _object(nullptr)
451 ~Agile() throw()
477 Agile& operator=(nullptr_t) throw()
483 Agile& operator=(TypeT object) throw()
492 Agile& operator=(Agile object) throw()
499 Agile& operator=(IUnknown* lp) throw()
520 void Swap(Agile& object)
530 bool operator==(const Agile& other) const throw()
535 bool operator<(const Agile& other) const throw()
544 bool operator==(nullptr_t, const Agile<U>& a) throw()
550 bool operator!=(const Agile<U>& a, nullptr_t) throw()
556 bool operator!=(nullptr_t, const Agile<U>& a) throw()
562 bool operator!=(const Agile<U>& a, const Agile<U>& b) throw()