Class 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.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$, $Id$
    Author:
    Christopher Brooks
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Constructor Summary

      Constructors 
      Constructor Description
      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.