Module: IP2TableSet

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

Overview

IP2TableSet 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.



747
748
749
# File 'lib/ole20110223-013209.rb', line 747

def lastargs
  @lastargs
end

Instance Method Details

#AddTable(table_name, fieldl_list, rev) ⇒ Object

method VOID AddTable

BSTR table_name [IN]
BSTR fieldl_list [IN]
UI8 rev [IN]


800
801
802
# File 'lib/ole20110223-013209.rb', line 800

def AddTable(table_name, fieldl_list, rev)
  _invoke(3, [table_name, fieldl_list, rev], [VT_BSTR, VT_BSTR, VT_UI8])
end

#CountObject

property I4 Count



750
751
752
# File 'lib/ole20110223-013209.rb', line 750

def Count()
  _getproperty(7, [], [])
end

#DeleteTable(table_name) ⇒ Object

method VOID DeleteTable

BSTR table_name [IN]


806
807
808
# File 'lib/ole20110223-013209.rb', line 806

def DeleteTable(table_name)
  _invoke(6, [table_name], [VT_BSTR])
end

#FieldListObject

property BSTR FieldList

BSTR table_name [IN]


766
767
768
# File 'lib/ole20110223-013209.rb', line 766

def FieldList
  @_FieldList ||= OLEProperty.new(self, 4, [VT_BSTR], [VT_BSTR, VT_BSTR])
end

#FieldTypesObject

property BSTR FieldTypes

BSTR table_name [IN]


778
779
780
# File 'lib/ole20110223-013209.rb', line 778

def FieldTypes
  @_FieldTypes ||= OLEProperty.new(self, 9, [VT_BSTR], [VT_BSTR, VT_BSTR])
end

#InitFromDB(connect_string, sign_file) ⇒ Object

method VOID InitFromDB

BSTR connect_string [IN]
BSTR sign_file [IN]


792
793
794
# File 'lib/ole20110223-013209.rb', line 792

def InitFromDB(connect_string, sign_file)
  _invoke(2, [connect_string, sign_file], [VT_BSTR, VT_BSTR])
end

#InitFromIni(struct_file, sign_file) ⇒ Object

method VOID InitFromIni

BSTR struct_file [IN]
BSTR sign_file [IN]


785
786
787
# File 'lib/ole20110223-013209.rb', line 785

def InitFromIni(struct_file, sign_file)
  _invoke(1, [struct_file, sign_file], [VT_BSTR, VT_BSTR])
end

#InitFromIni2(ini_file_name, scheme_name) ⇒ Object

method VOID InitFromIni2

BSTR ini_file_name [IN]
BSTR scheme_name [IN]


813
814
815
# File 'lib/ole20110223-013209.rb', line 813

def InitFromIni2(ini_file_name, scheme_name)
  _invoke(10, [ini_file_name, scheme_name], [VT_BSTR, VT_BSTR])
end

#LifeNumObject

property I4 LifeNum



755
756
757
# File 'lib/ole20110223-013209.rb', line 755

def LifeNum()
  _getproperty(11, [], [])
end

#LifeNum=(val) ⇒ Object

property VOID LifeNum



760
761
762
# File 'lib/ole20110223-013209.rb', line 760

def LifeNum=(val)
  _setproperty(11, [val], [VT_I4])
end

#revObject

I8 rev: property Rev

BSTR table_name [IN]


772
773
774
# File 'lib/ole20110223-013209.rb', line 772

def rev
  @_rev ||= OLEProperty.new(self, 5, [VT_BSTR], [VT_BSTR, VT_I8])
end

#SetLifeNumToIni(ini_file_name) ⇒ Object

method VOID SetLifeNumToIni

BSTR ini_file_name [IN]


819
820
821
# File 'lib/ole20110223-013209.rb', line 819

def SetLifeNumToIni(ini_file_name)
  _invoke(12, [ini_file_name], [VT_BSTR])
end