|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.scene.plugins.blender.file.Pointer
public class Pointer
A class that represents a pointer of any level that can be stored in the file.
Field Summary | |
---|---|
boolean |
function
This variable indicates if the field is a function pointer. |
Constructor Summary | |
---|---|
Pointer(int pointerLevel,
boolean function,
BlenderContext blenderContext)
Constructr. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<Structure> |
fetchData(BlenderInputStream inputStream)
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean function
Constructor Detail |
---|
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 pointsMethod Detail |
---|
public void fill(BlenderInputStream inputStream)
inputStream
- the stream we read the pointer value frompublic java.util.List<Structure> fetchData(BlenderInputStream inputStream) throws BlenderFileException
inputStream
- the stream we read data from
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |