Class bNodeLink


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__next);
         CPointer<CPointer<bNodeLink>> p_next = p.cast(new Class[]{CPointer.class, bNodeLink.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'bNodeLink*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__prev);
         CPointer<CPointer<bNodeLink>> p_prev = p.cast(new Class[]{CPointer.class, bNodeLink.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'bNodeLink*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__fromnode

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__fromnode);
         CPointer<CPointer<bNode>> p_fromnode = p.cast(new Class[]{CPointer.class, bNode.class});
         

        Metadata

        • Field: 'fromnode'
        • Signature: 'bNode*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tonode

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__tonode);
         CPointer<CPointer<bNode>> p_tonode = p.cast(new Class[]{CPointer.class, bNode.class});
         

        Metadata

        • Field: 'tonode'
        • Signature: 'bNode*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__fromsock

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__fromsock);
         CPointer<CPointer<bNodeSocket>> p_fromsock = p.cast(new Class[]{CPointer.class, bNodeSocket.class});
         

        Metadata

        • Field: 'fromsock'
        • Signature: 'bNodeSocket*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tosock

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__tosock);
         CPointer<CPointer<bNodeSocket>> p_tosock = p.cast(new Class[]{CPointer.class, bNodeSocket.class});
         

        Metadata

        • Field: 'tosock'
        • Signature: 'bNodeSocket*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__multi_input_socket_index

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

        Pointer Arithmetics

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

         bNodeLink bnodelink = ...;
         CPointer<Object> p = bnodelink.__dna__addressof(bNodeLink.__DNA__FIELD__multi_input_socket_index);
         CPointer<Integer> p_multi_input_socket_index = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • bNodeLink

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

        protected bNodeLink​(bNodeLink that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<bNodeLink> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<bNodeLink> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getFromnode

        public CPointer<bNode> getFromnode()
                                    throws java.io.IOException
        Get method for struct member 'fromnode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fromnode
      • setFromnode

        public void setFromnode​(CPointer<bNode> fromnode)
                         throws java.io.IOException
        Set method for struct member 'fromnode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fromnode
      • getTonode

        public CPointer<bNode> getTonode()
                                  throws java.io.IOException
        Get method for struct member 'tonode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tonode
      • setTonode

        public void setTonode​(CPointer<bNode> tonode)
                       throws java.io.IOException
        Set method for struct member 'tonode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tonode
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getMulti_input_socket_index

        public int getMulti_input_socket_index()
                                        throws java.io.IOException
        Get method for struct member 'multi_input_socket_index'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__multi_input_socket_index
      • setMulti_input_socket_index

        public void setMulti_input_socket_index​(int multi_input_socket_index)
                                         throws java.io.IOException
        Set method for struct member 'multi_input_socket_index'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__multi_input_socket_index
      • __io__addressof

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