org.rococoa.cocoa.corefoundation
Class CFAllocatorContext

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

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

native declaration : /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h
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 CFAllocatorContext.ByReference
           
static class CFAllocatorContext.ByValue
           
 
Field Summary
 CoreFoundationLibrary.CFAllocatorAllocateCallBack allocate
           
 CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription
           
 CoreFoundationLibrary.CFAllocatorDeallocateCallBack deallocate
           
 Pointer info
           
 CoreFoundationLibrary.CFAllocatorPreferredSizeCallBack preferredSize
           
 CoreFoundationLibrary.CFAllocatorReallocateCallBack reallocate
           
 CoreFoundationLibrary.CFAllocatorReleaseCallBack release
           
 CoreFoundationLibrary.CFAllocatorRetainCallBack retain
           
 NativeLong version
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
CFAllocatorContext()
           
CFAllocatorContext(NativeLong version, Pointer info, CoreFoundationLibrary.CFAllocatorRetainCallBack retain, CoreFoundationLibrary.CFAllocatorReleaseCallBack release, CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription, CoreFoundationLibrary.CFAllocatorAllocateCallBack allocate, CoreFoundationLibrary.CFAllocatorReallocateCallBack reallocate, CoreFoundationLibrary.CFAllocatorDeallocateCallBack deallocate, CoreFoundationLibrary.CFAllocatorPreferredSizeCallBack preferredSize)
           
 
Method Summary
static CFAllocatorContext[] 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

version

public NativeLong version

info

public Pointer info

retain

public CoreFoundationLibrary.CFAllocatorRetainCallBack retain

release

public CoreFoundationLibrary.CFAllocatorReleaseCallBack release

copyDescription

public CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription

allocate

public CoreFoundationLibrary.CFAllocatorAllocateCallBack allocate

reallocate

public CoreFoundationLibrary.CFAllocatorReallocateCallBack reallocate

deallocate

public CoreFoundationLibrary.CFAllocatorDeallocateCallBack deallocate

preferredSize

public CoreFoundationLibrary.CFAllocatorPreferredSizeCallBack preferredSize
Constructor Detail

CFAllocatorContext

public CFAllocatorContext()

CFAllocatorContext

public CFAllocatorContext(NativeLong version,
                          Pointer info,
                          CoreFoundationLibrary.CFAllocatorRetainCallBack retain,
                          CoreFoundationLibrary.CFAllocatorReleaseCallBack release,
                          CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription,
                          CoreFoundationLibrary.CFAllocatorAllocateCallBack allocate,
                          CoreFoundationLibrary.CFAllocatorReallocateCallBack reallocate,
                          CoreFoundationLibrary.CFAllocatorDeallocateCallBack deallocate,
                          CoreFoundationLibrary.CFAllocatorPreferredSizeCallBack preferredSize)
Parameters:
version - C type : CFIndex
info - C type : void*
retain - C type : CFAllocatorRetainCallBack
release - C type : CFAllocatorReleaseCallBack
copyDescription - C type : CFAllocatorCopyDescriptionCallBack
allocate - C type : CFAllocatorAllocateCallBack
reallocate - C type : CFAllocatorReallocateCallBack
deallocate - C type : CFAllocatorDeallocateCallBack
preferredSize - C type : CFAllocatorPreferredSizeCallBack
Method Detail

newArray

public static CFAllocatorContext[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.