org.rococoa.cocoa.ats
Class sfntDirectory

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

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

The search fields limits numOffsets to 4096.
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 sfntDirectory.ByReference
           
static class sfntDirectory.ByValue
           
 
Field Summary
 short entrySelector
           
 int format
           
 short numOffsets
           
 short rangeShift
           
 short searchRange
           
 sfntDirectoryEntry[] table
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
sfntDirectory()
           
sfntDirectory(int format, short numOffsets, short searchRange, short entrySelector, short rangeShift, sfntDirectoryEntry[] table)
           
 
Method Summary
 sfntDirectory.ByReference byReference()
           
 sfntDirectory.ByValue byValue()
           
 sfntDirectory 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

format

public int format

numOffsets

public short numOffsets

searchRange

public short searchRange

entrySelector

public short entrySelector

rangeShift

public short rangeShift

table

public sfntDirectoryEntry[] table
Constructor Detail

sfntDirectory

public sfntDirectory()

sfntDirectory

public sfntDirectory(int format,
                     short numOffsets,
                     short searchRange,
                     short entrySelector,
                     short rangeShift,
                     sfntDirectoryEntry[] table)
Parameters:
numOffsets - number of tables
searchRange - (max2 <= numOffsets)*16
entrySelector - log2(max2 <= numOffsets)
rangeShift - numOffsets*16-searchRange
table - table[numOffsets]
Method Detail

byReference

public sfntDirectory.ByReference byReference()

byValue

public sfntDirectory.ByValue byValue()

clone

public sfntDirectory clone()
Overrides:
clone in class Object