Package org.blender.dna
Class TextLine
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.TextLine
-
public class TextLine extends CFacade
Generated facet for DNA struct type 'TextLine'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.static long[]
__DNA__FIELD__format
Field descriptor (offset) for struct member 'format'.static long[]
__DNA__FIELD__len
Field descriptor (offset) for struct member 'len'.static long[]
__DNA__FIELD__line
Field descriptor (offset) for struct member 'line'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct TextLine.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description TextLine(long __address, Block __block, BlockTable __blockTable)
protected
TextLine(TextLine that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<TextLine>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad0()
Get method for struct member '_pad0'.CPointer<java.lang.Byte>
getFormat()
Get method for struct member 'format'.int
getLen()
Get method for struct member 'len'.CPointer<java.lang.Byte>
getLine()
Get method for struct member 'line'.CPointer<TextLine>
getNext()
Get method for struct member 'next'.CPointer<TextLine>
getPrev()
Get method for struct member 'prev'.void
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.void
setFormat(CPointer<java.lang.Byte> format)
Set method for struct member 'format'.void
setLen(int len)
Set method for struct member 'len'.void
setLine(CPointer<java.lang.Byte> line)
Set method for struct member 'line'.void
setNext(CPointer<TextLine> next)
Set method for struct member 'next'.void
setPrev(CPointer<TextLine> prev)
Set method for struct member 'prev'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
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
-
getNext
public CPointer<TextLine> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
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
-
getPrev
public CPointer<TextLine> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
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
-
-