SwiftAny

Overview

Location

 

constructor  protected    (declared in ValueType)

Default constructor.

 

constructor

 

SwiftAny()

 

init()

 

SwiftAny()

constructor (^void, ^SwiftType, Boolean)

 

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

 

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

 

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

 

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

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

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)

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)

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)

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)

Parameters:

  • aDest:
  • aSource:
  • aReleaseOld:

Data

 

property Data: ^Byte read;

 

Byte* Data { get; }

 

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

 

Byte* Data { __get; }

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void 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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

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)

Parameters:

  • a: left value
  • b: right value

Release

 

method Release

 

void Release()

 

func Release()

 

void Release()

Set (^void, ^SwiftType, Boolean)

 

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

 

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

 

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

 

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

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

Set (^void, ^SwiftTypeRecord, Boolean)

 

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)

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()

Type

 

property Type: ^SwiftTypeRecord read;

 

SwiftTypeRecord* Type { get; }

 

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

 

SwiftTypeRecord* Type { __get; }

UnboxedData

 

property UnboxedData: ^Byte read;

 

Byte* UnboxedData { get; }

 

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

 

Byte* UnboxedData { __get; }

 

Data

 

property Data: ^Byte read;

 

Byte* Data { get; }

 

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

 

Byte* Data { __get; }

Type

 

property Type: ^SwiftTypeRecord read;

 

SwiftTypeRecord* Type { get; }

 

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

 

SwiftTypeRecord* Type { __get; }

UnboxedData

 

property UnboxedData: ^Byte read;

 

Byte* UnboxedData { get; }

 

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

 

Byte* UnboxedData { __get; }

 

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)

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)

Parameters:

  • a: left value
  • b: right value

 

constructor  protected    (declared in ValueType)

Default constructor.

 

constructor

 

SwiftAny()

 

init()

 

SwiftAny()

constructor (^void, ^SwiftType, Boolean)

 

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

 

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

 

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

 

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

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

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)

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)

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)

Parameters:

  • aValue:

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void 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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Release

 

method Release

 

void Release()

 

func Release()

 

void Release()

Set (^void, ^SwiftType, Boolean)

 

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

 

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

 

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

 

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

Parameters:

  • aValue:
  • aInputType:
  • aTakeOwnership:

Set (^void, ^SwiftTypeRecord, Boolean)

 

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)

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()