Class TestConfig

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class TestConfig extends ProxyInstance
  • Constructor Summary

    Constructors
    Constructor
    Description
    Allocate a new TestConfig.
    TestConfig(boolean testInitialized, boolean testQuick, boolean testPerf, boolean testVerbose, boolean testQuiet, boolean testUndefined)
    Allocate a new TestConfig with the fields set to the provided values.
    TestConfig(boolean testInitialized, boolean testQuick, boolean testPerf, boolean testVerbose, boolean testQuiet, boolean testUndefined, Arena arena)
    Allocate a new TestConfig with the fields set to the provided values.
    Allocate a new TestConfig.
    Create a TestConfig proxy instance for the provided memory address.
  • Method Summary

    Modifier and Type
    Method
    Description
    The memory layout of the native struct.
    boolean
    Read the value of the field test_initialized.
    boolean
    Read the value of the field test_perf.
    boolean
    Read the value of the field test_quick.
    boolean
    Read the value of the field test_quiet.
    boolean
    Read the value of the field test_undefined.
    boolean
    Read the value of the field test_verbose.
    void
    writeTestInitialized(boolean testInitialized)
    Write a value in the field test_initialized.
    void
    writeTestPerf(boolean testPerf)
    Write a value in the field test_perf.
    void
    writeTestQuick(boolean testQuick)
    Write a value in the field test_quick.
    void
    writeTestQuiet(boolean testQuiet)
    Write a value in the field test_quiet.
    void
    writeTestUndefined(boolean testUndefined)
    Write a value in the field test_undefined.
    void
    writeTestVerbose(boolean testVerbose)
    Write a value in the field test_verbose.

    Methods inherited from class ProxyInstance

    equals, handle, hashCode

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestConfig

      public TestConfig(MemorySegment address)
      Create a TestConfig proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • TestConfig

      public TestConfig(Arena arena)
      Allocate a new TestConfig.
      Parameters:
      arena - to control the memory allocation scope
    • TestConfig

      public TestConfig()
      Allocate a new TestConfig. The memory is allocated with Arena.ofAuto().
    • TestConfig

      public TestConfig(boolean testInitialized, boolean testQuick, boolean testPerf, boolean testVerbose, boolean testQuiet, boolean testUndefined, Arena arena)
      Allocate a new TestConfig with the fields set to the provided values.
      Parameters:
      testInitialized - value for the field testInitialized
      testQuick - value for the field testQuick
      testPerf - value for the field testPerf
      testVerbose - value for the field testVerbose
      testQuiet - value for the field testQuiet
      testUndefined - value for the field testUndefined
      arena - to control the memory allocation scope
    • TestConfig

      public TestConfig(boolean testInitialized, boolean testQuick, boolean testPerf, boolean testVerbose, boolean testQuiet, boolean testUndefined)
      Allocate a new TestConfig with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      testInitialized - value for the field testInitialized
      testQuick - value for the field testQuick
      testPerf - value for the field testPerf
      testVerbose - value for the field testVerbose
      testQuiet - value for the field testQuiet
      testUndefined - value for the field testUndefined
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • readTestInitialized

      public boolean readTestInitialized()
      Read the value of the field test_initialized.
      Returns:
      The value of the field test_initialized
    • writeTestInitialized

      public void writeTestInitialized(boolean testInitialized)
      Write a value in the field test_initialized.
      Parameters:
      testInitialized - The new value for the field test_initialized
    • readTestQuick

      public boolean readTestQuick()
      Read the value of the field test_quick.
      Returns:
      The value of the field test_quick
    • writeTestQuick

      public void writeTestQuick(boolean testQuick)
      Write a value in the field test_quick.
      Parameters:
      testQuick - The new value for the field test_quick
    • readTestPerf

      public boolean readTestPerf()
      Read the value of the field test_perf.
      Returns:
      The value of the field test_perf
    • writeTestPerf

      public void writeTestPerf(boolean testPerf)
      Write a value in the field test_perf.
      Parameters:
      testPerf - The new value for the field test_perf
    • readTestVerbose

      public boolean readTestVerbose()
      Read the value of the field test_verbose.
      Returns:
      The value of the field test_verbose
    • writeTestVerbose

      public void writeTestVerbose(boolean testVerbose)
      Write a value in the field test_verbose.
      Parameters:
      testVerbose - The new value for the field test_verbose
    • readTestQuiet

      public boolean readTestQuiet()
      Read the value of the field test_quiet.
      Returns:
      The value of the field test_quiet
    • writeTestQuiet

      public void writeTestQuiet(boolean testQuiet)
      Write a value in the field test_quiet.
      Parameters:
      testQuiet - The new value for the field test_quiet
    • readTestUndefined

      public boolean readTestUndefined()
      Read the value of the field test_undefined.
      Returns:
      The value of the field test_undefined
    • writeTestUndefined

      public void writeTestUndefined(boolean testUndefined)
      Write a value in the field test_undefined.
      Parameters:
      testUndefined - The new value for the field test_undefined