de.intarsys.nativec.type
Class NativeSimpleType

java.lang.Object
  extended by de.intarsys.nativec.type.NativeType
      extended by de.intarsys.nativec.type.NativeSimpleType
All Implemented Interfaces:
INativeType
Direct Known Subclasses:
NativeNumberType, NativeVoidType

public class NativeSimpleType
extends NativeType

The meta class implementation


Constructor Summary
protected NativeSimpleType()
           
 
Method Summary
 int getPreferredBoundary()
          The boundary where this type as a struct member would want to be aligned.
 
Methods inherited from class de.intarsys.nativec.type.NativeType
Array, createNative, createNative, getByteCount, lookup, Ref, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeSimpleType

protected NativeSimpleType()
Method Detail

getPreferredBoundary

public int getPreferredBoundary()
Description copied from interface: INativeType
The boundary where this type as a struct member would want to be aligned. A structure can override this value with packing.

Returns:
The preferred alignment boundary.