Package de.intarsys.nativec.type
Class NativeAbstractStringType
java.lang.Object
de.intarsys.nativec.type.NativeType
de.intarsys.nativec.type.NativeAbstractStringType
- All Implemented Interfaces:
INativeType
- Direct Known Subclasses:
NativeStringType,NativeWideStringType
A meta class implementation
-
Method Summary
Modifier and TypeMethodDescriptionintThe size of the type in c memory.intThe boundary where this type as a struct member would want to be aligned.intbooleanMethods inherited from class de.intarsys.nativec.type.NativeType
Array, createNative, createNative, lookup, Ref, register
-
Method Details
-
getByteCount
public int getByteCount()Description copied from interface:INativeTypeThe size of the type in c memory.- Specified by:
getByteCountin interfaceINativeType- Overrides:
getByteCountin classNativeType- Returns:
- The size of the type in c memory.
-
getPreferredBoundary
public int getPreferredBoundary()Description copied from interface:INativeTypeThe 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.
-
getStringSize
public int getStringSize() -
hasByteCount
public boolean hasByteCount()
-