intarsys nativeC library

de.intarsys.nativec.type
Class NativeString.MetaClass

java.lang.Object
  extended by de.intarsys.nativec.type.NativeType
      extended by de.intarsys.nativec.type.NativeJavaType
          extended by de.intarsys.nativec.type.NativeObject.MetaClass
              extended by de.intarsys.nativec.type.NativePrimitive.MetaClass
                  extended by de.intarsys.nativec.type.NativeString.MetaClass
All Implemented Interfaces:
INativeType
Enclosing class:
NativeString

public static class NativeString.MetaClass
extends NativePrimitive.MetaClass

The meta class implementation


Method Summary
 NativeObject createNative(INativeHandle handle)
          Create a new INativeObject from a INativeHandle.
 NativeObject createNative(Object value)
          Create an INativeObject for this type from the Java object.
 int getSize()
          The size of the type in c memory.
 
Methods inherited from class de.intarsys.nativec.type.NativeJavaType
getInstanceClass, lookup
 
Methods inherited from class de.intarsys.nativec.type.NativeType
Array, Ref
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createNative

public NativeObject createNative(INativeHandle handle)
Description copied from interface: INativeType
Create a new INativeObject from a INativeHandle.

Specified by:
createNative in interface INativeType
Overrides:
createNative in class NativeType
Parameters:
handle - The handle to memory.
Returns:
The new INativeObject

createNative

public NativeObject createNative(Object value)
Description copied from interface: INativeType
Create an INativeObject for this type from the Java object.

Specified by:
createNative in interface INativeType
Overrides:
createNative in class NativeType
Returns:
The new INativeObject

getSize

public int getSize()
Description copied from interface: INativeType
The size of the type in c memory.

Specified by:
getSize in interface INativeType
Overrides:
getSize in class NativeType
Returns:
The size of the type in c memory.

intarsys nativeC library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.