|
reSIProcate/stack
9694
|
process e= (email) lines in the SDP More...
#include <SdpContents.hxx>

Public Member Functions | |
| Email (const Data &address, const Data &freeText) | |
| constructor | |
| Email (const Email &rhs) | |
| Email & | operator= (const Email &rhs) |
| void | parse (ParseBuffer &pb) |
| EncodeStream & | encode (EncodeStream &) const |
| const Data & | getAddress () const |
| returns the email address | |
| const Data & | getFreeText () const |
| returns the string describing the email address | |
Private Member Functions | |
| Email () | |
Private Attributes | |
| Data | mAddress |
| Data | mFreeText |
Friends | |
| class | Session |
process e= (email) lines in the SDP
Definition at line 252 of file SdpContents.hxx.
constructor
| address | email address |
| freeText | string describing the email address |
Definition at line 344 of file SdpContents.cxx.
| SdpContents::Session::Email::Email | ( | const Email & | rhs | ) |
Definition at line 350 of file SdpContents.cxx.
| resip::SdpContents::Session::Email::Email | ( | ) | [inline, private] |
Definition at line 282 of file SdpContents.hxx.
{}
| EncodeStream & SdpContents::Session::Email::encode | ( | EncodeStream & | s | ) | const |
Definition at line 367 of file SdpContents.cxx.
References CRLF, resip::Symbols::LPAREN, resip::Symbols::RPAREN, and resip::Symbols::SPACE.
{
s << "e=" << mAddress;
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::Email::getAddress | ( | ) | const [inline] |
returns the email address
Definition at line 274 of file SdpContents.hxx.
References mAddress.
{return mAddress;}
| const Data& resip::SdpContents::Session::Email::getFreeText | ( | ) | const [inline] |
returns the string describing the email address
Definition at line 279 of file SdpContents.hxx.
References mFreeText.
{return mFreeText;}
| SdpContents::Session::Email & SdpContents::Session::Email::operator= | ( | const Email & | rhs | ) |
| void SdpContents::Session::Email::parse | ( | ParseBuffer & | pb | ) |
Definition at line 429 of file SdpContents.cxx.
References parseEorP(), resip::ParseBuffer::skipChar(), and skipEol().

friend class Session [friend] |
Definition at line 287 of file SdpContents.hxx.
Definition at line 284 of file SdpContents.hxx.
Referenced by getAddress(), and operator=().
Definition at line 285 of file SdpContents.hxx.
Referenced by getFreeText(), and operator=().
1.7.5.1