public class ColorBand extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.
|
static long[] |
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__ipotype
Field descriptor (offset) for struct member 'ipotype'.
|
static long[] |
__DNA__FIELD__tot
Field descriptor (offset) for struct member 'tot'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ColorBand.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ColorBand(ColorBand that) |
|
ColorBand(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<ColorBand> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getCur()
Get method for struct member 'cur'.
|
CArrayFacade<CBData> |
getData()
Get method for struct member 'data'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
short |
getIpotype()
Get method for struct member 'ipotype'.
|
short |
getTot()
Get method for struct member 'tot'.
|
void |
setCur(short cur)
Set method for struct member 'cur'.
|
void |
setData(CArrayFacade<CBData> data)
Set method for struct member 'data'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setIpotype(short ipotype)
Set method for struct member 'ipotype'.
|
void |
setTot(short tot)
Set method for struct member 'tot'.
|
__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 ColorBand.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__tot
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__tot); CPointer<Short> p_tot = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__cur
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__cur); CPointer<Short> p_cur = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__ipotype
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__ipotype); CPointer<Short> p_ipotype = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__data
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__data); CPointer<CArrayFacade<CBData>> p_data = p.cast(new Class[]{CArrayFacade.class, CBData.class});
public ColorBand(long __address, Block __block, BlockTable __blockTable)
protected ColorBand(ColorBand that)
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 getTot() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot
public void setTot(short tot) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot
public short getCur() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur
public void setCur(short cur) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cur
public short getIpotype() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ipotype
public void setIpotype(short ipotype) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ipotype
public CArrayFacade<CBData> getData() throws java.io.IOException
java.io.IOException
__DNA__FIELD__data
public void setData(CArrayFacade<CBData> data) throws java.io.IOException
java.io.IOException
__DNA__FIELD__data