intarsys nativeC library

de.intarsys.nativec.type
Class NativeGenericStruct

java.lang.Object
  extended by de.intarsys.nativec.type.NativeObject
      extended by de.intarsys.nativec.type.NativeStruct
          extended by de.intarsys.nativec.type.NativeGenericStruct
All Implemented Interfaces:
INativeObject

public class NativeGenericStruct
extends NativeStruct

The generic struct may change its type at runtime.


Field Summary
 
Fields inherited from class de.intarsys.nativec.type.NativeStruct
META
 
Fields inherited from class de.intarsys.nativec.type.NativeObject
DEBUG, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_SHORT
 
Method Summary
 INativeType getNativeType()
          The meta information and behavior for the NativeObject.
 NativeStructType getStructType()
           
 void setNativeType(NativeStructType type)
           
 
Methods inherited from class de.intarsys.nativec.type.NativeStruct
getByteCount, getNativeObject, getValue, setValue, toNestedString, toString
 
Methods inherited from class de.intarsys.nativec.type.NativeObject
cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getNativeType

public INativeType getNativeType()
Description copied from class: NativeObject
The meta information and behavior for the NativeObject.

There is exactly one meta instance for all NativeObject instances of a certain type.

Specified by:
getNativeType in interface INativeObject
Specified by:
getNativeType in class NativeObject
Returns:
The meta information and behavior for the NativeObject.

getStructType

public NativeStructType getStructType()
Overrides:
getStructType in class NativeStruct

setNativeType

public void setNativeType(NativeStructType type)

intarsys nativeC library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.