|
reSIProcate/stack
9694
|
SIP body type for holding RLMI contents (MIME content-type application/rlmi+xml). More...
#include <Rlmi.hxx>


Public Member Functions | |
| Rlmi () | |
| Rlmi (const HeaderFieldValue &hfv, const Mime &contentType) | |
| Rlmi (const Rlmi &rhs) | |
| virtual | ~Rlmi () |
| Rlmi & | operator= (const Rlmi &rhs) |
| virtual Contents * | clone () const |
| duplicate an Rlmi object | |
| virtual EncodeStream & | encodeParsed (EncodeStream &str) const |
| virtual void | parse (ParseBuffer &pb) |
| const Data & | get () |
| void | set (const Data &text) |
Static Public Member Functions | |
| static const Mime & | getStaticType () |
| static bool | init () |
Private Attributes | |
| Data | mText |
SIP body type for holding RLMI contents (MIME content-type application/rlmi+xml).
| Rlmi::Rlmi | ( | ) |
| Rlmi::Rlmi | ( | const HeaderFieldValue & | hfv, |
| const Mime & | contentType | ||
| ) |
| Rlmi::Rlmi | ( | const Rlmi & | rhs | ) |
| Contents * Rlmi::clone | ( | ) | const [virtual] |
| EncodeStream & Rlmi::encodeParsed | ( | EncodeStream & | str | ) | const [virtual] |
Implements resip::LazyParser.
Definition at line 68 of file Rlmi.cxx.
References mText.
{
//DebugLog(<< "Rlmi::encodeParsed " << mText);
str << mText;
return str;
}
| const Data & Rlmi::get | ( | ) |
Definition at line 85 of file Rlmi.cxx.
References resip::LazyParser::checkParsed(), and mText.
Referenced by interpretRlmi(), and main().
{
checkParsed();
return mText;
}

| const Mime & Rlmi::getStaticType | ( | ) | [static] |
| bool Rlmi::init | ( | ) | [static] |
Reimplemented from resip::Contents.
Definition at line 18 of file Rlmi.cxx.
{
static ContentsFactory<Rlmi> factory;
(void)factory;
return true;
}
| void Rlmi::parse | ( | ParseBuffer & | pb | ) | [virtual] |
Implements resip::LazyParser.
Definition at line 77 of file Rlmi.cxx.
References resip::ParseBuffer::data(), mText, resip::ParseBuffer::position(), and resip::ParseBuffer::skipToEnd().

| void Rlmi::set | ( | const Data & | text | ) |
Data resip::Rlmi::mText [private] |
Definition at line 42 of file Rlmi.hxx.
Referenced by encodeParsed(), get(), operator=(), parse(), Rlmi(), and set().
1.7.5.1