SwiftAny

Overview

Location

  • Reference: Island.fx
  • Namespace: RemObjects.Elements.System
  • Platforms: iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator
  • Ancestry: ValueType | SwiftAny

 

constructor  protected    (declared in ValueType)

 

constructor

 

SwiftAny()

 

init()

 

SwiftAny()

 

Sub New()

constructor (^void, ^SwiftTypeRecord, Boolean)

 

constructor(aValue: ^void; aInputType: ^SwiftTypeRecord; aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

init(_ aValue: UnsafeMutablePointer<void>, _ aInputType: UnsafeMutablePointer<SwiftTypeRecord>, _ aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

Sub New(aValue As Ptr(Of Void), aInputType As Ptr(Of SwiftTypeRecord), aTakeOwnership As Boolean)

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

constructor (^void, Boolean)

 

constructor(aValue: ^void; aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, Boolean aTakeOwnership)

 

init(_ aValue: UnsafeMutablePointer<void>, _ aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, Boolean aTakeOwnership)

 

Sub New(aValue As Ptr(Of Void), aTakeOwnership As Boolean)

Parameters:

  • aValue:
  • aTakeOwnership:

constructor Copy(SwiftAny)

 

constructor Copy(var aValue: SwiftAny)

 

SwiftAny Copy(ref SwiftAny aValue)

 

init(Copy aValue: SwiftAny)

 

SwiftAny Copy(__ref SwiftAny aValue)

 

Sub New Copy(ByRef aValue As SwiftAny)

Parameters:

  • aValue:

CopyAny

 

class method CopyAny(var aDest: SwiftAny; var aSource: SwiftAny; aReleaseOld: Boolean)

 

static void CopyAny(ref SwiftAny aDest, ref SwiftAny aSource, Boolean aReleaseOld)

 

static func CopyAny(_ aDest: SwiftAny, _ aSource: SwiftAny, _ aReleaseOld: Boolean)

 

static void CopyAny(__ref SwiftAny aDest, __ref SwiftAny aSource, Boolean aReleaseOld)

 

Shared Sub CopyAny(ByRef aDest As SwiftAny, ByRef aSource As SwiftAny, aReleaseOld As Boolean)

Parameters:

  • aDest:
  • aSource:
  • aReleaseOld:

Data

 

property Data: ^Byte read;

 

Byte* Data { get; }

 

var Data: UnsafeMutablePointer<Byte> { get{} }

 

Byte* Data { __get; }

 

ReadOnly Property Data() As Ptr(Of Byte)

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

Release

 

method Release

 

void Release()

 

func Release()

 

void Release()

 

Sub Release()

Set

 

method Set(aValue: ^void; aInputType: ^SwiftTypeRecord; aTakeOwnership: Boolean)

 

void Set(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

func Set(_ aValue: UnsafeMutablePointer<void>, _ aInputType: UnsafeMutablePointer<SwiftTypeRecord>, _ aTakeOwnership: Boolean)

 

void Set(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

Sub Set(aValue As Ptr(Of Void), aInputType As Ptr(Of SwiftTypeRecord), aTakeOwnership As Boolean)

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

Type

 

property Type: ^SwiftTypeRecord read;

 

SwiftTypeRecord* Type { get; }

 

var Type: UnsafeMutablePointer<SwiftTypeRecord> { get{} }

 

SwiftTypeRecord* Type { __get; }

 

ReadOnly Property Type() As Ptr(Of SwiftTypeRecord)

UnboxedData

 

property UnboxedData: ^Byte read;

 

Byte* UnboxedData { get; }

 

var UnboxedData: UnsafeMutablePointer<Byte> { get{} }

 

Byte* UnboxedData { __get; }

 

ReadOnly Property UnboxedData() As Ptr(Of Byte)

 

Data

 

property Data: ^Byte read;

 

Byte* Data { get; }

 

var Data: UnsafeMutablePointer<Byte> { get{} }

 

Byte* Data { __get; }

 

ReadOnly Property Data() As Ptr(Of Byte)

Type

 

property Type: ^SwiftTypeRecord read;

 

SwiftTypeRecord* Type { get; }

 

var Type: UnsafeMutablePointer<SwiftTypeRecord> { get{} }

 

SwiftTypeRecord* Type { __get; }

 

ReadOnly Property Type() As Ptr(Of SwiftTypeRecord)

UnboxedData

 

property UnboxedData: ^Byte read;

 

Byte* UnboxedData { get; }

 

var UnboxedData: UnsafeMutablePointer<Byte> { get{} }

 

Byte* UnboxedData { __get; }

 

ReadOnly Property UnboxedData() As Ptr(Of Byte)

 

CopyAny

 

class method CopyAny(var aDest: SwiftAny; var aSource: SwiftAny; aReleaseOld: Boolean)

 

static void CopyAny(ref SwiftAny aDest, ref SwiftAny aSource, Boolean aReleaseOld)

 

static func CopyAny(_ aDest: SwiftAny, _ aSource: SwiftAny, _ aReleaseOld: Boolean)

 

static void CopyAny(__ref SwiftAny aDest, __ref SwiftAny aSource, Boolean aReleaseOld)

 

Shared Sub CopyAny(ByRef aDest As SwiftAny, ByRef aSource As SwiftAny, aReleaseOld As Boolean)

Parameters:

  • aDest:
  • aSource:
  • aReleaseOld:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

constructor  protected    (declared in ValueType)

 

constructor

 

SwiftAny()

 

init()

 

SwiftAny()

 

Sub New()

constructor (^void, ^SwiftTypeRecord, Boolean)

 

constructor(aValue: ^void; aInputType: ^SwiftTypeRecord; aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

init(_ aValue: UnsafeMutablePointer<void>, _ aInputType: UnsafeMutablePointer<SwiftTypeRecord>, _ aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

Sub New(aValue As Ptr(Of Void), aInputType As Ptr(Of SwiftTypeRecord), aTakeOwnership As Boolean)

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

constructor (^void, Boolean)

 

constructor(aValue: ^void; aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, Boolean aTakeOwnership)

 

init(_ aValue: UnsafeMutablePointer<void>, _ aTakeOwnership: Boolean)

 

SwiftAny(void* aValue, Boolean aTakeOwnership)

 

Sub New(aValue As Ptr(Of Void), aTakeOwnership As Boolean)

Parameters:

  • aValue:
  • aTakeOwnership:

constructor Copy(SwiftAny)

 

constructor Copy(var aValue: SwiftAny)

 

SwiftAny Copy(ref SwiftAny aValue)

 

init(Copy aValue: SwiftAny)

 

SwiftAny Copy(__ref SwiftAny aValue)

 

Sub New Copy(ByRef aValue As SwiftAny)

Parameters:

  • aValue:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Release

 

method Release

 

void Release()

 

func Release()

 

void Release()

 

Sub Release()

Set

 

method Set(aValue: ^void; aInputType: ^SwiftTypeRecord; aTakeOwnership: Boolean)

 

void Set(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

func Set(_ aValue: UnsafeMutablePointer<void>, _ aInputType: UnsafeMutablePointer<SwiftTypeRecord>, _ aTakeOwnership: Boolean)

 

void Set(void* aValue, SwiftTypeRecord* aInputType, Boolean aTakeOwnership)

 

Sub Set(aValue As Ptr(Of Void), aInputType As Ptr(Of SwiftTypeRecord), aTakeOwnership As Boolean)

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String