Class NodeInputBool


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeInputBool nodeinputbool = ...;
         CPointer<Object> p = nodeinputbool.__dna__addressof(NodeInputBool.__DNA__FIELD__boolean);
         CPointer<Byte> p_boolean = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • NodeInputBool

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

      • getBoolean

        public byte getBoolean()
                        throws java.io.IOException
        Get method for struct member 'boolean'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boolean
      • setBoolean

        public void setBoolean​(byte _boolean)
                        throws java.io.IOException
        Set method for struct member 'boolean'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boolean
      • __io__addressof

        public CPointer<NodeInputBool> __io__addressof()
        Instantiates a pointer on this instance.