* X more docs for C
[mascara-docs.git] / C / sorting.and.searching.cormen.algo / src / vprn.txt
blob068d618243560cdfe96dd677c57282421dd64f03
1 VERSION 1.0 CLASS
2 BEGIN
3   MultiUse = -1  'True
4   Persistable = 0  'NotPersistable
5   DataBindingBehavior = 0  'vbNone
6   DataSourceBehavior  = 0  'vbNone
7   MTSTransactionMode  = 0  'NotAnMTSObject
8 END
9 Attribute VB_Name = "CRbt"
10 Attribute VB_GlobalNameSpace = False
11 Attribute VB_Creatable = True
12 Attribute VB_PredeclaredId = False
13 Attribute VB_Exposed = False
14 Option Explicit
16 ' red-black tree node, object method
18 ' housekeeping for node
19 Enum EColor
20     Black
21     Red
22 End Enum
24 Public Left As CRbt             ' pointer to left child
25 Public Right As CRbt            ' pointer to right child
26 Public Parent As CRbt           ' pointer to parent
27 Public Color As EColor       ' Black, Red
29 ' user's data -- note that user-defined types are
30 ' not allowed in classes, so specify field-by-field
31 Public Key As Variant
32 Public Rec As Variant