UnitTestingTrait.TestGlobalStruct

class UnitTestingTrait.TestGlobalStruct : ClusterStruct


Summary

Public constructors

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

TestGlobalStruct

TestGlobalStruct(
    name: String = "",
    myBitmap: UnitTestingTrait.TestGlobalBitmap? = null,
    myEnum: OptionalValue<UnitTestingTrait.TestGlobalEnum?> = OptionalValue.absent()
)

Public functions

getDescriptor

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

name

val nameString