Class StripCrop


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         StripCrop stripcrop = ...;
         CPointer<Object> p = stripcrop.__dna__addressof(StripCrop.__DNA__FIELD__top);
         CPointer<Integer> p_top = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'top'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__bottom

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

        Pointer Arithmetics

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

         StripCrop stripcrop = ...;
         CPointer<Object> p = stripcrop.__dna__addressof(StripCrop.__DNA__FIELD__bottom);
         CPointer<Integer> p_bottom = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'bottom'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__left

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

        Pointer Arithmetics

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

         StripCrop stripcrop = ...;
         CPointer<Object> p = stripcrop.__dna__addressof(StripCrop.__DNA__FIELD__left);
         CPointer<Integer> p_left = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'left'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__right

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

        Pointer Arithmetics

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

         StripCrop stripcrop = ...;
         CPointer<Object> p = stripcrop.__dna__addressof(StripCrop.__DNA__FIELD__right);
         CPointer<Integer> p_right = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • StripCrop

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

        protected StripCrop​(StripCrop that)
    • Method Detail

      • getTop

        public int getTop()
                   throws java.io.IOException
        Get method for struct member 'top'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__top
      • setTop

        public void setTop​(int top)
                    throws java.io.IOException
        Set method for struct member 'top'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__top
      • getBottom

        public int getBottom()
                      throws java.io.IOException
        Get method for struct member 'bottom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bottom
      • setBottom

        public void setBottom​(int bottom)
                       throws java.io.IOException
        Set method for struct member 'bottom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bottom
      • getLeft

        public int getLeft()
                    throws java.io.IOException
        Get method for struct member 'left'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__left
      • setLeft

        public void setLeft​(int left)
                     throws java.io.IOException
        Set method for struct member 'left'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__left
      • getRight

        public int getRight()
                     throws java.io.IOException
        Get method for struct member 'right'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__right
      • setRight

        public void setRight​(int right)
                      throws java.io.IOException
        Set method for struct member 'right'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__right
      • __io__addressof

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