Class TreeStoreElem
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.TreeStoreElem
-
public class TreeStoreElem extends CFacade
Generated facet for DNA struct type 'TreeStoreElem'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description TreeStoreElem(long __address, Block __block, BlockTable __blockTable)
protected
TreeStoreElem(TreeStoreElem that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct TreeStoreElem.It is required when allocating a new block to store data for TreeStoreElem.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__type
public static final long[] __DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.Pointer Arithmetics
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});
Metadata
- Field: 'type'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__nr
public static final long[] __DNA__FIELD__nr
Field descriptor (offset) for struct member 'nr'.Pointer Arithmetics
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});
Metadata
- Field: 'nr'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
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});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__used
public static final long[] __DNA__FIELD__used
Field descriptor (offset) for struct member 'used'.Pointer Arithmetics
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});
Metadata
- Field: 'used'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Field Documentation
Blender Source Code
XXX We actually also store non-ID data in this pointer for identifying the
TreeStoreElem
for a #TreeElement when rebuilding the tree. Ugly!Pointer Arithmetics
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});
Metadata
- Field: 'id'
- Signature: 'ID*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
TreeStoreElem
public TreeStoreElem(long __address, Block __block, BlockTable __blockTable)
-
TreeStoreElem
protected TreeStoreElem(TreeStoreElem that)
-
-
Method Detail
-
getType
public short getType() throws java.io.IOException
Get method for struct member 'type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
setType
public void setType(short type) throws java.io.IOException
Set method for struct member 'type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
getNr
public short getNr() throws java.io.IOException
Get method for struct member 'nr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__nr
-
setNr
public void setNr(short nr) throws java.io.IOException
Set method for struct member 'nr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__nr
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getUsed
public short getUsed() throws java.io.IOException
Get method for struct member 'used'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__used
-
setUsed
public void setUsed(short used) throws java.io.IOException
Set method for struct member 'used'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__used
-
getId
public CPointer<ID> getId() throws java.io.IOException
Get method for struct member 'id'.Field Documentation
Blender Source Code
XXX We actually also store non-ID data in this pointer for identifying the
TreeStoreElem
for a #TreeElement when rebuilding the tree. Ugly!- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(CPointer<ID> id) throws java.io.IOException
Set method for struct member 'id'.Field Documentation
Blender Source Code
XXX We actually also store non-ID data in this pointer for identifying the
TreeStoreElem
for a #TreeElement when rebuilding the tree. Ugly!- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
__io__addressof
public CPointer<TreeStoreElem> __io__addressof()
Instantiates a pointer on this instance.
-
-