Class TextLine


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         TextLine textline = ...;
         CPointer<Object> p = textline.__dna__addressof(TextLine.__DNA__FIELD__next);
         CPointer<CPointer<TextLine>> p_next = p.cast(new Class[]{CPointer.class, TextLine.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'TextLine*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         TextLine textline = ...;
         CPointer<Object> p = textline.__dna__addressof(TextLine.__DNA__FIELD__prev);
         CPointer<CPointer<TextLine>> p_prev = p.cast(new Class[]{CPointer.class, TextLine.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'TextLine*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__line

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

        Pointer Arithmetics

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

         TextLine textline = ...;
         CPointer<Object> p = textline.__dna__addressof(TextLine.__DNA__FIELD__line);
         CPointer<CPointer<Byte>> p_line = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'line'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__format

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

        Field Documentation

        Blender Source Code

        May be NULL if syntax is off or not yet formatted.

        Pointer Arithmetics

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

         TextLine textline = ...;
         CPointer<Object> p = textline.__dna__addressof(TextLine.__DNA__FIELD__format);
         CPointer<CPointer<Byte>> p_format = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'format'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__len

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

        Field Documentation

        Blender Source Code

        Blen unused.

        Pointer Arithmetics

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

         TextLine textline = ...;
         CPointer<Object> p = textline.__dna__addressof(TextLine.__DNA__FIELD__len);
         CPointer<Integer> p_len = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'len'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         TextLine textline = ...;
         CPointer<Object> p = textline.__dna__addressof(TextLine.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • TextLine

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

        protected TextLine​(TextLine that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<TextLine> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<TextLine> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getLine

        public CPointer<java.lang.Byte> getLine()
                                         throws java.io.IOException
        Get method for struct member 'line'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__line
      • setLine

        public void setLine​(CPointer<java.lang.Byte> line)
                     throws java.io.IOException
        Set method for struct member 'line'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__line
      • getFormat

        public CPointer<java.lang.Byte> getFormat()
                                           throws java.io.IOException
        Get method for struct member 'format'.

        Field Documentation

        Blender Source Code

        May be NULL if syntax is off or not yet formatted.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__format
      • setFormat

        public void setFormat​(CPointer<java.lang.Byte> format)
                       throws java.io.IOException
        Set method for struct member 'format'.

        Field Documentation

        Blender Source Code

        May be NULL if syntax is off or not yet formatted.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__format
      • getLen

        public int getLen()
                   throws java.io.IOException
        Get method for struct member 'len'.

        Field Documentation

        Blender Source Code

        Blen unused.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__len
      • setLen

        public void setLen​(int len)
                    throws java.io.IOException
        Set method for struct member 'len'.

        Field Documentation

        Blender Source Code

        Blen unused.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__len
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • __io__addressof

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