com.moesol.tests.com_server
Class NON_OLE_AUTO_STRUCT

java.lang.Object
  extended by com.moesol.bindings.NativeStructure
      extended by com.moesol.tests.com_server.NON_OLE_AUTO_STRUCT
All Implemented Interfaces:
Comparable

public class NON_OLE_AUTO_STRUCT
extends NativeStructure

* IDL: [ helpstring(""), ]
struct/union


Nested Class Summary
static class NON_OLE_AUTO_STRUCT.Array
          Represent a native array of these structures
 
Field Summary
static int OFFSET_m_string_pointer
           
static Class TYPELIB
           
static GUID UUID
           
 
Constructor Summary
NON_OLE_AUTO_STRUCT()
          Create a new instance.
NON_OLE_AUTO_STRUCT(ByteBuffer bb)
          Create a new instance on a byte buffer.
 
Method Summary
 short[] _get_m_string_pointer()
           
 void _set_m_string_pointer(short[] v)
           
 String get_m_string_pointer()
           
 int getDynamicSize()
          Get dynamic size in bytes.
 void set_m_string_pointer(String v)
           
static int sizeof()
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPELIB

public static final Class TYPELIB

UUID

public static final GUID UUID

OFFSET_m_string_pointer

public static final int OFFSET_m_string_pointer
See Also:
Constant Field Values
Constructor Detail

NON_OLE_AUTO_STRUCT

public NON_OLE_AUTO_STRUCT()
Create a new instance.


NON_OLE_AUTO_STRUCT

public NON_OLE_AUTO_STRUCT(ByteBuffer bb)
Create a new instance on a byte buffer.

Method Detail

sizeof

public static int sizeof()

_set_m_string_pointer

public void _set_m_string_pointer(short[] v)

Parameters:
v - new m_string_pointer value

_get_m_string_pointer

public short[] _get_m_string_pointer()

Returns:
m_string_pointer value

set_m_string_pointer

public void set_m_string_pointer(String v)

Parameters:
v - new m_string_pointer value

get_m_string_pointer

public String get_m_string_pointer()

Returns:
m_string_pointer 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


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.