Package | Description |
---|---|
org.cakelab.blender.nio | |
org.cakelab.blender.utils |
This package contains optional utility classes to use with generated DNA API classes.
|
Modifier and Type | Class and Description |
---|---|
class |
CArrayFacade<T>
This is the facade class for fixed length arrays.
|
class |
CPointerMutable<T>
This class is the mutable variant of
CPointer . |
Modifier and Type | Method and Description |
---|---|
CPointer<java.lang.Object> |
CFacade.__io__addressof(long[] fieldDescriptor)
This method creates a void pointer on the field identified by
'fieldDescriptor' of the struct represented by the facade
(see static fields __DNA__FIELD__<fieldname> in the facades).
|
static <T extends CFacade> |
CFacade.__io__addressof(T object)
This method creates a pointer on the given instance (object).
|
<U> CPointer<U> |
CPointer.cast(java.lang.Class<?>[] types)
Type cast for pointers with multiple levels of indirection
(pointer on pointer).
|
<U> CPointer<U> |
CPointer.cast(java.lang.Class<U> type)
Type cast for pointers with just one indirection.
|
CPointer<T> |
CPointer.plus(int value)
plus(int) returns new instance with the result
of the addition. |
Modifier and Type | Method and Description |
---|---|
void |
CPointerMutable.assign(CPointer<T> address)
Equivalent to
|
Constructor and Description |
---|
CPointer(CPointer<T> other)
Copy constructor.
|
CPointerMutable(CPointer<T> pointer)
Constructor to turn a pointer into a mutable pointer.
|
CPointerMutable(CPointer<T> pointer,
long address) |
Modifier and Type | Method and Description |
---|---|
CPointer<java.lang.Object> |
BlenderFactoryBase.getNullPointer()
Returns a null pointer object associated with the blender file of this factory.
|
static CPointer<java.lang.Object> |
BlenderFactoryBase.getNullPointer(BlenderFile blend)
Create a null pointer object associated with the given blender file.
|
<T> CPointer<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList)
Factory instance method equivalent to
BlenderFactoryBase.newCPointerBlock(Identifier, Class[], BlenderFile) . |
static <T> CPointer<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
BlenderFile blend)
This method creates a block with a single pointer in it.
|
Modifier and Type | Method and Description |
---|---|
<T> CPointer<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList)
Factory instance method equivalent to
BlenderFactoryBase.newCPointerBlock(Identifier, Class[], BlenderFile) . |
static <T> CPointer<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
BlenderFile blend)
This method creates a block with a single pointer in it.
|
<T> CArrayFacade<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
int count)
Factory instance method equivalent to
BlenderFactoryBase.newCPointerBlock(Identifier, Class[], int count, BlenderFile) . |
static <T> CArrayFacade<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
int count,
BlenderFile blend)
This method creates a block with a set of pointers and returns an array facet to
access them.
|