com.develop.jawin
Class ShortRef

java.lang.Object
  extended bycom.develop.jawin.Variant
      extended bycom.develop.jawin.ObjectRef
          extended bycom.develop.jawin.ShortRef
All Implemented Interfaces:
VarTypes, WellKnownGUIDs

public class ShortRef
extends ObjectRef

Short referenced value holder

Author:
Cyril

Field Summary
 
Fields inherited from class com.develop.jawin.Variant
SIZEOF
 
Fields inherited from interface com.develop.jawin.constants.VarTypes
VARIANT_FALSE, VARIANT_TRUE, VT_ARRAY, VT_BLOB, VT_BLOB_OBJECT, VT_BOOL, VT_BSTR, VT_BYREF, VT_CARRAY, VT_CF, VT_CLSID, VT_CY, VT_DATE, VT_DECIMAL, VT_DISPATCH, VT_EMPTY, VT_ERROR, VT_FILETIME, VT_HRESULT, VT_I1, VT_I2, VT_I4, VT_I8, VT_ILLEGAL, VT_ILLEGALMASKED, VT_INT, VT_LPSTR, VT_LPWSTR, VT_NULL, VT_PTR, VT_R4, VT_R8, VT_RESERVED, VT_SAFEARRAY, VT_STORAGE, VT_STORED_OBJECT, VT_STREAM, VT_STREAMED_OBJECT, VT_TYPEMASK, VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_UINT, VT_UNKNOWN, VT_USERDEFINED, VT_VARIANT, VT_VECTOR, VT_VOID
 
Fields inherited from interface com.develop.jawin.constants.WellKnownGUIDs
IID_IClassFactory, IID_IDispatch, IID_IEnumVariant, IID_IUnknown
 
Constructor Summary
ShortRef()
          Cretes new ShortRef empty referenced value
ShortRef(short obj)
          Creates a new instance of ShortRef with a short value
 
Method Summary
 short getValue()
          Returns a short referenced value
 
Methods inherited from class com.develop.jawin.ObjectRef
getRef, setRef
 
Methods inherited from class com.develop.jawin.Variant
marshalIn, marshalInRef, marshalOut, marshalOutArray, marshalOutArraySkip, marshalOutRef, marshalOutSkip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortRef

public ShortRef()
Cretes new ShortRef empty referenced value


ShortRef

public ShortRef(short obj)
Creates a new instance of ShortRef with a short value

Parameters:
obj - value
Method Detail

getValue

public short getValue()
Returns a short referenced value

Returns:
short value


Composia Soft Ltd. Designed by Vitally Shelest. .