Class MInt8Property


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         MInt8Property mint8property = ...;
         CPointer<Object> p = mint8property.__dna__addressof(MInt8Property.__DNA__FIELD__i);
         CPointer<Byte> p_i = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'i'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
    • Constructor Detail

      • MInt8Property

        public MInt8Property​(long __address,
                             Block __block,
                             BlockTable __blockTable)
    • Method Detail

      • getI

        public byte getI()
                  throws java.io.IOException
        Get method for struct member 'i'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__i
      • setI

        public void setI​(byte i)
                  throws java.io.IOException
        Set method for struct member 'i'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__i
      • __io__addressof

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