Class DwordByReference

java.lang.Object
com.sun.jna.PointerType
com.sun.jna.ptr.ByReference
de.gematik.smartcards.pcsc.lib.DwordByReference
All Implemented Interfaces:
com.sun.jna.NativeMapped

public final class DwordByReference extends com.sun.jna.ptr.ByReference
Pointer to a DWORD (LPDWORD) type used by WinSCard.h.

Note: According to the needs of NativeMappedConverter.defaultValue() the visibility of this class has to be "public".

Author:
gematik
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor results in a "pointer" to a Dword with value 0.
    Comfort constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns value pointed to by this pointer.

    Methods inherited from class com.sun.jna.ptr.ByReference

    toString

    Methods inherited from class com.sun.jna.PointerType

    equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DwordByReference

      public DwordByReference()
      Default constructor results in a "pointer" to a Dword with value 0.

      Note: According to requirements of NativeMappedConverter.defaultValue() a public no-arg constructor is needed in this class.

    • DwordByReference

      public DwordByReference(Dword value)
      Comfort constructor.
      Parameters:
      value - to be referenced
  • Method Details

    • getValue

      public Dword getValue()
      Returns value pointed to by this pointer.

      For the return value a new Dword object is created.

      Returns:
      referenced value as Dword