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 |
CPointer<T>
Objects of this class represent a C pointer in Java.
|
class |
CPointerMutable<T>
This class is the mutable variant of
CPointer . |
Modifier and Type | Method and Description |
---|---|
static <T extends CFacade> |
CFacade.__io__addressof(T object)
This method creates a pointer on the given instance (object).
|
Modifier and Type | Method and Description |
---|---|
static CFacade |
CFacade.__io__newInstance(java.lang.Class<? extends CFacade> type,
long address,
Block block,
BlockTable blockTable)
Creates a new facade instance of the given type.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
CFacade.__io__equals(CFacade facade,
long address)
Tests whether the facade, this method was called on, references the given address in the same file as the given facade.
|
protected void |
CArrayFacade.__io__generic__copy(CFacade sourceArray)
This method does a highlevel copy of the given source to this object.
|
protected void |
CFacade.__io__generic__copy(CFacade source)
This method does a highlevel copy of the given source to this object.
|
protected static void |
CFacade.__io__generic__copy(CFacade target,
CFacade source)
Does a high-level copy (meber by member) from source to target.
|
static boolean |
CFacade.__io__instanceof(CFacade object,
java.lang.Class<?> clazz)
Tests whether the given object is an instance of class clazz
or some subclass of class clazz.
|
protected static void |
CFacade.__io__native__copy(Block targetBlock,
long targetAddress,
CFacade source)
This method performs a low level copy of the given object to
the given target address in the target block.
|
protected boolean |
CFacade.__io__same__encoding(CFacade facadeA,
CFacade facadeB)
Tests whether the underlying data blocks of both facades use the
same encoding (byte order and address length).
|
Modifier and Type | Method and Description |
---|---|
static CFacade |
CFacade.__io__newInstance(java.lang.Class<? extends CFacade> type,
long address,
Block block,
BlockTable blockTable)
Creates a new facade instance of the given type.
|
Constructor and Description |
---|
CFacade(CFacade other,
long targetAddress)
Copy constructor, which assigns the instantiated facade to a
another address.
|
Modifier and Type | Method and Description |
---|---|
<T extends CFacade> |
BlenderFactoryBase.newCStructBlock(Identifier blockCode,
java.lang.Class<T> facetClass)
Factory instance method equivalent to
BlenderFactoryBase.newCStructBlock(Identifier, Class, BlenderFile) . |
static <T extends CFacade> |
BlenderFactoryBase.newCStructBlock(Identifier blockCode,
java.lang.Class<T> facetClass,
BlenderFile blend)
Allocate a new block for one instance of a C struct.
|
<T extends CFacade> |
BlenderFactoryBase.newCStructBlock(Identifier blockCode,
java.lang.Class<T> facetClass,
int count)
Factory instance method equivalent to
BlenderFactoryBase.newCStructBlock(Identifier, Class, int, BlenderFile) . |
static <T extends CFacade> |
BlenderFactoryBase.newCStructBlock(Identifier blockCode,
java.lang.Class<T> facetClass,
int count,
BlenderFile blend)
Allocate a new block for multiple instances of a C struct.
|
Modifier and Type | Method and Description |
---|---|
protected abstract CFacade |
MainLibBase.getFirst(CFacade libElem) |
Modifier and Type | Method and Description |
---|---|
protected abstract CFacade |
MainLibBase.getFirst(CFacade libElem) |