org.rococoa.cocoa.osservices
Class TOption
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.osservices.TOption
- Direct Known Subclasses:
- TOption.ByReference, TOption.ByValue
public class TOption
- extends com.ochafik.lang.jnaerator.runtime.Structure
This structure describes the contents of a single option in a buffer.
It differs from TOptionHeader in that it includes the value field,
which acts as an unbounded array representing the value of the option.
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.
Constructor Summary |
TOption()
|
TOption(int level,
int name,
int status,
int[] value)
|
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 |
level
public int level
- of option value in bytes
protocol affected
name
public int name
status
public int status
value
public int[] value
TOption
public TOption()
TOption
public TOption(int level,
int name,
int status,
int[] value)
- Parameters:
level
- of option value in bytes
protocol affected
name
- option name
status
- status value
value
- data goes here
byReference
public TOption.ByReference byReference()
byValue
public TOption.ByValue byValue()
clone
public TOption clone()
- Overrides:
clone
in class Object