Class Text
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Text
-
public class Text extends CFacade
Generated facet for DNA struct type 'Text'.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__compiled
Field descriptor (offset) for struct member 'compiled'.static long[]
__DNA__FIELD__curc
Field descriptor (offset) for struct member 'curc'.static long[]
__DNA__FIELD__curl
Field descriptor (offset) for struct member 'curl'.static long[]
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__lines
Field descriptor (offset) for struct member 'lines'.static long[]
__DNA__FIELD__mtime
Field descriptor (offset) for struct member 'mtime'.static long[]
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.static long[]
__DNA__FIELD__selc
Field descriptor (offset) for struct member 'selc'.static long[]
__DNA__FIELD__sell
Field descriptor (offset) for struct member 'sell'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Text.-
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 Text(long __address, Block __block, BlockTable __blockTable)
protected
Text(Text that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Text>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad0()
Get method for struct member '_pad0'.CPointer<java.lang.Object>
getCompiled()
Get method for struct member 'compiled'.int
getCurc()
Get method for struct member 'curc'.CPointer<TextLine>
getCurl()
Get method for struct member 'curl'.int
getFlags()
Get method for struct member 'flags'.ID
getId()
Get method for struct member 'id'.ListBase
getLines()
Get method for struct member 'lines'.double
getMtime()
Get method for struct member 'mtime'.CPointer<java.lang.Byte>
getName()
Get method for struct member 'name'.int
getSelc()
Get method for struct member 'selc'.CPointer<TextLine>
getSell()
Get method for struct member 'sell'.void
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.void
setCompiled(CPointer<java.lang.Object> compiled)
Set method for struct member 'compiled'.void
setCurc(int curc)
Set method for struct member 'curc'.void
setCurl(CPointer<TextLine> curl)
Set method for struct member 'curl'.void
setFlags(int flags)
Set method for struct member 'flags'.void
setId(ID id)
Set method for struct member 'id'.void
setLines(ListBase lines)
Set method for struct member 'lines'.void
setMtime(double mtime)
Set method for struct member 'mtime'.void
setName(CPointer<java.lang.Byte> name)
Set method for struct member 'name'.void
setSelc(int selc)
Set method for struct member 'selc'.void
setSell(CPointer<TextLine> sell)
Set method for struct member 'sell'.-
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 Text.It is required when allocating a new block to store data for Text.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__name
public static final long[] __DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__name); CPointer<CPointer<Byte>> p_name = p.cast(new Class[]{CPointer.class, Byte.class});
Metadata
- Field: 'name'
- Signature: 'char*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__compiled
public static final long[] __DNA__FIELD__compiled
Field descriptor (offset) for struct member 'compiled'.Field Documentation
Blender Source Code
Python code object for this text (cached result of #Py_CompileStringObject).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__compiled); CPointer<CPointer<Object>> p_compiled = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'compiled'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__flags
public static final long[] __DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__flags); CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flags'
- 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:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__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
-
__DNA__FIELD__lines
public static final long[] __DNA__FIELD__lines
Field descriptor (offset) for struct member 'lines'.Field Documentation
Blender Python API
(read-only) Lines of textPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__lines); CPointer<ListBase> p_lines = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'lines'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__curl
public static final long[] __DNA__FIELD__curl
Field descriptor (offset) for struct member 'curl'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__curl); CPointer<CPointer<TextLine>> p_curl = p.cast(new Class[]{CPointer.class, TextLine.class});
Metadata
- Field: 'curl'
- Signature: 'TextLine*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__sell
public static final long[] __DNA__FIELD__sell
Field descriptor (offset) for struct member 'sell'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__sell); CPointer<CPointer<TextLine>> p_sell = p.cast(new Class[]{CPointer.class, TextLine.class});
Metadata
- Field: 'sell'
- Signature: 'TextLine*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__curc
public static final long[] __DNA__FIELD__curc
Field descriptor (offset) for struct member 'curc'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__curc); CPointer<Integer> p_curc = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'curc'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__selc
public static final long[] __DNA__FIELD__selc
Field descriptor (offset) for struct member 'selc'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__selc); CPointer<Integer> p_selc = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'selc'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mtime
public static final long[] __DNA__FIELD__mtime
Field descriptor (offset) for struct member 'mtime'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Text text = ...; CPointer<Object> p = text.__dna__addressof(Text.__DNA__FIELD__mtime); CPointer<Double> p_mtime = p.cast(new Class[]{Double.class});
Metadata
- Field: 'mtime'
- Signature: 'double'
- Actual Size (32bit/64bit): 8/8
-
-
Constructor Detail
-
Text
public Text(long __address, Block __block, BlockTable __blockTable)
-
Text
protected Text(Text that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getName
public CPointer<java.lang.Byte> getName() throws java.io.IOException
Get method for struct member 'name'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
setName
public void setName(CPointer<java.lang.Byte> name) throws java.io.IOException
Set method for struct member 'name'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
getCompiled
public CPointer<java.lang.Object> getCompiled() throws java.io.IOException
Get method for struct member 'compiled'.Field Documentation
Blender Source Code
Python code object for this text (cached result of #Py_CompileStringObject).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__compiled
-
setCompiled
public void setCompiled(CPointer<java.lang.Object> compiled) throws java.io.IOException
Set method for struct member 'compiled'.Field Documentation
Blender Source Code
Python code object for this text (cached result of #Py_CompileStringObject).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__compiled
-
getFlags
public int getFlags() throws java.io.IOException
Get method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
setFlags
public void setFlags(int flags) throws java.io.IOException
Set method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
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
-
getLines
public ListBase getLines() throws java.io.IOException
Get method for struct member 'lines'.Field Documentation
Blender Python API
(read-only) Lines of text- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lines
-
setLines
public void setLines(ListBase lines) throws java.io.IOException
Set method for struct member 'lines'.Field Documentation
Blender Python API
(read-only) Lines of text- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lines
-
getCurl
public CPointer<TextLine> getCurl() throws java.io.IOException
Get method for struct member 'curl'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curl
-
setCurl
public void setCurl(CPointer<TextLine> curl) throws java.io.IOException
Set method for struct member 'curl'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curl
-
getSell
public CPointer<TextLine> getSell() throws java.io.IOException
Get method for struct member 'sell'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sell
-
setSell
public void setSell(CPointer<TextLine> sell) throws java.io.IOException
Set method for struct member 'sell'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sell
-
getCurc
public int getCurc() throws java.io.IOException
Get method for struct member 'curc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curc
-
setCurc
public void setCurc(int curc) throws java.io.IOException
Set method for struct member 'curc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curc
-
getSelc
public int getSelc() throws java.io.IOException
Get method for struct member 'selc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__selc
-
setSelc
public void setSelc(int selc) throws java.io.IOException
Set method for struct member 'selc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__selc
-
getMtime
public double getMtime() throws java.io.IOException
Get method for struct member 'mtime'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mtime
-
setMtime
public void setMtime(double mtime) throws java.io.IOException
Set method for struct member 'mtime'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mtime
-
-