Package org.blender.dna
Class MDefCell
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MDefCell
-
public class MDefCell extends CFacade
Generated facet for DNA struct type 'MDefCell'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.static long[]
__DNA__FIELD__totinfluence
Field descriptor (offset) for struct member 'totinfluence'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MDefCell.-
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 MDefCell(long __address, Block __block, BlockTable __blockTable)
protected
MDefCell(MDefCell that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MDefCell>
__io__addressof()
Instantiates a pointer on this instance.int
getOffset()
Get method for struct member 'offset'.int
getTotinfluence()
Get method for struct member 'totinfluence'.void
setOffset(int offset)
Set method for struct member 'offset'.void
setTotinfluence(int totinfluence)
Set method for struct member 'totinfluence'.-
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 MDefCell.It is required when allocating a new block to store data for MDefCell.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__offset
public static final long[] __DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDefCell mdefcell = ...; CPointer<Object> p = mdefcell.__dna__addressof(MDefCell.__DNA__FIELD__offset); CPointer<Integer> p_offset = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'offset'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__totinfluence
public static final long[] __DNA__FIELD__totinfluence
Field descriptor (offset) for struct member 'totinfluence'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDefCell mdefcell = ...; CPointer<Object> p = mdefcell.__dna__addressof(MDefCell.__DNA__FIELD__totinfluence); CPointer<Integer> p_totinfluence = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totinfluence'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
MDefCell
public MDefCell(long __address, Block __block, BlockTable __blockTable)
-
MDefCell
protected MDefCell(MDefCell that)
-
-
Method Detail
-
getOffset
public int getOffset() throws java.io.IOException
Get method for struct member 'offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
setOffset
public void setOffset(int offset) throws java.io.IOException
Set method for struct member 'offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
getTotinfluence
public int getTotinfluence() throws java.io.IOException
Get method for struct member 'totinfluence'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totinfluence
-
setTotinfluence
public void setTotinfluence(int totinfluence) throws java.io.IOException
Set method for struct member 'totinfluence'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totinfluence
-
-