Imported Upstream version 878.70.2
[platform/upstream/mdnsresponder.git] / mDNSMacOSX / BonjourTop / source / bjStringtoStringMap.h
1 //
2 //  bjStringtoStringMap.h
3 //  TestTB
4 //
5 //  Created by Terrin Eager on 12/21/12.
6 //
7 //
8
9 #ifndef __TestTB__bjStringtoStringMap__
10 #define __TestTB__bjStringtoStringMap__
11
12 #include <iostream>
13 #include "bjstring.h"
14 #include "LLRBTree.h"
15
16 class StringMapNode : public CRBNode<BJString>
17 {
18 public:
19     StringMapNode();
20     StringMapNode(BJString* pKey);
21     ~StringMapNode();
22     inline virtual BJ_COMPARE Compare(BJString* pKey);
23     inline virtual void CopyNode(CRBNode* pSource);
24     inline virtual void Init(){};
25     inline virtual void Clear() {};
26
27
28     BJString value;
29
30 };
31
32 class BJStringtoStringMap : public CLLRBTree<BJString, StringMapNode>
33 {
34 public:
35
36
37 };
38
39
40
41
42 #endif /* defined(__TestTB__bjStringtoStringMap__) */