public class ID extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__icon_id
Field descriptor (offset) for struct member 'icon_id'.
|
static long[] |
__DNA__FIELD__lib
Field descriptor (offset) for struct member 'lib'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
static long[] |
__DNA__FIELD__newid
Field descriptor (offset) for struct member 'newid'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__pad2
Field descriptor (offset) for struct member 'pad2'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__properties
Field descriptor (offset) for struct member 'properties'.
|
static long[] |
__DNA__FIELD__us
Field descriptor (offset) for struct member 'us'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ID.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ID(ID that) |
|
ID(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<ID> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getFlag()
Get method for struct member 'flag'.
|
int |
getIcon_id()
Get method for struct member 'icon_id'.
|
CPointer<Library> |
getLib()
Get method for struct member 'lib'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
CPointer<ID> |
getNewid()
Get method for struct member 'newid'.
|
CPointer<java.lang.Object> |
getNext()
Get method for struct member 'next'.
|
int |
getPad2()
Get method for struct member 'pad2'.
|
CPointer<java.lang.Object> |
getPrev()
Get method for struct member 'prev'.
|
CPointer<IDProperty> |
getProperties()
Get method for struct member 'properties'.
|
int |
getUs()
Get method for struct member 'us'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setIcon_id(int icon_id)
Set method for struct member 'icon_id'.
|
void |
setLib(CPointer<Library> lib)
Set method for struct member 'lib'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setNewid(CPointer<ID> newid)
Set method for struct member 'newid'.
|
void |
setNext(CPointer<java.lang.Object> next)
Set method for struct member 'next'.
|
void |
setPad2(int pad2)
Set method for struct member 'pad2'.
|
void |
setPrev(CPointer<java.lang.Object> prev)
Set method for struct member 'prev'.
|
void |
setProperties(CPointer<IDProperty> properties)
Set method for struct member 'properties'.
|
void |
setUs(int us)
Set method for struct member 'us'.
|
__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 ID.
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:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__next); CPointer<CPointer<Object>> p_next = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__prev); CPointer<CPointer<Object>> p_prev = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__newid
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__newid); CPointer<CPointer<ID>> p_newid = p.cast(new Class[]{CPointer.class, ID.class});
public static final long[] __DNA__FIELD__lib
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__lib); CPointer<CPointer<Library>> p_lib = p.cast(new Class[]{CPointer.class, Library.class});
public static final long[] __DNA__FIELD__name
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__us
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__us); CPointer<Integer> p_us = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__icon_id
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__icon_id); CPointer<Integer> p_icon_id = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__pad2
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__pad2); CPointer<Integer> p_pad2 = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__properties
This is how you get a reference on the corresponding field in the struct:
ID id = ...; CPointer<Object> p = id.__dna__addressof(ID.__DNA__FIELD__properties); CPointer<CPointer<IDProperty>> p_properties = p.cast(new Class[]{CPointer.class, IDProperty.class});
public ID(long __address, Block __block, BlockTable __blockTable)
protected ID(ID that)
public CPointer<java.lang.Object> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<java.lang.Object> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<java.lang.Object> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<java.lang.Object> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<ID> getNewid() throws java.io.IOException
java.io.IOException
__DNA__FIELD__newid
public void setNewid(CPointer<ID> newid) throws java.io.IOException
java.io.IOException
__DNA__FIELD__newid
public CPointer<Library> getLib() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lib
public void setLib(CPointer<Library> lib) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lib
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
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 int getUs() throws java.io.IOException
java.io.IOException
__DNA__FIELD__us
public void setUs(int us) throws java.io.IOException
java.io.IOException
__DNA__FIELD__us
public int getIcon_id() throws java.io.IOException
java.io.IOException
__DNA__FIELD__icon_id
public void setIcon_id(int icon_id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__icon_id
public int getPad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2
public void setPad2(int pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2
public CPointer<IDProperty> getProperties() throws java.io.IOException
java.io.IOException
__DNA__FIELD__properties
public void setProperties(CPointer<IDProperty> properties) throws java.io.IOException
java.io.IOException
__DNA__FIELD__properties