org.bridj
Class StructObject

java.lang.Object
  extended by org.bridj.NativeObject
      extended by org.bridj.StructObject
All Implemented Interfaces:
NativeObjectInterface
Direct Known Subclasses:
CPoint, CPPObject, CY, DECIMAL, GUID, IDispatch.DISPPARAMS, IDispatch.EXCEPINFO, ITaskbarList3.THUMBBUTTON, JAWT, JAWT_DrawingSurface, JAWT_DrawingSurfaceInfo, JAWT_Rectangle, OLEAutomationLibrary.CUSTDATA, OLEAutomationLibrary.CUSTDATAITEM, OLEAutomationLibrary.DATE, OLEAutomationLibrary.DISPPARAMS, OLEAutomationLibrary.EXCEPINFO, OLEAutomationLibrary.INTERFACEDATA, OLEAutomationLibrary.METHODDATA, OLEAutomationLibrary.NUMPARSE, OLEAutomationLibrary.PARAMDATA, OLEAutomationLibrary.SYSTEMTIME, OLEAutomationLibrary.UDATE, RECT, SAFEARRAY, SAFEARRAYBOUND, TimeT.timeval, VARIANT, VARIANT.__VARIANT_NAME_1_union, VARIANT.__VARIANT_NAME_1_union.__tagVARIANT, VARIANT.__VARIANT_NAME_1_union.__tagVARIANT.__VARIANT_NAME_3_union, VARIANT.__VARIANT_NAME_1_union.__tagVARIANT.__VARIANT_NAME_3_union.__tagBRECORD

public abstract class StructObject
extends NativeObject

Base class for C structs.

Author:
Olivier

Field Summary
protected  StructIO io
           
 
Fields inherited from class org.bridj.NativeObject
peer, typeInfo
 
Constructor Summary
protected StructObject()
           
protected StructObject(Pointer<? extends StructObject> peer)
           
protected StructObject(Void voidArg, int constructorId, Object... args)
          Identified constructor with an arbirary number of arguments
 
Method Summary
 String toString()
          Creates a String out of this struct using BridJ.describe(this) (see BridJ.describe(NativeObject)).
 
Methods inherited from class org.bridj.NativeObject
clone, equals
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

io

protected StructIO io
Constructor Detail

StructObject

protected StructObject()

StructObject

protected StructObject(Void voidArg,
                       int constructorId,
                       Object... args)
Identified constructor with an arbirary number of arguments

Parameters:
voidArg - always null, here to disambiguate some sub-constructors
constructorId - identifier of the constructor, has to match a Constructor annotation or be -1.
args -

StructObject

protected StructObject(Pointer<? extends StructObject> peer)
Method Detail

toString

public String toString()
Creates a String out of this struct using BridJ.describe(this) (see BridJ.describe(NativeObject)).

Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.