com.jniwrapper.win32.automation.types
Class SafeArray.SafeArrayStructure

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Structure
          extended bycom.jniwrapper.win32.automation.types.SafeArray.SafeArrayStructure
All Implemented Interfaces:
AlignmentAwareParameter, CompositeParameter
Enclosing class:
SafeArray

public class SafeArray.SafeArrayStructure
extends Structure

This class represents SAFEARRAY Data Type.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
SafeArray.SafeArrayStructure()
           
SafeArray.SafeArrayStructure(SafeArray.SafeArrayStructure that)
           
 
Method Summary
 java.lang.Object clone()
           
 ComplexArray getBounds()
          Returns the arrays of SafeArrayBound elements.
 ExternalArrayPointer getData()
          Returns the pointer to the data.
 int getDims()
          Returns the number of dimensions in the array.
 int getElements()
          Returns the size of an element of the array.
 SafeArray.SafeArrayAttributes getFeatures()
          Returns the flags used by the array.
 int getLocks()
          Returns the number of the array locks.
 void setDims(int value)
          Sets the new number of dimensions in the array.
 void setElements(long value)
          Sets the new size of an element of the array.
 void setFeatures(SafeArray.SafeArrayAttributes value)
          Returns the new flags used by the array.
 void setLocks(long value)
          Sets the new number of locks.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeArray.SafeArrayStructure

public SafeArray.SafeArrayStructure()

SafeArray.SafeArrayStructure

public SafeArray.SafeArrayStructure(SafeArray.SafeArrayStructure that)
Method Detail

getDims

public int getDims()
Returns the number of dimensions in the array.

Returns:
the number of dimensions in the array.

setDims

public void setDims(int value)
Sets the new number of dimensions in the array.

Parameters:
value - new number of dimensions in the array.

getFeatures

public SafeArray.SafeArrayAttributes getFeatures()
Returns the flags used by the array.

Returns:
the flags used by the array.

setFeatures

public void setFeatures(SafeArray.SafeArrayAttributes value)
Returns the new flags used by the array.

Parameters:
value - the new flags used by the array.

getElements

public int getElements()
Returns the size of an element of the array.

Returns:
the size of an element of the array.

setElements

public void setElements(long value)
Sets the new size of an element of the array.

Parameters:
value - the new size of an element of the array.

getLocks

public int getLocks()
Returns the number of the array locks.

Returns:
the number of the array locks.

setLocks

public void setLocks(long value)
Sets the new number of locks.

Parameters:
value - the new number of locks.

getData

public ExternalArrayPointer getData()
Returns the pointer to the data.

Returns:
the pointer to the data.

getBounds

public ComplexArray getBounds()
Returns the arrays of SafeArrayBound elements. One bound for each dimension of the array.

Returns:
the arrays of array bounds. One bound per each dimension of the array.

clone

public java.lang.Object clone()