/[resiprocate]/main/resip/dum/DialogId.hxx
ViewVC logotype

Diff of /main/resip/dum/DialogId.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2601 by davidb, Sun Apr 11 20:44:34 2004 UTC revision 2842 by derek, Sun May 30 01:39:56 2004 UTC
# Line 1  Line 1 
1    #if !defined(RESIP_DIALOGSID_HXX)
2    #define RESIP_DIALOGID_HXX
3    
4  using namespace std;  #include "resiprocate/os/Data.hxx"
5    #include "resiprocate/dum/DialogSetId.hxx"
6    
7  namespace resip  namespace resip
8  {  {
9    
 class SipMessage;  
 class Data;  
 class DialogSetId;  
   
10  class DialogId  class DialogId
11  {  {
12     public:     public:
13        DialogId(const SipMessage& msg );        DialogId(const SipMessage& msg );
14        DialogId(const Data& callId, const Data& senderRequestFromTag, const Data& otherTag );        DialogId(const Data& callId, const Data& localTag, const Data& remoteTag );
15        DialogId(const DialogSetId id, const Data& otherTag );        DialogId(const DialogSetId id, const Data& remoteTag );
16          
17          bool operator==(const DialogId& rhs) const;
18          bool operator!=(const DialogId& rhs) const;
19          bool operator<(const DialogId& rhs) const;
20                
21        const DialogSetId& getDialogSetId() const;        const DialogSetId& getDialogSetId() const;
22                
23    #if defined(HASH_MAP_NAMESPACE)
24          friend struct HASH_MAP_NAMESPACE::hash<resip::DialogId>;
25    #endif
26    #if defined(__INTEL_COMPILER )
27          friend size_t hash_value(const resip::DialogId& id);
28    #endif
29     private:     private:
30        Data& mId;        DialogSetId mDialogSetIDd;
31          Data mRemoteTag;
32  };  };
33    
34  }  }
35        
36    #endif

Legend:
Removed from v.2601  
changed lines
  Added in v.2842

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27