reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::SdpContents::Session::Phone Class Reference

process p= (phone number) lines in the SDP More...

#include <SdpContents.hxx>

Public Member Functions

 Phone (const Data &number, const Data &freeText)
 constructor
 
 Phone (const Phone &rhs)
 
Phone & operator= (const Phone &rhs)
 
void parse (ParseBuffer &pb)
 
EncodeStream & encode (EncodeStream &) const
 
const Data & getNumber () const
 return the phone number
 
const Data & getFreeText () const
 return text string describing the phone number
 

Friends

class Session
 

Detailed Description

process p= (phone number) lines in the SDP

Definition at line 306 of file SdpContents.hxx.

Constructor & Destructor Documentation

◆ Phone() [1/2]

SdpContents::Session::Phone::Phone ( const Data &  number,
const Data &  freeText 
)

constructor

Parameters
numberphone number
freeTexttext string describing the phone number

Definition at line 458 of file SdpContents.cxx.

◆ Phone() [2/2]

SdpContents::Session::Phone::Phone ( const Phone &  rhs)

Definition at line 464 of file SdpContents.cxx.

Member Function Documentation

◆ encode()

EncodeStream & SdpContents::Session::Phone::encode ( EncodeStream &  s) const

Definition at line 481 of file SdpContents.cxx.

◆ getFreeText()

const Data & resip::SdpContents::Session::Phone::getFreeText ( ) const
inline

return text string describing the phone number

Returns
text string describing the phone number

Definition at line 333 of file SdpContents.hxx.

◆ getNumber()

const Data & resip::SdpContents::Session::Phone::getNumber ( ) const
inline

return the phone number

Returns
phone number

Definition at line 328 of file SdpContents.hxx.

◆ operator=()

SdpContents::Session::Phone & SdpContents::Session::Phone::operator= ( const Phone &  rhs)

Definition at line 470 of file SdpContents.cxx.

◆ parse()

void SdpContents::Session::Phone::parse ( ParseBuffer &  pb)

Definition at line 495 of file SdpContents.cxx.

Friends And Related Symbol Documentation

◆ Session

friend class Session
friend

Definition at line 341 of file SdpContents.hxx.


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