com.jniwrapper
Class Pointer.OutOnly

java.lang.Object
  |
  +--com.jniwrapper.Parameter
        |
        +--com.jniwrapper.Pointer
              |
              +--com.jniwrapper.Pointer.OutOnly
Enclosing class:
Pointer

public static class Pointer.OutOnly
extends Pointer

Represents a pointer to object with undefined initial value. Skips writing initial value of the referenced object.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.Pointer
Pointer.Const, Pointer.OutOnly, Pointer.Void
 
Field Summary
 
Fields inherited from class com.jniwrapper.Pointer
POINTER_LENGTH
 
Constructor Summary
Pointer.OutOnly(Parameter ref)
          Constructs a new pointer to the given object.
 
Method Summary
 java.lang.Object clone()
           
 void write(DataBuffer stackBuffer, int offset)
          Writes this parameter to a specified data source.
 
Methods inherited from class com.jniwrapper.Pointer
acceptIOPerformer, checkMemHandleLength, getLength, getPointerHandle, getReferencedObject, isNull, pop, read, read, readPointer, readReferencedObject, setExternalSource, setNull, setReferencedObject, setReferencedObject, toString, write, writePointer, writeReferencedObject
 
Methods inherited from class com.jniwrapper.Parameter
asReturnValue, equals, getAlignedLength, getBuffer, getOffset, indent, push, setBuffer, toByteArray
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pointer.OutOnly

public Pointer.OutOnly(Parameter ref)
Constructs a new pointer to the given object. Constructed pointer is a non-null pointer parameter that points to the memory area big enough to hold the given object.

Parameters:
ref - referenced object.
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class Pointer

write

public void write(DataBuffer stackBuffer,
                  int offset)
           throws MemoryAccessViolationException
Description copied from class: Parameter
Writes this parameter to a specified data source.

Overrides:
write in class Pointer
MemoryAccessViolationException