public class LinkData extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.
|
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 int |
__DNA__SDNA_INDEX
This is the sdna index of the struct LinkData.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
LinkData(LinkData that) |
|
LinkData(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<LinkData> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<java.lang.Object> |
getData()
Get method for struct member 'data'.
|
CPointer<LinkData> |
getNext()
Get method for struct member 'next'.
|
CPointer<LinkData> |
getPrev()
Get method for struct member 'prev'.
|
void |
setData(CPointer<java.lang.Object> data)
Set method for struct member 'data'.
|
void |
setNext(CPointer<LinkData> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<LinkData> prev)
Set method for struct member 'prev'.
|
__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 LinkData.
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:
LinkData linkdata = ...; CPointer<Object> p = linkdata.__dna__addressof(LinkData.__DNA__FIELD__next); CPointer<CPointer<LinkData>> p_next = p.cast(new Class[]{CPointer.class, LinkData.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
LinkData linkdata = ...; CPointer<Object> p = linkdata.__dna__addressof(LinkData.__DNA__FIELD__prev); CPointer<CPointer<LinkData>> p_prev = p.cast(new Class[]{CPointer.class, LinkData.class});
public static final long[] __DNA__FIELD__data
This is how you get a reference on the corresponding field in the struct:
LinkData linkdata = ...; CPointer<Object> p = linkdata.__dna__addressof(LinkData.__DNA__FIELD__data); CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
public LinkData(long __address, Block __block, BlockTable __blockTable)
protected LinkData(LinkData that)
public CPointer<LinkData> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<LinkData> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<LinkData> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<LinkData> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<java.lang.Object> getData() throws java.io.IOException
java.io.IOException
__DNA__FIELD__data
public void setData(CPointer<java.lang.Object> data) throws java.io.IOException
java.io.IOException
__DNA__FIELD__data