public class Key extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__block
Field descriptor (offset) for struct member 'block'.
|
static long[] |
__DNA__FIELD__ctime
Field descriptor (offset) for struct member 'ctime'.
|
static long[] |
__DNA__FIELD__elemsize
Field descriptor (offset) for struct member 'elemsize'.
|
static long[] |
__DNA__FIELD__elemstr
Field descriptor (offset) for struct member 'elemstr'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__from
Field descriptor (offset) for struct member 'from'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__ipo
Field descriptor (offset) for struct member 'ipo'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__pad2
Field descriptor (offset) for struct member 'pad2'.
|
static long[] |
__DNA__FIELD__refkey
Field descriptor (offset) for struct member 'refkey'.
|
static long[] |
__DNA__FIELD__totkey
Field descriptor (offset) for struct member 'totkey'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__uidgen
Field descriptor (offset) for struct member 'uidgen'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Key.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
Key(Key that) |
|
Key(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<Key> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
ListBase |
getBlock()
Get method for struct member 'block'.
|
float |
getCtime()
Get method for struct member 'ctime'.
|
int |
getElemsize()
Get method for struct member 'elemsize'.
|
CArrayFacade<java.lang.Byte> |
getElemstr()
Get method for struct member 'elemstr'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CPointer<ID> |
getFrom()
Get method for struct member 'from'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<Ipo> |
getIpo()
Get method for struct member 'ipo'.
|
int |
getPad()
Get method for struct member 'pad'.
|
byte |
getPad2()
Get method for struct member 'pad2'.
|
CPointer<KeyBlock> |
getRefkey()
Get method for struct member 'refkey'.
|
int |
getTotkey()
Get method for struct member 'totkey'.
|
byte |
getType()
Get method for struct member 'type'.
|
int |
getUidgen()
Get method for struct member 'uidgen'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setBlock(ListBase block)
Set method for struct member 'block'.
|
void |
setCtime(float ctime)
Set method for struct member 'ctime'.
|
void |
setElemsize(int elemsize)
Set method for struct member 'elemsize'.
|
void |
setElemstr(CArrayFacade<java.lang.Byte> elemstr)
Set method for struct member 'elemstr'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setFrom(CPointer<ID> from)
Set method for struct member 'from'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setIpo(CPointer<Ipo> ipo)
Set method for struct member 'ipo'.
|
void |
setPad(int pad)
Set method for struct member 'pad'.
|
void |
setPad2(byte pad2)
Set method for struct member 'pad2'.
|
void |
setRefkey(CPointer<KeyBlock> refkey)
Set method for struct member 'refkey'.
|
void |
setTotkey(int totkey)
Set method for struct member 'totkey'.
|
void |
setType(byte type)
Set method for struct member 'type'.
|
void |
setUidgen(int uidgen)
Set method for struct member 'uidgen'.
|
__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 Key.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__refkey
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__refkey); CPointer<CPointer<KeyBlock>> p_refkey = p.cast(new Class[]{CPointer.class, KeyBlock.class});
public static final long[] __DNA__FIELD__elemstr
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__elemstr); CPointer<CArrayFacade<Byte>> p_elemstr = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__elemsize
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__elemsize); CPointer<Integer> p_elemsize = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__pad); CPointer<Integer> p_pad = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__block
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__block); CPointer<ListBase> p_block = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__ipo
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
public static final long[] __DNA__FIELD__from
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__from); CPointer<CPointer<ID>> p_from = p.cast(new Class[]{CPointer.class, ID.class});
public static final long[] __DNA__FIELD__totkey
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__totkey); CPointer<Integer> p_totkey = 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:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__type); CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__pad2
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__pad2); CPointer<Byte> p_pad2 = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__ctime
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__ctime); CPointer<Float> p_ctime = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__uidgen
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__uidgen); CPointer<Integer> p_uidgen = p.cast(new Class[]{Integer.class});
public Key(long __address, Block __block, BlockTable __blockTable)
protected Key(Key that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<AnimData> getAdt() throws java.io.IOException
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
java.io.IOException
__DNA__FIELD__adt
public CPointer<KeyBlock> getRefkey() throws java.io.IOException
java.io.IOException
__DNA__FIELD__refkey
public void setRefkey(CPointer<KeyBlock> refkey) throws java.io.IOException
java.io.IOException
__DNA__FIELD__refkey
public CArrayFacade<java.lang.Byte> getElemstr() throws java.io.IOException
java.io.IOException
__DNA__FIELD__elemstr
public void setElemstr(CArrayFacade<java.lang.Byte> elemstr) throws java.io.IOException
java.io.IOException
__DNA__FIELD__elemstr
public int getElemsize() throws java.io.IOException
java.io.IOException
__DNA__FIELD__elemsize
public void setElemsize(int elemsize) throws java.io.IOException
java.io.IOException
__DNA__FIELD__elemsize
public int getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(int pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public ListBase getBlock() throws java.io.IOException
java.io.IOException
__DNA__FIELD__block
public void setBlock(ListBase block) throws java.io.IOException
java.io.IOException
__DNA__FIELD__block
public CPointer<Ipo> getIpo() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(CPointer<Ipo> ipo) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ipo
public CPointer<ID> getFrom() throws java.io.IOException
java.io.IOException
__DNA__FIELD__from
public void setFrom(CPointer<ID> from) throws java.io.IOException
java.io.IOException
__DNA__FIELD__from
public int getTotkey() throws java.io.IOException
java.io.IOException
__DNA__FIELD__totkey
public void setTotkey(int totkey) throws java.io.IOException
java.io.IOException
__DNA__FIELD__totkey
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 byte getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(byte type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public byte getPad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2
public void setPad2(byte pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2
public float getCtime() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ctime
public void setCtime(float ctime) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ctime
public int getUidgen() throws java.io.IOException
java.io.IOException
__DNA__FIELD__uidgen
public void setUidgen(int uidgen) throws java.io.IOException
java.io.IOException
__DNA__FIELD__uidgen