StructureReadContext (JNA API)

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jna
Class StructureReadContext

    java.lang.Object
      com.sun.jna.FromNativeContext
          com.sun.jna.StructureReadContext

    public class StructureReadContext

extends FromNativeContext

Provide native to Java type conversion context for a `Structure` field read.

Constructor Summary
`StructureReadContext(Structure struct, Field field)`

Method Summary
`Field` | `getField()` Get the `Field` being read from native memory.
`Structure` | `getStructure()` Get the `Structure` the field is a member of.

Methods inherited from class com.sun.jna.FromNativeContext
`getTargetType`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StructureReadContext

    StructureReadContext(Structure struct,
                         Field field)

Method Detail

### getStructure

    public Structure getStructure()

  Get the `Structure` the field is a member of.

### getField

    public Field getField()

  Get the `Field` being read from native memory.

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007-2010 Timothy Wall. All Rights Reserved.