Value

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.reflect

Instance Methods


constructor

 

constructor

 

Value()

 

init()

constructor (Object, Type) .NET, .NET Standard 2.0, Island

 

constructor(aValue: Object; aType: Type)

 

Value(Object aValue, Type aType)

 

init(_ aValue: Object, _ aType: Type)

Parameters:

  • aValue:
  • aType:

constructor (Object, Type, Object, MemberInfo) Island

 

constructor(aValue: Object; aType: Type; aPtr: Object; aExtendedInfo: MemberInfo)

 

Value(Object aValue, Type aType, Object aPtr, MemberInfo aExtendedInfo)

 

init(_ aValue: Object, _ aType: Type, _ aPtr: Object, _ aExtendedInfo: MemberInfo)

Parameters:

  • aValue:
  • aType:
  • aPtr:
  • aExtendedInfo:

constructor (Object, Type, Object, MemberInfo) .NET, .NET Standard 2.0

 

constructor(aValue: Object; aType: Type; aPtr: Object; aExtendedInfo: MemberInfo)

 

Value(Object aValue, Type aType, Object aPtr, MemberInfo aExtendedInfo)

 

init(_ aValue: Object, _ aType: Type, _ aPtr: Object, _ aExtendedInfo: MemberInfo)

Parameters:

  • aValue:
  • aType:
  • aPtr:
  • aExtendedInfo:

constructor (Object, Type) macOS

 

constructor(aValue: Object; aType: Type)

 

Value(Object aValue, Type aType)

 

init(_ aValue: Object, _ aType: Type)

 

Value(Object aValue, Type aType)

Parameters:

  • aValue:
  • aType:

constructor (Object, Type, Object, MemberInfo) macOS

 

constructor(aValue: Object; aType: Type; aPtr: Object; aExtendedInfo: MemberInfo)

 

Value(Object aValue, Type aType, Object aPtr, MemberInfo aExtendedInfo)

 

init(_ aValue: Object, _ aType: Type, _ aPtr: Object, _ aExtendedInfo: MemberInfo)

 

Value(Object aValue, Type aType, Object aPtr, MemberInfo aExtendedInfo)

Parameters:

  • aValue:
  • aType:
  • aPtr:
  • aExtendedInfo:

Addr

 

method Addr: Value

 

Value Addr()

 

func Addr() -> Value

 

func Addr() Value

AssignableTo

 

method AssignableTo(u: Type): Boolean

 

Boolean AssignableTo(Type u)

 

func AssignableTo(_ u: Type) -> Boolean

 

func AssignableTo(u Type) Boolean

Parameters:

  • u:

Bool

 

method Bool: Boolean

 

Boolean Bool()

 

func Bool() -> Boolean

 

func Bool() Boolean

Bytes

 

method Bytes: Slice<Byte>

 

Slice<Byte> Bytes()

 

func Bytes() -> Slice<Byte>

 

func Bytes() Slice<Byte>

Call

 

method Call(inn: Slice<Value>): Slice<Value>

 

Slice<Value> Call(Slice<Value> inn)

 

func Call(_ inn: Slice<Value>) -> Slice<Value>

 

func Call(inn Slice<Value>) Slice<Value>

Parameters:

  • inn:

CanAddr

 

method CanAddr: Boolean

 

Boolean CanAddr()

 

func CanAddr() -> Boolean

 

func CanAddr() Boolean

CanInterface

 

method CanInterface: Boolean

 

Boolean CanInterface()

 

func CanInterface() -> Boolean

 

func CanInterface() Boolean

CanSet

 

method CanSet: Boolean

 

Boolean CanSet()

 

func CanSet() -> Boolean

 

func CanSet() Boolean

Cap

 

method Cap: Int32

 

Int32 Cap()

 

func Cap() -> Int32

 

func Cap() Int32

Complex

 

method Complex: complex128

 

complex128 Complex()

 

func Complex() -> complex128

 

func Complex() complex128

Convert

 

method Convert(aTo: Type): Value

 

Value Convert(Type aTo)

 

func Convert(_ aTo: Type) -> Value

 

func Convert(aTo Type) Value

Parameters:

  • aTo:

ConvertibleTo

 

method ConvertibleTo(u: Type): Boolean

 

Boolean ConvertibleTo(Type u)

 

func ConvertibleTo(_ u: Type) -> Boolean

 

func ConvertibleTo(u Type) Boolean

Parameters:

  • u:

Elem

 

method Elem: Value

 

Value Elem()

 

func Elem() -> Value

 

func Elem() Value

Field

 

method Field(i: Int32): Value

 

Value Field(Int32 i)

 

func Field(_ i: Int32) -> Value

 

func Field(i Int32) Value

Parameters:

  • i:

FieldByIndex

 

method FieldByIndex(idx: Slice<Int32>): Value

 

Value FieldByIndex(Slice<Int32> idx)

 

func FieldByIndex(_ idx: Slice<Int32>) -> Value

 

func FieldByIndex(idx Slice<Int32>) Value

Parameters:

  • idx:

Float

 

method Float: Double

 

Double Float()

 

func Float() -> Double

 

func Float() Double

Implements

 

method Implements(u: Type): Boolean

 

Boolean Implements(Type u)

 

func Implements(_ u: Type) -> Boolean

 

func Implements(u Type) Boolean

Parameters:

  • u:

Index

 

method Index(i: Int32): Value

 

Value Index(Int32 i)

 

func Index(_ i: Int32) -> Value

 

func Index(i Int32) Value

Parameters:

  • i:

Int

 

method Int: Int64

 

Int64 Int()

 

func Int() -> Int64

 

func Int() Int64

Interface

 

// .NET, .NET Standard 2.0, Island
method Interface: Object
// macOS
method Interface: Object

 

// .NET, .NET Standard 2.0, Island
Object Interface()
// macOS
Object Interface()

 

// .NET, .NET Standard 2.0, Island
func Interface() -> Object
// macOS
func Interface() -> Object

 

// .NET, .NET Standard 2.0, Island
func Interface() interface{}
// macOS
func Interface() Object

IsNil

 

method IsNil: Boolean

 

Boolean IsNil()

 

func IsNil() -> Boolean

 

func IsNil() Boolean

IsValid

 

method IsValid: Boolean

 

Boolean IsValid()

 

func IsValid() -> Boolean

 

func IsValid() Boolean

Kind

 

method Kind: Kind

 

Kind Kind()

 

func Kind() -> Kind

 

func Kind() Kind

Len

 

method Len: Int32

 

Int32 Len()

 

func Len() -> Int32

 

func Len() Int32

MapIndex

 

method MapIndex(key: Value): Value

 

Value MapIndex(Value key)

 

func MapIndex(_ key: Value) -> Value

 

func MapIndex(key Value) Value

Parameters:

  • key:

MapIter

 

method MapIter: Reference<MapIter>

 

Reference<MapIter> MapIter()

 

func MapIter() -> Reference<MapIter>

 

func MapIter() Reference<MapIter>

MapKeys

 

method MapKeys: Slice<Value>

 

Slice<Value> MapKeys()

 

func MapKeys() -> Slice<Value>

 

func MapKeys() Slice<Value>

MapRange

 

method MapRange: Reference<MapIter>

 

Reference<MapIter> MapRange()

 

func MapRange() -> Reference<MapIter>

 

func MapRange() Reference<MapIter>

MethodByName (String): Value Island

 

method MethodByName(name: String): Value

 

Value MethodByName(String name)

 

func MethodByName(_ name: String) -> Value

 

func MethodByName(name String) Value

Parameters:

  • name:

MethodByName (String): Value macOS

 

method MethodByName(name: String): Value

 

Value MethodByName(String name)

 

func MethodByName(_ name: String) -> Value

 

Value MethodByName(String name)

 

func MethodByName(name String) Value

Parameters:

  • name:

MethodByName (String): Value .NET, .NET Standard 2.0

 

method MethodByName(name: String): Value

 

Value MethodByName(String name)

 

func MethodByName(_ name: String) -> Value

 

func MethodByName(name String) Value

Parameters:

  • name:

NumField

 

method NumField: Int32

 

Int32 NumField()

 

func NumField() -> Int32

 

func NumField() Int32

NumMethod

 

method NumMethod: Int32

 

Int32 NumMethod()

 

func NumMethod() -> Int32

 

func NumMethod() Int32

OverflowFloat

 

method OverflowFloat(x: Double): Boolean

 

Boolean OverflowFloat(Double x)

 

func OverflowFloat(_ x: Double) -> Boolean

 

func OverflowFloat(x Double) Boolean

Parameters:

  • x:

OverflowInt

 

method OverflowInt(x: Int64): Boolean

 

Boolean OverflowInt(Int64 x)

 

func OverflowInt(_ x: Int64) -> Boolean

 

func OverflowInt(x Int64) Boolean

Parameters:

  • x:

OverflowUint

 

method OverflowUint(x: Int64): Boolean

 

Boolean OverflowUint(Int64 x)

 

func OverflowUint(_ x: Int64) -> Boolean

 

func OverflowUint(x Int64) Boolean

Parameters:

  • x:

Pointer

 

method Pointer: UInt64

 

UInt64 Pointer()

 

func Pointer() -> UInt64

 

func Pointer() UInt64

Recv

 

// .NET, Island, macOS
method Recv: tuple of (Value, Boolean)
// .NET Standard 2.0
method Recv: ValueTuple<Value, Boolean>

 

// .NET, Island, macOS
(Value, Boolean) Recv()
// .NET Standard 2.0
ValueTuple<Value, Boolean> Recv()

 

// .NET, Island, macOS
func Recv() -> (Value, Boolean)
// .NET Standard 2.0
func Recv() -> ValueTuple<Value, Boolean>

 

// .NET, Island, macOS
func Recv() (Value, Boolean)
// .NET Standard 2.0
func Recv() ValueTuple<Value, Boolean>

Set

 

method Set(aVal: Value)

 

void Set(Value aVal)

 

func Set(_ aVal: Value)

 

func Set(aVal Value)

Parameters:

  • aVal:

SetBool

 

method SetBool(aVal: Boolean)

 

void SetBool(Boolean aVal)

 

func SetBool(_ aVal: Boolean)

 

func SetBool(aVal Boolean)

Parameters:

  • aVal:

SetBytes

 

method SetBytes(aval: Slice<Byte>)

 

void SetBytes(Slice<Byte> aval)

 

func SetBytes(_ aval: Slice<Byte>)

 

func SetBytes(aval Slice<Byte>)

Parameters:

  • aval:

SetCap

 

method SetCap(n: Int32)

 

void SetCap(Int32 n)

 

func SetCap(_ n: Int32)

 

func SetCap(n Int32)

Parameters:

  • n:

SetComplex

 

method SetComplex(aVal: complex128)

 

void SetComplex(complex128 aVal)

 

func SetComplex(_ aVal: complex128)

 

func SetComplex(aVal complex128)

Parameters:

  • aVal:

SetFloat

 

method SetFloat(aVal: Double)

 

void SetFloat(Double aVal)

 

func SetFloat(_ aVal: Double)

 

func SetFloat(aVal Double)

Parameters:

  • aVal:

SetInt

 

method SetInt(aVal: Int64)

 

void SetInt(Int64 aVal)

 

func SetInt(_ aVal: Int64)

 

func SetInt(aVal Int64)

Parameters:

  • aVal:

SetLen

 

method SetLen(n: Int32)

 

void SetLen(Int32 n)

 

func SetLen(_ n: Int32)

 

func SetLen(n Int32)

Parameters:

  • n:

SetMapIndex

 

method SetMapIndex(key: Value; val: Value)

 

void SetMapIndex(Value key, Value val)

 

func SetMapIndex(_ key: Value, _ val: Value)

 

func SetMapIndex(key Value, val Value)

Parameters:

  • key:
  • val:

SetString (String) Island

 

method SetString(aVal: String)

 

void SetString(String aVal)

 

func SetString(_ aVal: String)

 

func SetString(aVal String)

Parameters:

  • aVal:

SetString (String) macOS

 

method SetString(aVal: String)

 

void SetString(String aVal)

 

func SetString(_ aVal: String)

 

void SetString(String aVal)

 

func SetString(aVal String)

Parameters:

  • aVal:

SetString (String) .NET, .NET Standard 2.0

 

method SetString(aVal: String)

 

void SetString(String aVal)

 

func SetString(_ aVal: String)

 

func SetString(aVal String)

Parameters:

  • aVal:

SetUint

 

method SetUint(aVal: UInt64)

 

void SetUint(UInt64 aVal)

 

func SetUint(_ aVal: UInt64)

 

func SetUint(aVal UInt64)

Parameters:

  • aVal:

Slice

 

method Slice(i: Int32; j: Int32): Value

 

Value Slice(Int32 i, Int32 j)

 

func Slice(_ i: Int32, _ j: Int32) -> Value

 

func Slice(i Int32, j Int32) Value

Parameters:

  • i:
  • j:

String

 

// .NET, .NET Standard 2.0, Island
method String: String
// macOS
method String: String

 

// .NET, .NET Standard 2.0, Island
String String()
// macOS
String String()

 

// .NET, .NET Standard 2.0, Island
func String() -> String
// macOS
func String() -> String

 

// .NET, .NET Standard 2.0, Island
func String() String
// macOS
func String() String

Type

 

method Type: Type

 

Type Type()

 

func Type() -> Type

 

func Type() Type

Uint

 

method Uint: UInt64

 

UInt64 Uint()

 

func Uint() -> UInt64

 

func Uint() UInt64