Package org.blender.dna
Class IDPropertyData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.IDPropertyData
-
public class IDPropertyData extends CFacade
Generated facet for DNA struct type 'IDPropertyData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__group
Field descriptor (offset) for struct member 'group'.static long[]
__DNA__FIELD__pointer
Field descriptor (offset) for struct member 'pointer'.static long[]
__DNA__FIELD__val
Field descriptor (offset) for struct member 'val'.static long[]
__DNA__FIELD__val2
Field descriptor (offset) for struct member 'val2'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct IDPropertyData.-
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 IDPropertyData(long __address, Block __block, BlockTable __blockTable)
protected
IDPropertyData(IDPropertyData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<IDPropertyData>
__io__addressof()
Instantiates a pointer on this instance.ListBase
getGroup()
Get method for struct member 'group'.CPointer<java.lang.Object>
getPointer()
Get method for struct member 'pointer'.int
getVal()
Get method for struct member 'val'.int
getVal2()
Get method for struct member 'val2'.void
setGroup(ListBase group)
Set method for struct member 'group'.void
setPointer(CPointer<java.lang.Object> pointer)
Set method for struct member 'pointer'.void
setVal(int val)
Set method for struct member 'val'.void
setVal2(int val2)
Set method for struct member 'val2'.-
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 IDPropertyData.It is required when allocating a new block to store data for IDPropertyData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__pointer
public static final long[] __DNA__FIELD__pointer
Field descriptor (offset) for struct member 'pointer'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
IDPropertyData idpropertydata = ...; CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__pointer); CPointer<CPointer<Object>> p_pointer = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'pointer'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__group
public static final long[] __DNA__FIELD__group
Field descriptor (offset) for struct member 'group'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
IDPropertyData idpropertydata = ...; CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__group); CPointer<ListBase> p_group = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'group'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__val
public static final long[] __DNA__FIELD__val
Field descriptor (offset) for struct member 'val'.Field Documentation
Blender Source Code
NOTE: we actually fit a double into these two 32bit integers.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
IDPropertyData idpropertydata = ...; CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__val); CPointer<Integer> p_val = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'val'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__val2
public static final long[] __DNA__FIELD__val2
Field descriptor (offset) for struct member 'val2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
IDPropertyData idpropertydata = ...; CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__val2); CPointer<Integer> p_val2 = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'val2'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
IDPropertyData
public IDPropertyData(long __address, Block __block, BlockTable __blockTable)
-
IDPropertyData
protected IDPropertyData(IDPropertyData that)
-
-
Method Detail
-
getPointer
public CPointer<java.lang.Object> getPointer() throws java.io.IOException
Get method for struct member 'pointer'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pointer
-
setPointer
public void setPointer(CPointer<java.lang.Object> pointer) throws java.io.IOException
Set method for struct member 'pointer'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pointer
-
getGroup
public ListBase getGroup() throws java.io.IOException
Get method for struct member 'group'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__group
-
setGroup
public void setGroup(ListBase group) throws java.io.IOException
Set method for struct member 'group'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__group
-
getVal
public int getVal() throws java.io.IOException
Get method for struct member 'val'.Field Documentation
Blender Source Code
NOTE: we actually fit a double into these two 32bit integers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__val
-
setVal
public void setVal(int val) throws java.io.IOException
Set method for struct member 'val'.Field Documentation
Blender Source Code
NOTE: we actually fit a double into these two 32bit integers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__val
-
getVal2
public int getVal2() throws java.io.IOException
Get method for struct member 'val2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__val2
-
setVal2
public void setVal2(int val2) throws java.io.IOException
Set method for struct member 'val2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__val2
-
__io__addressof
public CPointer<IDPropertyData> __io__addressof()
Instantiates a pointer on this instance.
-
-