Module: IP2DataStreamEvents

Includes:
WIN32OLE::VARIANT
Defined in:
lib/ole20110223-013209.rb

Overview

IP2DataStreamEvents Interface

Constant Summary

Constants included from WIN32OLE::VARIANT

WIN32OLE::VARIANT::VT_ARRAY, WIN32OLE::VARIANT::VT_BOOL, WIN32OLE::VARIANT::VT_BSTR, WIN32OLE::VARIANT::VT_BYREF, WIN32OLE::VARIANT::VT_CY, WIN32OLE::VARIANT::VT_DATE, WIN32OLE::VARIANT::VT_DISPATCH, WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_ERROR, WIN32OLE::VARIANT::VT_I1, WIN32OLE::VARIANT::VT_I2, WIN32OLE::VARIANT::VT_I4, WIN32OLE::VARIANT::VT_I8, WIN32OLE::VARIANT::VT_INT, WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_PTR, WIN32OLE::VARIANT::VT_R4, WIN32OLE::VARIANT::VT_R8, WIN32OLE::VARIANT::VT_UI1, WIN32OLE::VARIANT::VT_UI2, WIN32OLE::VARIANT::VT_UI4, WIN32OLE::VARIANT::VT_UI8, WIN32OLE::VARIANT::VT_UINT, WIN32OLE::VARIANT::VT_UNKNOWN, WIN32OLE::VARIANT::VT_USERDEFINED, WIN32OLE::VARIANT::VT_VARIANT

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lastargsObject (readonly)

Returns the value of attribute lastargs.



1202
1203
1204
# File 'lib/ole20110223-013209.rb', line 1202

def lastargs
  @lastargs
end

Instance Method Details

#StreamDataBegin(stream) ⇒ Object

method VOID StreamDataBegin

IP2DataStream stream [IN]


1260
1261
1262
# File 'lib/ole20110223-013209.rb', line 1260

def StreamDataBegin(stream)
  _invoke(8, [stream], [VT_BYREF|VT_DISPATCH])
end

#StreamDataDeleted(stream, table_name, id, rec) ⇒ Object

method VOID StreamDataDeleted

IP2DataStream stream [IN]
BSTR table_name [IN]
I8 id [IN]
IP2Record rec [IN]


1233
1234
1235
# File 'lib/ole20110223-013209.rb', line 1233

def StreamDataDeleted(stream, table_name, id, rec)
  _invoke(4, [stream, table_name, id, rec], [VT_BYREF|VT_DISPATCH, VT_BSTR, VT_I8, VT_BYREF|VT_DISPATCH])
end

#StreamDataEnd(stream) ⇒ Object

method VOID StreamDataEnd

IP2DataStream stream [IN]


1266
1267
1268
# File 'lib/ole20110223-013209.rb', line 1266

def StreamDataEnd(stream)
  _invoke(9, [stream], [VT_BYREF|VT_DISPATCH])
end

#StreamDataInserted(stream, table_name, rec) ⇒ Object

method VOID StreamDataInserted

IP2DataStream stream [IN]
BSTR table_name [IN]
IP2Record rec [IN]


1215
1216
1217
# File 'lib/ole20110223-013209.rb', line 1215

def StreamDataInserted(stream, table_name, rec)
  _invoke(2, [stream, table_name, rec], [VT_BYREF|VT_DISPATCH, VT_BSTR, VT_BYREF|VT_DISPATCH])
end

#StreamDataUpdated(stream, table_name, id, rec) ⇒ Object

method VOID StreamDataUpdated

IP2DataStream stream [IN]
BSTR table_name [IN]
I8 id [IN]
IP2Record rec [IN]


1224
1225
1226
# File 'lib/ole20110223-013209.rb', line 1224

def StreamDataUpdated(stream, table_name, id, rec)
  _invoke(3, [stream, table_name, id, rec], [VT_BYREF|VT_DISPATCH, VT_BSTR, VT_I8, VT_BYREF|VT_DISPATCH])
end

#StreamDatumDeleted(stream, table_name, rev) ⇒ Object

method VOID StreamDatumDeleted

IP2DataStream stream [IN]
BSTR table_name [IN]
I8 rev [IN]


1241
1242
1243
# File 'lib/ole20110223-013209.rb', line 1241

def StreamDatumDeleted(stream, table_name, rev)
  _invoke(5, [stream, table_name, rev], [VT_BYREF|VT_DISPATCH, VT_BSTR, VT_I8])
end

#StreamDBWillBeDeleted(stream) ⇒ Object

method VOID StreamDBWillBeDeleted

IP2DataStream stream [IN]


1247
1248
1249
# File 'lib/ole20110223-013209.rb', line 1247

def StreamDBWillBeDeleted(stream)
  _invoke(6, [stream], [VT_BYREF|VT_DISPATCH])
end

#StreamLifeNumChanged(stream, life_num) ⇒ Object

method VOID StreamLifeNumChanged

IP2DataStream stream [IN]
I4 life_num [IN]


1254
1255
1256
# File 'lib/ole20110223-013209.rb', line 1254

def StreamLifeNumChanged(stream, life_num)
  _invoke(7, [stream, life_num], [VT_BYREF|VT_DISPATCH, VT_I4])
end

#StreamStateChanged(stream, new_state) ⇒ Object

method VOID StreamStateChanged

IP2DataStream stream [IN]
TDataStreamState new_state [IN]


1207
1208
1209
# File 'lib/ole20110223-013209.rb', line 1207

def StreamStateChanged(stream, new_state)
  _invoke(1, [stream, new_state], [VT_BYREF|VT_DISPATCH, VT_DISPATCH])
end