INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "VARIANT support"
project: "Visual Eiffel Library"
revision: "$Revision: 1.2 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: wine
class EOLE_VARIANT
inherit

EOLE_OBJECT_WITH_POINTER
redefine
destroy
end
creation

make
feature

make

allocate: POINTER

destroy

clear

varcopy (other: EOLE_VARIANT)

change_type (new_type: INTEGER)

clone_with_new_type (new_type: INTEGER): EOLE_VARIANT

set_no_param

set_vartype (vartype: INTEGER)

set_integer2 (int2: INTEGER)
-- short iVal

set_integer4 (int4: INTEGER)
-- long lVal

set_real4 (real4: REAL)
-- float fltVal

set_real8 (real8: REAL)
-- double dbVal

set_boolean (bool: BOOLEAN)
-- VARIANT_BOOL bool

set_error (error_code: INTEGER)

set_currency (lo, hi: INTEGER)
-- CY cyVal

set_date (date: REAL)
-- DATE date

set_bstr (bstr: EOLE_BSTR)
-- BSTR bstrVal

set_unknown (unk: EOLE_UNKNOWN)
-- IUnknown FAR *

set_dispatch (disp: EOLE_DISPATCH)
-- IDispatch FAR *

set_safearray (sa: EOLE_SAFEARRAY)
-- SAFEARRAY FAR *

set_by_reference (ptr: POINTER; vartype: INTEGER)

get_vartype: INTEGER

get_integer2: INTEGER

get_integer4: INTEGER

get_real4: REAL

get_real8: REAL

get_boolean: BOOLEAN

get_error: INTEGER

get_currency_lo: INTEGER

get_currency_hi: INTEGER

get_date: REAL

get_bstr: EOLE_BSTR

get_unknown: EOLE_UNKNOWN

get_dispatch: EOLE_DISPATCH

get_safearray: EOLE_SAFEARRAY

get_by_refernce: EOLE_REFERENCE
end -- class EOLE_VARIANT

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES