public class Pointer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
function
This variable indicates if the field is a function pointer.
|
Constructor and Description |
---|
Pointer(int pointerLevel,
boolean function,
BlenderContext blenderContext)
Constructr.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Structure> |
fetchData()
This method fetches the data stored under the given address.
|
void |
fill(BlenderInputStream inputStream)
This method fills the pointer with its address value (it doesn't get the actual data yet.
|
long |
getOldMemoryAddress()
This method returns the old memory address of the structure pointed by the pointer.
|
int |
hashCode() |
boolean |
isFunction()
This method indicates if this pointer points to a function.
|
boolean |
isNotNull()
This method indicates if this is a null-pointer or not.
|
boolean |
isNull()
This method indicates if this is a null-pointer or not.
|
java.lang.String |
toString() |
public boolean function
public Pointer(int pointerLevel, boolean function, BlenderContext blenderContext)
pointerLevel
- the level of the pointerfunction
- this variable indicates if the field is a function pointerblenderContext
- the repository f data; used in fetching the value that the pointer pointspublic void fill(BlenderInputStream inputStream)
inputStream
- the stream we read the pointer value frompublic java.util.List<Structure> fetchData() throws BlenderFileException
BlenderFileException
- this exception is thrown when the blend file structure is somehow invalid or corruptedpublic boolean isFunction()
public boolean isNull()
public boolean isNotNull()
public long getOldMemoryAddress()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object