Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
7
Добавлен:
26.03.2015
Размер:
1.12 Кб
Скачать
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "BtreeNode"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
' ************************************************
' BtNode.CLS
'
' BtreeNode class for B-tree example program.
' ************************************************
' Copyright (C) 1997 John Wiley & Sons, Inc.
' All rights reserved. See additional copyright
' information in RIGHTS.TXT.
' ************************************************
Option Explicit

Public NumKeys As Integer ' # keys in use.

Private m_Key(1 To KEYS_PER_NODE) As String ' Key values.
Private m_Child(0 To KEYS_PER_NODE) As BtreeNode ' Child pointers.

Property Get Key(ByVal Index As Integer) As String
Key = m_Key(Index)
End Property
Property Get Child(ByVal Index As Integer) As BtreeNode
Set Child = m_Child(Index)
End Property

Property Let Key(ByVal Index As Integer, value As String)
m_Key(Index) = value
End Property
Property Set Child(ByVal Index As Integer, value As BtreeNode)
Set m_Child(Index) = value
End Property

Соседние файлы в папке Деревья
  • #
    26.03.201532.35 Кб7BPLUS.BAS
  • #
    26.03.201521.35 Кб7BPLUS.FRM
  • #
    26.03.201512 б7BPLUS.FRX
  • #
    26.03.2015403 б7BPLUS.VBP
  • #
    26.03.2015113 б7BPLUS.VBW
  • #
    26.03.20151.12 Кб7BTNODE.CLS
  • #
    26.03.201516.03 Кб7BTREE.BAS
  • #
    26.03.20155.95 Кб7BTREE.FRM
  • #
    26.03.201512 б7BTREE.FRX
  • #
    26.03.2015351 б7BTREE.VBP
  • #
    26.03.20152.12 Кб8STRUCT.FRM