public class WorkSpaceLayout extends CFacade
Wrapper for bScreen
.
#bScreens are IDs and thus stored in a main list-base. We also want to store a list-base of them within the workspace (so each workspace can have its own set of screen-layouts) which would mess with the next/prev pointers. So we use this struct to wrap a bScreen
pointer with another pair of next/prev pointers.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
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__screen
Field descriptor (offset) for struct member 'screen'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct WorkSpaceLayout.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
WorkSpaceLayout(long __address,
Block __block,
BlockTable __blockTable) |
protected |
WorkSpaceLayout(WorkSpaceLayout that) |
Modifier and Type | Method and Description |
---|---|
CPointer<WorkSpaceLayout> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
CPointer<WorkSpaceLayout> |
getNext()
Get method for struct member 'next'.
|
CPointer<WorkSpaceLayout> |
getPrev()
Get method for struct member 'prev'.
|
CPointer<bScreen> |
getScreen()
Get method for struct member 'screen'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setNext(CPointer<WorkSpaceLayout> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<WorkSpaceLayout> prev)
Set method for struct member 'prev'.
|
void |
setScreen(CPointer<bScreen> screen)
Set method for struct member 'screen'.
|
__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 WorkSpaceLayout.
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:
WorkSpaceLayout workspacelayout = ...; CPointer<Object> p = workspacelayout.__dna__addressof(WorkSpaceLayout.__DNA__FIELD__next); CPointer<CPointer<WorkSpaceLayout>> p_next = p.cast(new Class[]{CPointer.class, WorkSpaceLayout.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
WorkSpaceLayout workspacelayout = ...; CPointer<Object> p = workspacelayout.__dna__addressof(WorkSpaceLayout.__DNA__FIELD__prev); CPointer<CPointer<WorkSpaceLayout>> p_prev = p.cast(new Class[]{CPointer.class, WorkSpaceLayout.class});
public static final long[] __DNA__FIELD__screen
This is how you get a reference on the corresponding field in the struct:
WorkSpaceLayout workspacelayout = ...; CPointer<Object> p = workspacelayout.__dna__addressof(WorkSpaceLayout.__DNA__FIELD__screen); CPointer<CPointer<bScreen>> p_screen = p.cast(new Class[]{CPointer.class, bScreen.class});
public static final long[] __DNA__FIELD__name
The name of this layout, we override the RNA name of the screen with this (but not ID
name itself) MAX_NAME.
This is how you get a reference on the corresponding field in the struct:
WorkSpaceLayout workspacelayout = ...; CPointer<Object> p = workspacelayout.__dna__addressof(WorkSpaceLayout.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public WorkSpaceLayout(long __address, Block __block, BlockTable __blockTable)
protected WorkSpaceLayout(WorkSpaceLayout that)
public CPointer<WorkSpaceLayout> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<WorkSpaceLayout> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<WorkSpaceLayout> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<WorkSpaceLayout> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<bScreen> getScreen() throws java.io.IOException
java.io.IOException
__DNA__FIELD__screen
public void setScreen(CPointer<bScreen> screen) throws java.io.IOException
java.io.IOException
__DNA__FIELD__screen
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
The name of this layout, we override the RNA name of the screen with this (but not ID
name itself) MAX_NAME.
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
The name of this layout, we override the RNA name of the screen with this (but not ID
name itself) MAX_NAME.
java.io.IOException
__DNA__FIELD__name
public CPointer<WorkSpaceLayout> __io__addressof()