com.smardec.j2native
Interface PointerType

All Known Implementing Classes:
PointerArgument

public interface PointerType

This interface represents a pointer to object in terms of C language


Method Summary
 Argument getReferencedArgument()
          Returns the referenced object of this pointer
 long getValue()
          Returns native memory handle
 boolean isNull()
          Tests if this pointer is null.
 void setValue(long handle)
          Sets memory handle
 

Method Detail

getValue

public long getValue()
Returns native memory handle


setValue

public void setValue(long handle)
Sets memory handle

Parameters:
handle - memory handle

isNull

public boolean isNull()
Tests if this pointer is null.

Returns:
boolean

getReferencedArgument

public Argument getReferencedArgument()
Returns the referenced object of this pointer

Returns:
referenced object


Copyright © 2004-2006 Smardec. All Rights Reserved.