]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSMacOSX/BonjourTop/source/bjStringtoStringMap.cpp
mDNSResponder-1096.0.2.tar.gz
[apple/mdnsresponder.git] / mDNSMacOSX / BonjourTop / source / bjStringtoStringMap.cpp
1 //
2 // bjStringtoStringMap.cpp
3 // TestTB
4 //
5 // Created by Terrin Eager on 12/21/12.
6 //
7 //
8
9 #include "bjStringtoStringMap.h"
10
11 /////////////////////
12
13 StringMapNode::StringMapNode()
14 {
15
16
17 }
18
19 StringMapNode::StringMapNode(BJString* pKey)
20 {
21 m_Key = *pKey;
22 }
23
24 StringMapNode::~StringMapNode()
25 {
26
27 }
28
29 void StringMapNode::CopyNode(CRBNode* pSource)
30 {
31 m_Key = ((StringMapNode*)pSource)->m_Key;
32 }
33
34 BJ_COMPARE StringMapNode::Compare(BJString* pKey)
35 {
36
37 return m_Key.Compare(*pKey);
38
39 }
40