Class MStringProperty


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         MStringProperty mstringproperty = ...;
         CPointer<Object> p = mstringproperty.__dna__addressof(MStringProperty.__DNA__FIELD__s);
         CPointer<CArrayFacade<Byte>> p_s = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 's'
        • Signature: 'char[255]'
        • Actual Size (32bit/64bit): 255/255
      • __DNA__FIELD__s_len

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

        Pointer Arithmetics

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

         MStringProperty mstringproperty = ...;
         CPointer<Object> p = mstringproperty.__dna__addressof(MStringProperty.__DNA__FIELD__s_len);
         CPointer<Byte> p_s_len = p.cast(new Class[]{Byte.class});
         

        Metadata

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

      • MStringProperty

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

      • getS

        public CArrayFacade<java.lang.Byte> getS()
                                          throws java.io.IOException
        Get method for struct member 's'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__s
      • setS

        public void setS​(CArrayFacade<java.lang.Byte> s)
                  throws java.io.IOException
        Set method for struct member 's'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__s
      • getS_len

        public byte getS_len()
                      throws java.io.IOException
        Get method for struct member 's_len'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__s_len
      • setS_len

        public void setS_len​(byte s_len)
                      throws java.io.IOException
        Set method for struct member 's_len'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__s_len