public class TreeStoreElem extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__nr
Field descriptor (offset) for struct member 'nr'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__used
Field descriptor (offset) for struct member 'used'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct TreeStoreElem.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
TreeStoreElem(long __address,
Block __block,
BlockTable __blockTable) |
protected |
TreeStoreElem(TreeStoreElem that) |
Modifier and Type | Method and Description |
---|---|
CPointer<TreeStoreElem> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CPointer<ID> |
getId()
Get method for struct member 'id'.
|
short |
getNr()
Get method for struct member 'nr'.
|
short |
getType()
Get method for struct member 'type'.
|
short |
getUsed()
Get method for struct member 'used'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setId(CPointer<ID> id)
Set method for struct member 'id'.
|
void |
setNr(short nr)
Set method for struct member 'nr'.
|
void |
setType(short type)
Set method for struct member 'type'.
|
void |
setUsed(short used)
Set method for struct member 'used'.
|
__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 TreeStoreElem.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
TreeStoreElem treestoreelem = ...; CPointer<Object> p = treestoreelem.__dna__addressof(TreeStoreElem.__DNA__FIELD__type); CPointer<Short> p_type = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__nr
This is how you get a reference on the corresponding field in the struct:
TreeStoreElem treestoreelem = ...; CPointer<Object> p = treestoreelem.__dna__addressof(TreeStoreElem.__DNA__FIELD__nr); CPointer<Short> p_nr = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
TreeStoreElem treestoreelem = ...; CPointer<Object> p = treestoreelem.__dna__addressof(TreeStoreElem.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__used
This is how you get a reference on the corresponding field in the struct:
TreeStoreElem treestoreelem = ...; CPointer<Object> p = treestoreelem.__dna__addressof(TreeStoreElem.__DNA__FIELD__used); CPointer<Short> p_used = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__id
XXX We actually also store non-ID data in this pointer for identifying the TreeStoreElem
for a TreeElement when rebuilding the tree. Ugly!
This is how you get a reference on the corresponding field in the struct:
TreeStoreElem treestoreelem = ...; CPointer<Object> p = treestoreelem.__dna__addressof(TreeStoreElem.__DNA__FIELD__id); CPointer<CPointer<ID>> p_id = p.cast(new Class[]{CPointer.class, ID.class});
public TreeStoreElem(long __address, Block __block, BlockTable __blockTable)
protected TreeStoreElem(TreeStoreElem that)
public short getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(short type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public short getNr() throws java.io.IOException
java.io.IOException
__DNA__FIELD__nr
public void setNr(short nr) throws java.io.IOException
java.io.IOException
__DNA__FIELD__nr
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public short getUsed() throws java.io.IOException
java.io.IOException
__DNA__FIELD__used
public void setUsed(short used) throws java.io.IOException
java.io.IOException
__DNA__FIELD__used
public CPointer<ID> getId() throws java.io.IOException
XXX We actually also store non-ID data in this pointer for identifying the TreeStoreElem
for a TreeElement when rebuilding the tree. Ugly!
java.io.IOException
__DNA__FIELD__id
public void setId(CPointer<ID> id) throws java.io.IOException
XXX We actually also store non-ID data in this pointer for identifying the TreeStoreElem
for a TreeElement when rebuilding the tree. Ugly!
java.io.IOException
__DNA__FIELD__id
public CPointer<TreeStoreElem> __io__addressof()