org.rococoa.cocoa.osservices
Class OTData

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.osservices.OTData
Direct Known Subclasses:
OTData.ByReference, OTData.ByValue

public class OTData
extends com.ochafik.lang.jnaerator.runtime.Structure

OTData is used in a TNetbuf or netbuf to send
non-contiguous data. Set the 'len' field of the netbuf to the
constant kNetbufDataIsOTData to signal that the 'buf' field of the
netbuf actually points to one of these structures instead of a
memory buffer.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class OTData.ByReference
           
static class OTData.ByValue
           
 
Field Summary
 Pointer fData
           
 Pointer fNext
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
OTData()
           
OTData(Pointer fNext, Pointer fData)
           
 
Method Summary
 OTData.ByReference byReference()
           
 OTData.ByValue byValue()
           
 OTData clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fNext

public Pointer fNext

fData

public Pointer fData
Constructor Detail

OTData

public OTData()

OTData

public OTData(Pointer fNext,
              Pointer fData)
Method Detail

byReference

public OTData.ByReference byReference()

byValue

public OTData.ByValue byValue()

clone

public OTData clone()
Overrides:
clone in class Object