com.moesol.tests.disp.com_server
Class NASTY_STRUCT
java.lang.Object
com.moesol.bindings.NativeStructure
com.moesol.tests.disp.com_server.NASTY_STRUCT
- All Implemented Interfaces:
- Comparable
public class NASTY_STRUCT
- extends NativeStructure
* IDL: [ helpstring(""), ]
struct/union
Nested Class Summary |
static class |
NASTY_STRUCT.Array
Represent a native array of these structures |
Methods inherited from class com.moesol.bindings.NativeStructure |
_getByteBuffer, _getStructureBytes, clearRecord, compareTo, equals, freeLpwstr, getArray, getBool, getBOOLArray, getBstr, getBSTRArray, getBstrArray, getByte, getBYTEArray, getByteArray, getByteBuffer, getByteSize, getByteString, getDate, getDouble, getDOUBLEArray, getDoubleArray, getDoubleSize, getFloat, getFLOATArray, getFloatArray, getFloatSize, getInt, getINTArray, getIntArray, getInterface, getIntSize, getLong, getLONGArray, getLongSize, getLpwstr, getPtrInt, getPtrShort, getPtrShortString, getPtrStruct, getPtrUnsignedByte, getPtrUnsignedShort, getPtrVariant, getPtrvoid, getRemaining, getSCODE, getShort, getSHORTArray, getShortArray, getShortSize, getSlice, getSlice, getString, getStruct, getStruct, getStructArray, getUINTArray, getUnsignedByte, getUnsignedByteArray, getUnsignedByteSize, getUnsignedInt, getUnsignedIntArray, getUnsignedIntSize, getUnsignedLongLong, getUnsignedLongSize, getUnsignedShort, getUnsignedShortArray, getUnsignedShortSize, getUSHORTArray, getVariant, getVARIANTArray, hashCode, order, order, putArray, putBool, putBOOLArray, putBstr, putBstrArray, putBSTRArray, putByte, putByteArray, putBYTEArray, putByteString, putDate, putDouble, putDOUBLEArray, putDoubleArray, putFloat, putFLOATArray, putFloatArray, putInt, putINTArray, putIntArray, putInterface, putLong, putLONGArray, putLpwstr, putPtrInt, putPtrShort, putPtrShortString, putPtrStruct, putPtrUnsignedByte, putPtrUnsignedShort, putPtrVariant, putPtrvoid, putSCODE, putShort, putShortArray, putSHORTArray, putString, putStruct, putStruct, putStructArray, putUINTArray, putUnsignedByte, putUnsignedByteArray, putUnsignedInt, putUnsignedIntArray, putUnsignedLongLong, putUnsignedShort, putUnsignedShortArray, putUSHORTArray, putVariant, putVARIANTArray, stringFromC, stringFromC, zero |
TYPELIB
public static final Class TYPELIB
UUID
public static final GUID UUID
OFFSET_element
public static final int OFFSET_element
- See Also:
- Constant Field Values
OFFSET_ElementType
public static final int OFFSET_ElementType
- See Also:
- Constant Field Values
OFFSET_ElementName
public static final int OFFSET_ElementName
- See Also:
- Constant Field Values
OFFSET_vps
public static final int OFFSET_vps
- See Also:
- Constant Field Values
OFFSET_saBytes
public static final int OFFSET_saBytes
- See Also:
- Constant Field Values
OFFSET_saBSTR
public static final int OFFSET_saBSTR
- See Also:
- Constant Field Values
OFFSET_saShort
public static final int OFFSET_saShort
- See Also:
- Constant Field Values
OFFSET_saUShort
public static final int OFFSET_saUShort
- See Also:
- Constant Field Values
OFFSET_saBool
public static final int OFFSET_saBool
- See Also:
- Constant Field Values
OFFSET_saLong
public static final int OFFSET_saLong
- See Also:
- Constant Field Values
OFFSET_saUINT
public static final int OFFSET_saUINT
- See Also:
- Constant Field Values
OFFSET_saDOUBLE
public static final int OFFSET_saDOUBLE
- See Also:
- Constant Field Values
OFFSET_saFLOAT
public static final int OFFSET_saFLOAT
- See Also:
- Constant Field Values
OFFSET_saINT
public static final int OFFSET_saINT
- See Also:
- Constant Field Values
OFFSET_saVARIANT
public static final int OFFSET_saVARIANT
- See Also:
- Constant Field Values
NASTY_STRUCT
public NASTY_STRUCT()
- Create a new instance.
NASTY_STRUCT
public NASTY_STRUCT(ByteBuffer bb)
- Create a new instance on a byte buffer.
sizeof
public static int sizeof()
set_element
public void set_element(Object v)
- Parameters:
v
- new element value
get_element
public Object get_element()
- Returns:
- element value
set_ElementType
public void set_ElementType(String v)
- Parameters:
v
- new ElementType value
get_ElementType
public String get_ElementType()
- Returns:
- ElementType value
set_ElementName
public void set_ElementName(String v)
- Parameters:
v
- new ElementName value
get_ElementName
public String get_ElementName()
- Returns:
- ElementName value
set_vps
public void set_vps(IDual v)
- Parameters:
v
- new vps value
get_vps
public IDual get_vps()
- Returns:
- vps value
set_saBytes
public void set_saBytes(short[] v)
- Parameters:
v
- new saBytes value
get_saBytes
public short[] get_saBytes()
- Returns:
- saBytes value
set_saBSTR
public void set_saBSTR(String[] v)
- Parameters:
v
- new saBSTR value
get_saBSTR
public String[] get_saBSTR()
- Returns:
- saBSTR value
set_saShort
public void set_saShort(short[] v)
- Parameters:
v
- new saShort value
get_saShort
public short[] get_saShort()
- Returns:
- saShort value
set_saUShort
public void set_saUShort(char[] v)
- Parameters:
v
- new saUShort value
get_saUShort
public char[] get_saUShort()
- Returns:
- saUShort value
set_saBool
public void set_saBool(int[] v)
- Parameters:
v
- new saBool value
get_saBool
public int[] get_saBool()
- Returns:
- saBool value
set_saLong
public void set_saLong(int[] v)
- Parameters:
v
- new saLong value
get_saLong
public int[] get_saLong()
- Returns:
- saLong value
set_saUINT
public void set_saUINT(long[] v)
- Parameters:
v
- new saUINT value
get_saUINT
public long[] get_saUINT()
- Returns:
- saUINT value
set_saDOUBLE
public void set_saDOUBLE(double[] v)
- Parameters:
v
- new saDOUBLE value
get_saDOUBLE
public double[] get_saDOUBLE()
- Returns:
- saDOUBLE value
set_saFLOAT
public void set_saFLOAT(float[] v)
- Parameters:
v
- new saFLOAT value
get_saFLOAT
public float[] get_saFLOAT()
- Returns:
- saFLOAT value
set_saINT
public void set_saINT(int[] v)
- Parameters:
v
- new saINT value
get_saINT
public int[] get_saINT()
- Returns:
- saINT value
set_saVARIANT
public void set_saVARIANT(Object[] v)
- Parameters:
v
- new saVARIANT value
get_saVARIANT
public Object[] get_saVARIANT()
- Returns:
- saVARIANT value
getDynamicSize
public int getDynamicSize()
- Get dynamic size in bytes.
If this structure contains a variable size array,
return the number of bytes needed to hold the fixed
part and the variable sized array based on the [length_is()]
attribute. Note that the sizeof method on returns the
size of the fixed part plus the size of one array entry.
- Returns:
- dynamic size in bytes.
toString
public String toString()
- Overrides:
toString
in class Object
finalize
protected void finalize()
- Overrides:
finalize
in class Object
Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.