UnitTestingTrait.NestedStruct

class UnitTestingTrait.NestedStruct : ClusterStruct


NestedStruct

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the NestedStruct class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

UByte

a attribute.

Boolean

b attribute.

UnitTestingTrait.SimpleStruct

c attribute.

OptionalValue<UnitTestingTrait.TestGlobalStruct>

Public constructors

NestedStruct

NestedStruct(
    a: UByte,
    b: Boolean = false,
    c: UnitTestingTrait.SimpleStruct = SimpleStruct(),
    d: OptionalValue<UnitTestingTrait.TestGlobalStruct> = OptionalValue.absent()
)

Creates the NestedStruct class.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

a

val aUByte

a attribute.

b

val bBoolean

b attribute.

c

val cUnitTestingTrait.SimpleStruct

c attribute.