Class ConsoleLine
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ConsoleLine
-
public class ConsoleLine extends CFacade
Generated facet for DNA struct type 'ConsoleLine'.Class Documentation
Blender Source Code
Console content.
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 ConsoleLine(long __address, Block __block, BlockTable __blockTable)
protected
ConsoleLine(ConsoleLine that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ConsoleLine>
__io__addressof()
Instantiates a pointer on this instance.int
getCursor()
Get method for struct member 'cursor'.int
getLen()
Get method for struct member 'len'.int
getLen_alloc()
Get method for struct member 'len_alloc'.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(int len)
Set method for struct member 'len'.void
setLen_alloc(int len_alloc)
Set method for struct member 'len_alloc'.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'.-
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 ConsoleLine.It is required when allocating a new block to store data for ConsoleLine.
- 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:
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});
Metadata
- Field: 'next'
- Signature: 'ConsoleLine*'
- 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:
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});
Metadata
- Field: 'prev'
- Signature: 'ConsoleLine*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__len_alloc
public static final long[] __DNA__FIELD__len_alloc
Field descriptor (offset) for struct member 'len_alloc'.Field Documentation
Blender Source Code
Keep these 3 vars so as to share free, realloc functions. Allocated length.
Pointer Arithmetics
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});
Metadata
- Field: 'len_alloc'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__len
public static final long[] __DNA__FIELD__len
Field descriptor (offset) for struct member 'len'.Field Documentation
Blender Source Code
Real len - strlen().
Pointer Arithmetics
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});
Metadata
- Field: 'len'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__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:
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});
Metadata
- Field: 'line'
- Signature: 'char*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__cursor
public static final long[] __DNA__FIELD__cursor
Field descriptor (offset) for struct member 'cursor'.Pointer Arithmetics
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});
Metadata
- Field: 'cursor'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__type
public static final long[] __DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.Field Documentation
Blender Python API
Console line type when used in scrollbackBlender Source Code
Only for use when in the 'scrollback' listbase.
Pointer Arithmetics
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});
Metadata
- Field: 'type'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ConsoleLine
public ConsoleLine(long __address, Block __block, BlockTable __blockTable)
-
ConsoleLine
protected ConsoleLine(ConsoleLine that)
-
-
Method Detail
-
getNext
public CPointer<ConsoleLine> 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<ConsoleLine> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<ConsoleLine> 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<ConsoleLine> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getLen_alloc
public int getLen_alloc() throws java.io.IOException
Get method for struct member 'len_alloc'.Field Documentation
Blender Source Code
Keep these 3 vars so as to share free, realloc functions. Allocated length.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__len_alloc
-
setLen_alloc
public void setLen_alloc(int len_alloc) throws java.io.IOException
Set method for struct member 'len_alloc'.Field Documentation
Blender Source Code
Keep these 3 vars so as to share free, realloc functions. Allocated length.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__len_alloc
-
getLen
public int getLen() throws java.io.IOException
Get method for struct member 'len'.Field Documentation
Blender Source Code
Real len - strlen().
- 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
Real len - strlen().
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__len
-
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
-
getCursor
public int getCursor() throws java.io.IOException
Get method for struct member 'cursor'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cursor
-
setCursor
public void setCursor(int cursor) throws java.io.IOException
Set method for struct member 'cursor'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cursor
-
getType
public int getType() throws java.io.IOException
Get method for struct member 'type'.Field Documentation
Blender Python API
Console line type when used in scrollbackBlender Source Code
Only for use when in the 'scrollback' listbase.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
setType
public void setType(int type) throws java.io.IOException
Set method for struct member 'type'.Field Documentation
Blender Python API
Console line type when used in scrollbackBlender Source Code
Only for use when in the 'scrollback' listbase.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
__io__addressof
public CPointer<ConsoleLine> __io__addressof()
Instantiates a pointer on this instance.
-
-