public class ListBase extends CFacade
Library
, to provide a reference
to the first and the last element of a linked list of library objects.Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__first
Field descriptor (offset) for struct member 'first'.
|
static long[] |
__DNA__FIELD__last
Field descriptor (offset) for struct member 'last'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ListBase.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ListBase(ListBase that) |
|
ListBase(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<ListBase> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<java.lang.Object> |
getFirst()
Get method for struct member 'first'.
|
CPointer<java.lang.Object> |
getLast()
Get method for struct member 'last'.
|
void |
setFirst(CPointer<java.lang.Object> first)
Set method for struct member 'first'.
|
void |
setLast(CPointer<java.lang.Object> last)
Set method for struct member 'last'.
|
__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 ListBase.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__first
This is how you get a reference on the corresponding field in the struct:
ListBase listbase = ...; CPointer<Object> p = listbase.__dna__addressof(ListBase.__DNA__FIELD__first); CPointer<CPointer<Object>> p_first = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__last
This is how you get a reference on the corresponding field in the struct:
ListBase listbase = ...; CPointer<Object> p = listbase.__dna__addressof(ListBase.__DNA__FIELD__last); CPointer<CPointer<Object>> p_last = p.cast(new Class[]{CPointer.class, Object.class});
public ListBase(long __address, Block __block, BlockTable __blockTable)
protected ListBase(ListBase that)
public CPointer<java.lang.Object> getFirst() throws java.io.IOException
java.io.IOException
__DNA__FIELD__first
public void setFirst(CPointer<java.lang.Object> first) throws java.io.IOException
java.io.IOException
__DNA__FIELD__first
public CPointer<java.lang.Object> getLast() throws java.io.IOException
java.io.IOException
__DNA__FIELD__last
public void setLast(CPointer<java.lang.Object> last) throws java.io.IOException
java.io.IOException
__DNA__FIELD__last