reSIProcate/rutil  9694
Public Member Functions | Private Attributes
resip::RRVip::MapKey Class Reference
Collaboration diagram for resip::RRVip::MapKey:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MapKey ()
 MapKey (const Data &target, int rrType)
bool operator< (const MapKey &) const

Private Attributes

Data mTarget
int mRRType

Detailed Description

Definition at line 52 of file RRVip.hxx.


Constructor & Destructor Documentation

RRVip::MapKey::MapKey ( )

Definition at line 224 of file RRVip.cxx.

  : mRRType(0)          // .kw. what is reasonable default?
{
}
RRVip::MapKey::MapKey ( const Data target,
int  rrType 
)

Definition at line 229 of file RRVip.cxx.

   : mTarget(target), 
     mRRType(rrType)
{
}

Member Function Documentation

bool RRVip::MapKey::operator< ( const MapKey rhs) const

Definition at line 235 of file RRVip.cxx.

References mRRType, and mTarget.

{
   if (mRRType < rhs.mRRType)
   {
      return true;
   }
   else if (mRRType > rhs.mRRType)
   {
      return false;
   }
   else
   {
      return mTarget < rhs.mTarget;
   }
}

Member Data Documentation

Definition at line 60 of file RRVip.hxx.

Referenced by operator<().

Definition at line 59 of file RRVip.hxx.

Referenced by operator<().


The documentation for this class was generated from the following files: