Class MDefCell


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         MDefCell mdefcell = ...;
         CPointer<Object> p = mdefcell.__dna__addressof(MDefCell.__DNA__FIELD__offset);
         CPointer<Integer> p_offset = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'offset'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__totinfluence

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

        Pointer Arithmetics

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

         MDefCell mdefcell = ...;
         CPointer<Object> p = mdefcell.__dna__addressof(MDefCell.__DNA__FIELD__totinfluence);
         CPointer<Integer> p_totinfluence = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • MDefCell

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

        protected MDefCell​(MDefCell that)
    • Method Detail

      • getOffset

        public int getOffset()
                      throws java.io.IOException
        Get method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • setOffset

        public void setOffset​(int offset)
                       throws java.io.IOException
        Set method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • getTotinfluence

        public int getTotinfluence()
                            throws java.io.IOException
        Get method for struct member 'totinfluence'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totinfluence
      • setTotinfluence

        public void setTotinfluence​(int totinfluence)
                             throws java.io.IOException
        Set method for struct member 'totinfluence'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totinfluence
      • __io__addressof

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