public class ConsoleLine extends CFacade
Console content
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__cursor
Field descriptor (offset) for struct member 'cursor'.
|
static long[] |
__DNA__FIELD__len
Field descriptor (offset) for struct member 'len'.
|
static long[] |
__DNA__FIELD__len_alloc
Field descriptor (offset) for struct member 'len_alloc'.
|
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 long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ConsoleLine.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ConsoleLine(ConsoleLine that) |
|
ConsoleLine(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<ConsoleLine> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getCursor()
Get method for struct member 'cursor'.
|
int |
getLen_alloc()
Get method for struct member 'len_alloc'.
|
int |
getLen()
Get method for struct member 'len'.
|
CPointer<java.lang.Byte> |
getLine()
Get method for struct member 'line'.
|
CPointer<ConsoleLine> |
getNext()
Get method for struct member 'next'.
|
CPointer<ConsoleLine> |
getPrev()
Get method for struct member 'prev'.
|
int |
getType()
Get method for struct member 'type'.
|
void |
setCursor(int cursor)
Set method for struct member 'cursor'.
|
void |
setLen_alloc(int len_alloc)
Set method for struct member 'len_alloc'.
|
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<ConsoleLine> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<ConsoleLine> prev)
Set method for struct member 'prev'.
|
void |
setType(int type)
Set method for struct member 'type'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for ConsoleLine.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
ConsoleLine consoleline = ...; CPointer<Object> p = consoleline.__dna__addressof(ConsoleLine.__DNA__FIELD__next); CPointer<CPointer<ConsoleLine>> p_next = p.cast(new Class[]{CPointer.class, ConsoleLine.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
ConsoleLine consoleline = ...; CPointer<Object> p = consoleline.__dna__addressof(ConsoleLine.__DNA__FIELD__prev); CPointer<CPointer<ConsoleLine>> p_prev = p.cast(new Class[]{CPointer.class, ConsoleLine.class});
public static final long[] __DNA__FIELD__len_alloc
keep these 3 vars so as to share free, realloc funcs Allocated length.
This is how you get a reference on the corresponding field in the struct:
ConsoleLine consoleline = ...; CPointer<Object> p = consoleline.__dna__addressof(ConsoleLine.__DNA__FIELD__len_alloc); CPointer<Integer> p_len_alloc = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__len
Real len - strlen().
This is how you get a reference on the corresponding field in the struct:
ConsoleLine consoleline = ...; CPointer<Object> p = consoleline.__dna__addressof(ConsoleLine.__DNA__FIELD__len); CPointer<Integer> p_len = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__line
This is how you get a reference on the corresponding field in the struct:
ConsoleLine consoleline = ...; CPointer<Object> p = consoleline.__dna__addressof(ConsoleLine.__DNA__FIELD__line); CPointer<CPointer<Byte>> p_line = p.cast(new Class[]{CPointer.class, Byte.class});
public static final long[] __DNA__FIELD__cursor
This is how you get a reference on the corresponding field in the struct:
ConsoleLine consoleline = ...; CPointer<Object> p = consoleline.__dna__addressof(ConsoleLine.__DNA__FIELD__cursor); CPointer<Integer> p_cursor = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__type
Only for use when in the 'scrollback' listbase.
This is how you get a reference on the corresponding field in the struct:
ConsoleLine consoleline = ...; CPointer<Object> p = consoleline.__dna__addressof(ConsoleLine.__DNA__FIELD__type); CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
public ConsoleLine(long __address, Block __block, BlockTable __blockTable)
protected ConsoleLine(ConsoleLine that)
public CPointer<ConsoleLine> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<ConsoleLine> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<ConsoleLine> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<ConsoleLine> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public int getLen_alloc() throws java.io.IOException
keep these 3 vars so as to share free, realloc funcs Allocated length.
java.io.IOException
__DNA__FIELD__len_alloc
public void setLen_alloc(int len_alloc) throws java.io.IOException
keep these 3 vars so as to share free, realloc funcs Allocated length.
java.io.IOException
__DNA__FIELD__len_alloc
public int getLen() throws java.io.IOException
Real len - strlen().
java.io.IOException
__DNA__FIELD__len
public void setLen(int len) throws java.io.IOException
Real len - strlen().
java.io.IOException
__DNA__FIELD__len
public CPointer<java.lang.Byte> getLine() throws java.io.IOException
java.io.IOException
__DNA__FIELD__line
public void setLine(CPointer<java.lang.Byte> line) throws java.io.IOException
java.io.IOException
__DNA__FIELD__line
public int getCursor() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cursor
public void setCursor(int cursor) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cursor
public int getType() throws java.io.IOException
Only for use when in the 'scrollback' listbase.
java.io.IOException
__DNA__FIELD__type
public void setType(int type) throws java.io.IOException
Only for use when in the 'scrollback' listbase.
java.io.IOException
__DNA__FIELD__type
public CPointer<ConsoleLine> __io__addressof()