com.moesol.tests.com_server
Class TEST_FIELDS

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

public class TEST_FIELDS
extends NativeStructure

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


Nested Class Summary
static class TEST_FIELDS.Array
          Represent a native array of these structures
 
Field Summary
static int OFFSET_m_bstr
           
static int OFFSET_m_dual
           
static int OFFSET_m_sa_byte
           
static int OFFSET_m_sa_variant
           
static int OFFSET_m_unk
           
static int OFFSET_m_variant
           
static Class TYPELIB
           
static GUID UUID
           
 
Constructor Summary
TEST_FIELDS()
          Create a new instance.
TEST_FIELDS(ByteBuffer bb)
          Create a new instance on a byte buffer.
 
Method Summary
protected  void finalize()
           
 String get_m_bstr()
           
 IDual get_m_dual()
           
 short[] get_m_sa_byte()
           
 Object[] get_m_sa_variant()
           
 IUnknown get_m_unk()
           
 Object get_m_variant()
           
 int getDynamicSize()
          Get dynamic size in bytes.
 void set_m_bstr(String v)
           
 void set_m_dual(IDual v)
           
 void set_m_sa_byte(short[] v)
           
 void set_m_sa_variant(Object[] v)
           
 void set_m_unk(IUnknown v)
           
 void set_m_variant(Object 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, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPELIB

public static final Class TYPELIB

UUID

public static final GUID UUID

OFFSET_m_bstr

public static final int OFFSET_m_bstr
See Also:
Constant Field Values

OFFSET_m_variant

public static final int OFFSET_m_variant
See Also:
Constant Field Values

OFFSET_m_unk

public static final int OFFSET_m_unk
See Also:
Constant Field Values

OFFSET_m_dual

public static final int OFFSET_m_dual
See Also:
Constant Field Values

OFFSET_m_sa_byte

public static final int OFFSET_m_sa_byte
See Also:
Constant Field Values

OFFSET_m_sa_variant

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

TEST_FIELDS

public TEST_FIELDS()
Create a new instance.


TEST_FIELDS

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

Method Detail

sizeof

public static int sizeof()

set_m_bstr

public void set_m_bstr(String v)

Parameters:
v - new m_bstr value

get_m_bstr

public String get_m_bstr()

Returns:
m_bstr value

set_m_variant

public void set_m_variant(Object v)

Parameters:
v - new m_variant value

get_m_variant

public Object get_m_variant()

Returns:
m_variant value

set_m_unk

public void set_m_unk(IUnknown v)

Parameters:
v - new m_unk value

get_m_unk

public IUnknown get_m_unk()

Returns:
m_unk value

set_m_dual

public void set_m_dual(IDual v)

Parameters:
v - new m_dual value

get_m_dual

public IDual get_m_dual()

Returns:
m_dual value

set_m_sa_byte

public void set_m_sa_byte(short[] v)

Parameters:
v - new m_sa_byte value

get_m_sa_byte

public short[] get_m_sa_byte()

Returns:
m_sa_byte value

set_m_sa_variant

public void set_m_sa_variant(Object[] v)

Parameters:
v - new m_sa_variant value

get_m_sa_variant

public Object[] get_m_sa_variant()

Returns:
m_sa_variant 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.