org.rococoa.cocoa
Class CFRange

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.rococoa.cocoa.CFRange
All Implemented Interfaces:
com.sun.jna.Structure.ByValue
Direct Known Subclasses:
NSRange

public class CFRange
extends com.sun.jna.Structure
implements com.sun.jna.Structure.ByValue

Author:
pixel

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue
 
Field Summary
 CFIndex length
           
 CFIndex location
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
CFRange()
           
CFRange(CFIndex location, CFIndex length)
           
 
Method Summary
 long getEndLocation()
           
 long getLength()
           
 long getLocation()
           
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoRead, autoRead, autoWrite, autoWrite, 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

location

public CFIndex location

length

public CFIndex length
Constructor Detail

CFRange

public CFRange()

CFRange

public CFRange(CFIndex location,
               CFIndex length)
Method Detail

getLength

public long getLength()

getLocation

public long getLocation()

getEndLocation

public long getEndLocation()


Copyright © 2009. All Rights Reserved.