Class DrawDataList


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         DrawDataList drawdatalist = ...;
         CPointer<Object> p = drawdatalist.__dna__addressof(DrawDataList.__DNA__FIELD__first);
         CPointer<CPointer<Object>> p_first = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'first'
        • Signature: 'DrawData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__last

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

        Pointer Arithmetics

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

         DrawDataList drawdatalist = ...;
         CPointer<Object> p = drawdatalist.__dna__addressof(DrawDataList.__DNA__FIELD__last);
         CPointer<CPointer<Object>> p_last = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'last'
        • Signature: 'DrawData*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • DrawDataList

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

        protected DrawDataList​(DrawDataList that)
    • Method Detail

      • getFirst

        public CPointer<java.lang.Object> getFirst()
                                            throws java.io.IOException
        Get method for struct member 'first'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__first
      • setFirst

        public void setFirst​(CPointer<java.lang.Object> first)
                      throws java.io.IOException
        Set method for struct member 'first'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__first
      • getLast

        public CPointer<java.lang.Object> getLast()
                                           throws java.io.IOException
        Get method for struct member 'last'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last
      • setLast

        public void setLast​(CPointer<java.lang.Object> last)
                     throws java.io.IOException
        Set method for struct member 'last'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last
      • __io__addressof

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