org.ptolemy.fmi
Class NativeSizeT

java.lang.Object
  extended by java.lang.Number
      extended by com.sun.jna.IntegerType
          extended by org.ptolemy.fmi.NativeSizeT
All Implemented Interfaces:
com.sun.jna.NativeMapped, java.io.Serializable

public class NativeSizeT
extends com.sun.jna.IntegerType

A Java representation for a C type size_t, which is 32 or 64 bits.

Version:
$Id: NativeSizeT.java 63396 2012-04-21 01:46:54Z cxh $
Author:
Christopher Brooks
See Also:
Serialized Form
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Constructor Summary
NativeSizeT()
          Construct a zero-sized object.
NativeSizeT(long value)
          Construct size_t object with the given value.
 
Method Summary
 
Methods inherited from class com.sun.jna.IntegerType
doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative, toString
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NativeSizeT

public NativeSizeT()
Construct a zero-sized object.


NativeSizeT

public NativeSizeT(long value)
Construct size_t object with the given value. The size is the size of the C size_t type, which is typically 32 or 64 bytes.

Parameters:
value - The given value.