Package de.intarsys.nativec.type
Class NativeLongType
- java.lang.Object
-
- de.intarsys.nativec.type.NativeType
-
- de.intarsys.nativec.type.NativeSimpleType
-
- de.intarsys.nativec.type.NativeNumberType
-
- de.intarsys.nativec.type.NativeLongType
-
- All Implemented Interfaces:
INativeType
public class NativeLongType extends NativeNumberType
The meta class implementation
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NativeLongType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INativeObject
createNative(INativeHandle handle)
Create a newINativeObject
from aINativeHandle
.INativeObject
createNative(java.lang.Object value)
Create anINativeObject
for this type from the Java object.int
getByteCount()
The size of the type in c memory.-
Methods inherited from class de.intarsys.nativec.type.NativeSimpleType
getPreferredBoundary
-
Methods inherited from class de.intarsys.nativec.type.NativeType
Array, lookup, Ref, register
-
-
-
-
Method Detail
-
createNative
public INativeObject createNative(INativeHandle handle)
Description copied from interface:INativeType
Create a newINativeObject
from aINativeHandle
.- Specified by:
createNative
in interfaceINativeType
- Overrides:
createNative
in classNativeType
- Parameters:
handle
- The handle to memory.- Returns:
- The new
INativeObject
-
createNative
public INativeObject createNative(java.lang.Object value)
Description copied from interface:INativeType
Create anINativeObject
for this type from the Java object.- Specified by:
createNative
in interfaceINativeType
- Overrides:
createNative
in classNativeType
- Returns:
- The new
INativeObject
-
getByteCount
public int getByteCount()
Description copied from interface:INativeType
The size of the type in c memory.- Specified by:
getByteCount
in interfaceINativeType
- Overrides:
getByteCount
in classNativeType
- Returns:
- The size of the type in c memory.
-
-