public class TreeStore extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.
|
static long[] |
__DNA__FIELD__totelem
Field descriptor (offset) for struct member 'totelem'.
|
static long[] |
__DNA__FIELD__usedelem
Field descriptor (offset) for struct member 'usedelem'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct TreeStore.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
TreeStore(long __address,
Block __block,
BlockTable __blockTable) |
protected |
TreeStore(TreeStore that) |
Modifier and Type | Method and Description |
---|---|
CPointer<TreeStore> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<TreeStoreElem> |
getData()
Get method for struct member 'data'.
|
int |
getTotelem()
Get method for struct member 'totelem'.
|
int |
getUsedelem()
Get method for struct member 'usedelem'.
|
void |
setData(CPointer<TreeStoreElem> data)
Set method for struct member 'data'.
|
void |
setTotelem(int totelem)
Set method for struct member 'totelem'.
|
void |
setUsedelem(int usedelem)
Set method for struct member 'usedelem'.
|
__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 TreeStore.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__totelem
This is how you get a reference on the corresponding field in the struct:
TreeStore treestore = ...; CPointer<Object> p = treestore.__dna__addressof(TreeStore.__DNA__FIELD__totelem); CPointer<Integer> p_totelem = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__usedelem
This is how you get a reference on the corresponding field in the struct:
TreeStore treestore = ...; CPointer<Object> p = treestore.__dna__addressof(TreeStore.__DNA__FIELD__usedelem); CPointer<Integer> p_usedelem = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__data
This is how you get a reference on the corresponding field in the struct:
TreeStore treestore = ...; CPointer<Object> p = treestore.__dna__addressof(TreeStore.__DNA__FIELD__data); CPointer<CPointer<TreeStoreElem>> p_data = p.cast(new Class[]{CPointer.class, TreeStoreElem.class});
public TreeStore(long __address, Block __block, BlockTable __blockTable)
protected TreeStore(TreeStore that)
public int getTotelem() throws java.io.IOException
java.io.IOException
__DNA__FIELD__totelem
public void setTotelem(int totelem) throws java.io.IOException
java.io.IOException
__DNA__FIELD__totelem
public int getUsedelem() throws java.io.IOException
java.io.IOException
__DNA__FIELD__usedelem
public void setUsedelem(int usedelem) throws java.io.IOException
java.io.IOException
__DNA__FIELD__usedelem
public CPointer<TreeStoreElem> getData() throws java.io.IOException
java.io.IOException
__DNA__FIELD__data
public void setData(CPointer<TreeStoreElem> data) throws java.io.IOException
java.io.IOException
__DNA__FIELD__data