public class PackedFile extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.
|
static long[] |
__DNA__FIELD__seek
Field descriptor (offset) for struct member 'seek'.
|
static long[] |
__DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct PackedFile.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
PackedFile(long __address,
Block __block,
BlockTable __blockTable) |
protected |
PackedFile(PackedFile that) |
Modifier and Type | Method and Description |
---|---|
CPointer<PackedFile> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<java.lang.Object> |
getData()
Get method for struct member 'data'.
|
int |
getSeek()
Get method for struct member 'seek'.
|
int |
getSize()
Get method for struct member 'size'.
|
void |
setData(CPointer<java.lang.Object> data)
Set method for struct member 'data'.
|
void |
setSeek(int seek)
Set method for struct member 'seek'.
|
void |
setSize(int size)
Set method for struct member 'size'.
|
__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 PackedFile.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__size
This is how you get a reference on the corresponding field in the struct:
PackedFile packedfile = ...; CPointer<Object> p = packedfile.__dna__addressof(PackedFile.__DNA__FIELD__size); CPointer<Integer> p_size = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__seek
This is how you get a reference on the corresponding field in the struct:
PackedFile packedfile = ...; CPointer<Object> p = packedfile.__dna__addressof(PackedFile.__DNA__FIELD__seek); CPointer<Integer> p_seek = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__data
This is how you get a reference on the corresponding field in the struct:
PackedFile packedfile = ...; CPointer<Object> p = packedfile.__dna__addressof(PackedFile.__DNA__FIELD__data); CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
public PackedFile(long __address, Block __block, BlockTable __blockTable)
protected PackedFile(PackedFile that)
public int getSize() throws java.io.IOException
java.io.IOException
__DNA__FIELD__size
public void setSize(int size) throws java.io.IOException
java.io.IOException
__DNA__FIELD__size
public int getSeek() throws java.io.IOException
java.io.IOException
__DNA__FIELD__seek
public void setSeek(int seek) throws java.io.IOException
java.io.IOException
__DNA__FIELD__seek
public CPointer<java.lang.Object> getData() throws java.io.IOException
java.io.IOException
__DNA__FIELD__data
public void setData(CPointer<java.lang.Object> data) throws java.io.IOException
java.io.IOException
__DNA__FIELD__data
public CPointer<PackedFile> __io__addressof()