|
reSIProcate/stack
9694
|
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 | |
Private Member Functions | |
| Phone () | |
Private Attributes | |
| Data | mNumber |
| Data | mFreeText |
Friends | |
| class | Session |
process p= (phone number) lines in the SDP
Definition at line 293 of file SdpContents.hxx.
constructor
| number | phone number |
| freeText | text string describing the phone number |
Definition at line 436 of file SdpContents.cxx.
| SdpContents::Session::Phone::Phone | ( | const Phone & | rhs | ) |
Definition at line 442 of file SdpContents.cxx.
| resip::SdpContents::Session::Phone::Phone | ( | ) | [inline, private] |
Definition at line 323 of file SdpContents.hxx.
{}
| EncodeStream & SdpContents::Session::Phone::encode | ( | EncodeStream & | s | ) | const |
Definition at line 459 of file SdpContents.cxx.
References CRLF, resip::Symbols::LPAREN, resip::Symbols::RPAREN, and resip::Symbols::SPACE.
{
s << "p=" << mNumber;
if (!mFreeText.empty())
{
s << Symbols::SPACE[0];
s << Symbols::LPAREN[0] << mFreeText << Symbols::RPAREN[0];
}
s << Symbols::CRLF;
return s;
}
| const Data& resip::SdpContents::Session::Phone::getFreeText | ( | ) | const [inline] |
return text string describing the phone number
Definition at line 320 of file SdpContents.hxx.
References mFreeText.
{return mFreeText;}
| const Data& resip::SdpContents::Session::Phone::getNumber | ( | ) | const [inline] |
return the phone number
Definition at line 315 of file SdpContents.hxx.
References mNumber.
{return mNumber;}
| SdpContents::Session::Phone & SdpContents::Session::Phone::operator= | ( | const Phone & | rhs | ) |
| void SdpContents::Session::Phone::parse | ( | ParseBuffer & | pb | ) |
Definition at line 473 of file SdpContents.cxx.
References parseEorP(), resip::ParseBuffer::skipChar(), and skipEol().

friend class Session [friend] |
Definition at line 328 of file SdpContents.hxx.
Definition at line 326 of file SdpContents.hxx.
Referenced by getFreeText(), and operator=().
Definition at line 325 of file SdpContents.hxx.
Referenced by getNumber(), and operator=().
1.7.5.1