Class MBoolProperty


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         MBoolProperty mboolproperty = ...;
         CPointer<Object> p = mboolproperty.__dna__addressof(MBoolProperty.__DNA__FIELD__b);
         CPointer<Byte> p_b = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • MBoolProperty

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

      • getB

        public byte getB()
                  throws java.io.IOException
        Get method for struct member 'b'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__b
      • setB

        public void setB​(byte b)
                  throws java.io.IOException
        Set method for struct member 'b'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__b
      • __io__addressof

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