Class bNodeSocketValueBoolean


  • public class bNodeSocketValueBoolean
    extends CFacade
    Generated facet for DNA struct type 'bNodeSocketValueBoolean'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct bNodeSocketValueBoolean.

        It is required when allocating a new block to store data for bNodeSocketValueBoolean.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__value

        public static final long[] __DNA__FIELD__value
        Field descriptor (offset) for struct member 'value'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         bNodeSocketValueBoolean bnodesocketvalueboolean = ...;
         CPointer<Object> p = bnodesocketvalueboolean.__dna__addressof(bNodeSocketValueBoolean.__DNA__FIELD__value);
         CPointer<Byte> p_value = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'value'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
    • Constructor Detail

      • bNodeSocketValueBoolean

        public bNodeSocketValueBoolean​(long __address,
                                       Block __block,
                                       BlockTable __blockTable)
    • Method Detail

      • getValue

        public byte getValue()
                      throws java.io.IOException
        Get method for struct member 'value'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value
      • setValue

        public void setValue​(byte value)
                      throws java.io.IOException
        Set method for struct member 'value'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value