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
      • __DNA__FIELD___pad

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

        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___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[3]'
        • Actual Size (32bit/64bit): 3/3
    • 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
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad