org.rococoa.cocoa.ats
Class sfntDirectory

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<sfntDirectory,sfntDirectory.ByValue,sfntDirectory.ByReference>
          extended by org.rococoa.cocoa.ats.sfntDirectory
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<sfntDirectory,sfntDirectory.ByValue,sfntDirectory.ByReference>>
Direct Known Subclasses:
sfntDirectory.ByReference, sfntDirectory.ByValue

public class sfntDirectory
extends Structure<sfntDirectory,sfntDirectory.ByValue,sfntDirectory.ByReference>

The search fields limits numOffsets to 4096.
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ATS.framework/Headers/SFNTTypes.h:44
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
          table[numOffsets]
C type : sfntDirectoryEntry[1]
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
sfntDirectory()
           
sfntDirectory(int format, short numOffsets, short searchRange, short entrySelector, short rangeShift, sfntDirectoryEntry[] table)
           
 
Method Summary
static sfntDirectory[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

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
table[numOffsets]
C type : sfntDirectoryEntry[1]

Constructor Detail

sfntDirectory

public sfntDirectory()

sfntDirectory

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

newArray

public static sfntDirectory[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.