Class NodeInputInt


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeInputInt nodeinputint = ...;
         CPointer<Object> p = nodeinputint.__dna__addressof(NodeInputInt.__DNA__FIELD__integer);
         CPointer<Integer> p_integer = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'integer'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • NodeInputInt

        public NodeInputInt​(long __address,
                            Block __block,
                            BlockTable __blockTable)
      • NodeInputInt

        protected NodeInputInt​(NodeInputInt that)
    • Method Detail

      • getInteger

        public int getInteger()
                       throws java.io.IOException
        Get method for struct member 'integer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__integer
      • setInteger

        public void setInteger​(int integer)
                        throws java.io.IOException
        Set method for struct member 'integer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__integer
      • __io__addressof

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