System::ObjectExt::Is metode

ObjectExt::Is(const char16_t *) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk literal string.

template<class T> static bool System::ObjectExt::Is(const char16_t *str)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
strconst char16_t *String literal.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const ExceptionWrapper<U>&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk tipe pembungkus pengecualian.

template<class T,class U> static std::enable_if<IsExceptionWrapper<T>::value, bool>::type System::ObjectExt::Is(const ExceptionWrapper<U> &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst ExceptionWrapper<U>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const Nullable<U>&) method

Mengimplementasikan terjemahan operator ‘is’. Spesialisasi untuk tipe Nullable.

template<class T,class U> static bool System::ObjectExt::Is(const Nullable<U> &value)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
valueconst Nullable<U>&Nullable tipe.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const Object&) method

Mengimplementasikan terjemahan operator ‘is’. Spesialisasi untuk tipe nilai.

template<class T> static std::enable_if<std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst Object&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const Object&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk tipe yang tidak dapat dikonversi.

template<class T> static std::enable_if<!std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst Object&Object untuk menguji operator ‘is’.

ReturnValue

Selalu mengembalikan false karena tipe tidak dapat dikonversi.

Lihat Juga

ObjectExt::Is(const SmartPtr<Object>&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk tipe nullable.

template<class T> static std::enable_if<IsNullable<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst SmartPtr<Object>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const SmartPtr<Object>&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk tipe yang dapat dibungkus dengan operator == yang didefinisikan.

template<class T> static std::enable_if<System::IsBoxable<T>::value &&!IsNullable<T>::value &&!std::is_enum<T>::value &&detail::has_operator_equal<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst SmartPtr<Object>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const SmartPtr<Object>&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk tipe yang dapat dibungkus tanpa operator == yang didefinisikan.

template<class T> static std::enable_if<System::IsBoxable<T>::value &&!IsNullable<T>::value &&!std::is_enum<T>::value &&!detail::has_operator_equal<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst SmartPtr<Object>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const SmartPtr<U>&) method

Mengimplementasikan terjemahan operator ‘is’. Spesialisasi untuk tipe pointer.

template<class T,class U> static std::enable_if<IsSmartPtr<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst SmartPtr<U>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const SmartPtr<U>&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk tipe enum.

template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
ParameterDeskripsi
TTipe target.
UTipe objek yang ditunjuk.
ParameterTipeDeskripsi
objconst SmartPtr<U>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const SmartPtr<V>&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi tipe nilai yang dibungkus ke antarmuka.

template<class T,class V> static std::enable_if<System::IsBoxable<T>::value &&!IsNullable<T>::value &&!std::is_enum<T>::value &&!std::is_same<V, Object>::value, bool>::type System::ObjectExt::Is(const SmartPtr<V> &obj)
ParameterDeskripsi
TTipe target.
VTipe objek yang ditunjuk.
ParameterTipeDeskripsi
objconst SmartPtr<V>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const T&) method

Mengimplementasikan terjemahan operator ‘is’. Spesialisasi untuk tipe yang dapat dibungkus (nilai) yang memang demikian.

template<class T> static std::enable_if<System::IsBoxable<T>::value, bool>::type System::ObjectExt::Is(const T &obj)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
objconst T&Object untuk menguji operator ‘is’. Diabaikan.

ReturnValue

Selalu true

Lihat Juga

ObjectExt::Is(const U&) method

Mengimplementasikan terjemahan operator ‘is’. Spesialisasi untuk tipe pointer yang dioptimalkan untuk kelas ‘final’.

template<class T,class U> static std::enable_if<std::is_convertible<T, Object>::value &&std::is_final<T>::value &&!System::IsBoxable<T>::value &&System::IsSmartPtr<U>::value, bool>::type System::ObjectExt::Is(const U &obj)
ParameterDeskripsi
TTipe target.
UTipe yang diuji.
ParameterTipeDeskripsi
objconst U&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const U&) method

Mengimplementasikan terjemahan operator ‘is’. Spesialisasi untuk tipe pointer.

template<class T,class U> static std::enable_if<std::is_convertible<T, Object>::value &&!std::is_final<T>::value &&!System::IsBoxable<T>::value &&System::IsSmartPtr<U>::value, bool>::type System::ObjectExt::Is(const U &obj)
ParameterDeskripsi
TTipe target.
UTipe yang diuji.
ParameterTipeDeskripsi
objconst U&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(const WeakPtr<U>&) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk tipe enum vs pointer lemah.

template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const WeakPtr<U> &obj)
ParameterDeskripsi
TTipe target.
UTipe objek yang ditunjuk.
ParameterTipeDeskripsi
objconst WeakPtr<U>&Object untuk menguji operator ‘is’.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga

ObjectExt::Is(int32_t) method

Menerapkan terjemahan operator ‘is’. Spesialisasi untuk literal integer.

template<class T> static bool System::ObjectExt::Is(int32_t value)
ParameterDeskripsi
TTipe target.
ParameterTipeDeskripsi
valueint32_tliteral integer.

ReturnValue

True jika ‘is’ mengembalikan true, false sebaliknya.

Lihat Juga