public class BoidRule extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct BoidRule.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BoidRule(BoidRule that) |
|
BoidRule(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BoidRule> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
CPointer<BoidRule> |
getNext()
Get method for struct member 'next'.
|
CPointer<BoidRule> |
getPrev()
Get method for struct member 'prev'.
|
int |
getType()
Get method for struct member 'type'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setNext(CPointer<BoidRule> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<BoidRule> prev)
Set method for struct member 'prev'.
|
void |
setType(int type)
Set method for struct member 'type'.
|
__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 BoidRule.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
BoidRule boidrule = ...; CPointer<Object> p = boidrule.__dna__addressof(BoidRule.__DNA__FIELD__next); CPointer<CPointer<BoidRule>> p_next = p.cast(new Class[]{CPointer.class, BoidRule.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
BoidRule boidrule = ...; CPointer<Object> p = boidrule.__dna__addressof(BoidRule.__DNA__FIELD__prev); CPointer<CPointer<BoidRule>> p_prev = p.cast(new Class[]{CPointer.class, BoidRule.class});
public static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
BoidRule boidrule = ...; CPointer<Object> p = boidrule.__dna__addressof(BoidRule.__DNA__FIELD__type); CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
BoidRule boidrule = ...; CPointer<Object> p = boidrule.__dna__addressof(BoidRule.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__name
This is how you get a reference on the corresponding field in the struct:
BoidRule boidrule = ...; CPointer<Object> p = boidrule.__dna__addressof(BoidRule.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public BoidRule(long __address, Block __block, BlockTable __blockTable)
protected BoidRule(BoidRule that)
public CPointer<BoidRule> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<BoidRule> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<BoidRule> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<BoidRule> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public int getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(int type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
java.io.IOException
__DNA__FIELD__name