System::ExplicitCast methode
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt wanneer het brontype en het resultaattype hetzelfde zijn.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::None, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Enum Base64FormattingOptions
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt wanneer een eenvoudige constructor-achtige cast nodig is.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Static, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt voor exceptiewrappers.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Exception, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Typedef Exception
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt voor het casten van een object naar een exceptie.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::ObjectToException, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt wanneer zowel de bron als het resultaat smart pointers zijn (zonder expicit SmartPtr<…> in het resultaattype).
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Pointer, typename CastResult<Result>::type> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt wanneer zowel de bron als het resultaat smart pointers zijn (met expicit SmartPtr<…> in het resultaattype).
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::PointerToPointer, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt voor het unboxen van een object naar nullable.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::UnboxingToNullable, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt om nullable te boxen.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::NullableBoxing, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt voor het unboxen van een nullable object.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::NullableUnboxing, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt voor enum-boxing.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::EnumBoxing, SmartPtr<BoxedValueBase>> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Class SmartPtr
- Class BoxedValueBase
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt voor het kopiëren van waardetypen naar de heap wanneer een waardetype moet worden gerefereerd als smart pointer (in generics beperkt tot een interfacetype maar gespecificeerd met een structuur die dit interface implementeert).
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::HeapifyBoxing, typename CastResult<Result>::type> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resultaattype met expliciete cast. Gebruikt om interfaces uit waardetypen te verkrijgen.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::InterfaceBoxing, typename CastResult<Result>::type> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resulttype met een expliciete cast. Gebruikt voor algemene boxing.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Boxing, typename CastResult<Result>::type> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resulttype met een expliciete cast. Gebruikt voor System::String boxing.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::StringBoxing, typename CastResult<Result>::type> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resulttype met een expliciete cast. Gebruikt voor het unboxen van interfaces.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::InterfaceUnboxing, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resulttype met een expliciete cast. Gebruikt voor algemene unboxing.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Unboxing, Result> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resulttype met een expliciete cast. Gebruikt voor nullptr-casting.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Null, typename CastResult<Result>::type> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(const Source&) method
Casts het brontype naar het resulttype met een expliciete cast. Gebruikt voor casting tussen arrays.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Array, typename CastResult<Result>::type> System::ExplicitCast(const Source &value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | const Source& | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::ExplicitCast(Source) method
Casts het brontype naar het resulttype met een expliciete cast. Gebruikt wanneer een ruwe pointer naar een slimme pointer wordt gecast.
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::RawPointer, typename CastResult<std::remove_pointer_t<Result>>::type> System::ExplicitCast(Source value)
| Parameter | Beschrijving |
|---|---|
| Bron | Het brontype. |
| Result | Het resulttype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| value | Source | Object om te casten. |
ReturnValue
Het castresultaat.
Zie ook
- Namespace System
- Library Aspose.Page for C++