System::ObjectExt::Is methode

ObjectExt::Is(const char16_t *) method

Implementeert vertaling van de ‘is’ operator. Specialisatie voor tekenreeksletterlijke.

template<class T> static bool System::ObjectExt::Is(const char16_t *str)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
strconst char16_t *String letterlijke.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor exceptie-wrappertypen.

template<class T,class U> static std::enable_if<IsExceptionWrapper<T>::value, bool>::type System::ObjectExt::Is(const ExceptionWrapper<U> &obj)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst ExceptionWrapper<U>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’-operator. Specialisatie voor het type Nullable.

template<class T,class U> static bool System::ObjectExt::Is(const Nullable<U> &value)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
valueconst Nullable<U>&Nullable type.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

ObjectExt::Is(const Object&) method

Implementeert vertaling van de ‘is’ operator. Specialisatie voor waardetypen.

template<class T> static std::enable_if<std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst Object&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

ObjectExt::Is(const Object&) method

Implementeert vertaling van de ‘is’ operator. Specialisatie voor niet-converteerbare typen.

template<class T> static std::enable_if<!std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst Object&Object om te testen op de ‘is’-operator.

ReturnValue

Geeft altijd false terug omdat de types niet converteerbaar zijn.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor nullable typen.

template<class T> static std::enable_if<IsNullable<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst SmartPtr<Object>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor verpakbare typen met de == operator gedefinieerd.

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)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst SmartPtr<Object>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor verpakbare typen zonder gedefinieerde ==.

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)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst SmartPtr<Object>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor pointertypen.

template<class T,class U> static std::enable_if<IsSmartPtr<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst SmartPtr<U>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor enumtypen.

template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
ParameterBeschrijving
TDoeltype.
UType van het aangewezen object.
ParameterTypeBeschrijving
objconst SmartPtr<U>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor waardetypen verpakt naar interfaces.

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)
ParameterBeschrijving
TDoeltype.
VType van het aangewezen object.
ParameterTypeBeschrijving
objconst SmartPtr<V>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

ObjectExt::Is(const T&) method

Implementeert vertaling van de ‘is’ operator. Specialisatie voor verpakbare (waarde)typen, wat precies betekent dat ze dat zijn.

template<class T> static std::enable_if<System::IsBoxable<T>::value, bool>::type System::ObjectExt::Is(const T &obj)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
objconst T&Object om te testen op de ‘is’-operator. Genegeerd.

ReturnValue

Altijd true

Zie ook

ObjectExt::Is(const U&) method

Implementeert vertaling van de ‘is’ operator. Specialisatie voor pointertypen geoptimaliseerd voor ‘final’ klassen.

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)
ParameterBeschrijving
TDoeltype.
UGetest type.
ParameterTypeBeschrijving
objconst U&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

ObjectExt::Is(const U&) method

Implementeert vertaling van de ‘is’ operator. Specialisatie voor pointertypen.

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)
ParameterBeschrijving
TDoeltype.
UGetest type.
ParameterTypeBeschrijving
objconst U&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

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

Implementeert vertaling van de ‘is’ operator. Specialisatie voor enumtypen versus zwakke pointers.

template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const WeakPtr<U> &obj)
ParameterBeschrijving
TDoeltype.
UType van het aangewezen object.
ParameterTypeBeschrijving
objconst WeakPtr<U>&Object om te testen op de ‘is’-operator.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook

ObjectExt::Is(int32_t) method

Implementeert vertaling van de ‘is’ operator. Specialisatie voor gehele getal literal.

template<class T> static bool System::ObjectExt::Is(int32_t value)
ParameterBeschrijving
TDoeltype.
ParameterTypeBeschrijving
valueint32_tinteger literal.

ReturnValue

Waar als ‘is’ true retourneert, anders false.

Zie ook