|
libzypp
9.1.2
|
PluginFrame implementation. More...
Public Types | |
| typedef std::pair < HeaderListIterator, HeaderListIterator > | constKeyRange |
| typedef std::pair < HeaderList::iterator, HeaderList::iterator > | KeyRange |
Public Member Functions | |
| Impl () | |
| Impl (const std::string &command_r) | |
| Impl (const std::string &command_r, const std::string body_r) | |
| Impl (std::istream &stream_r) | |
| bool | empty () const |
| const std::string & | command () const |
| void | setCommand (const std::string &command_r) |
| const std::string & | body () const |
| std::string & | bodyRef () |
| void | setBody (const std::string &body_r) |
| HeaderList & | headerList () |
| const HeaderList & | headerList () const |
| const std::string & | getHeader (const std::string &key_r) const |
| const std::string & | getHeader (const std::string &key_r, const std::string &default_r) const |
| const std::string & | getHeaderNT (const std::string &key_r, const std::string &default_r) const |
| HeaderList::value_type | mkHeaderPair (const std::string &key_r, const std::string &value_r) |
| void | setHeader (const std::string &key_r, const std::string &value_r) |
| void | addHeader (const std::string &key_r, const std::string &value_r) |
| void | clearHeader (const std::string &key_r) |
| std::ostream & | writeTo (std::ostream &stream_r) const |
Static Public Member Functions | |
| static shared_ptr< Impl > | nullimpl () |
| Offer default Impl. | |
Private Member Functions | |
| Impl * | clone () const |
| clone for RWCOW_pointer | |
Private Attributes | |
| std::string | _command |
| std::string | _body |
| HeaderList | _header |
Friends | |
| Impl * | rwcowClone (const Impl *rhs) |
Related Functions | |
(Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const PluginFrame::Impl &obj) |
PluginFrame implementation.
Definition at line 29 of file PluginFrame.cc.
| typedef std::pair<HeaderListIterator,HeaderListIterator> zypp::PluginFrame::Impl::constKeyRange |
Definition at line 68 of file PluginFrame.cc.
| typedef std::pair<HeaderList::iterator,HeaderList::iterator> zypp::PluginFrame::Impl::KeyRange |
Definition at line 69 of file PluginFrame.cc.
| zypp::PluginFrame::Impl::Impl | ( | ) | [inline] |
Definition at line 32 of file PluginFrame.cc.
Referenced by clone().
| zypp::PluginFrame::Impl::Impl | ( | const std::string & | command_r | ) | [inline] |
Definition at line 35 of file PluginFrame.cc.
References setCommand().
| zypp::PluginFrame::Impl::Impl | ( | const std::string & | command_r, |
| const std::string | body_r | ||
| ) | [inline] |
Definition at line 38 of file PluginFrame.cc.
References setCommand().
| zypp::PluginFrame::Impl::Impl | ( | std::istream & | stream_r | ) |
Definition at line 159 of file PluginFrame.cc.
References _body, _command, _header, zypp::iostr::getline(), zypp::str::receiveUpTo(), and ZYPP_THROW.
| bool zypp::PluginFrame::Impl::empty | ( | ) | const [inline] |
Definition at line 45 of file PluginFrame.cc.
References _body, and _command.
Referenced by zypp::PluginFrame::empty().
| const std::string& zypp::PluginFrame::Impl::command | ( | ) | const [inline] |
Definition at line 48 of file PluginFrame.cc.
References _command.
Referenced by zypp::PluginFrame::command(), and operator<<().
| void zypp::PluginFrame::Impl::setCommand | ( | const std::string & | command_r | ) | [inline] |
Definition at line 51 of file PluginFrame.cc.
References _command, and ZYPP_THROW.
Referenced by Impl(), and zypp::PluginFrame::setCommand().
| const std::string& zypp::PluginFrame::Impl::body | ( | ) | const [inline] |
Definition at line 58 of file PluginFrame.cc.
References _body.
Referenced by zypp::PluginFrame::body(), and operator<<().
| std::string& zypp::PluginFrame::Impl::bodyRef | ( | ) | [inline] |
Definition at line 61 of file PluginFrame.cc.
References _body.
Referenced by zypp::PluginFrame::bodyRef().
| void zypp::PluginFrame::Impl::setBody | ( | const std::string & | body_r | ) | [inline] |
Definition at line 64 of file PluginFrame.cc.
References _body.
Referenced by zypp::PluginFrame::setBody().
| HeaderList& zypp::PluginFrame::Impl::headerList | ( | ) | [inline] |
Definition at line 71 of file PluginFrame.cc.
References _header.
Referenced by zypp::PluginFrame::headerList(), and operator<<().
| const HeaderList& zypp::PluginFrame::Impl::headerList | ( | ) | const [inline] |
Definition at line 74 of file PluginFrame.cc.
References _header.
| const std::string& zypp::PluginFrame::Impl::getHeader | ( | const std::string & | key_r | ) | const [inline] |
Definition at line 77 of file PluginFrame.cc.
References _header, and ZYPP_THROW.
Referenced by zypp::PluginFrame::getHeader().
| const std::string& zypp::PluginFrame::Impl::getHeader | ( | const std::string & | key_r, |
| const std::string & | default_r | ||
| ) | const [inline] |
Definition at line 88 of file PluginFrame.cc.
References _header, and ZYPP_THROW.
| const std::string& zypp::PluginFrame::Impl::getHeaderNT | ( | const std::string & | key_r, |
| const std::string & | default_r | ||
| ) | const [inline] |
Definition at line 99 of file PluginFrame.cc.
References _header.
Referenced by zypp::PluginFrame::getHeaderNT().
| HeaderList::value_type zypp::PluginFrame::Impl::mkHeaderPair | ( | const std::string & | key_r, |
| const std::string & | value_r | ||
| ) | [inline] |
| void zypp::PluginFrame::Impl::setHeader | ( | const std::string & | key_r, |
| const std::string & | value_r | ||
| ) | [inline] |
Definition at line 114 of file PluginFrame.cc.
References addHeader(), and clearHeader().
Referenced by zypp::PluginFrame::setHeader().
| void zypp::PluginFrame::Impl::addHeader | ( | const std::string & | key_r, |
| const std::string & | value_r | ||
| ) | [inline] |
Definition at line 120 of file PluginFrame.cc.
References _header, and mkHeaderPair().
Referenced by zypp::PluginFrame::addHeader(), and setHeader().
| void zypp::PluginFrame::Impl::clearHeader | ( | const std::string & | key_r | ) | [inline] |
Definition at line 125 of file PluginFrame.cc.
References _header.
Referenced by zypp::PluginFrame::clearHeader(), and setHeader().
| std::ostream & zypp::PluginFrame::Impl::writeTo | ( | std::ostream & | stream_r | ) | const |
Definition at line 199 of file PluginFrame.cc.
References for_, and ZYPP_THROW.
Referenced by zypp::PluginFrame::writeTo().
| static shared_ptr<Impl> zypp::PluginFrame::Impl::nullimpl | ( | ) | [inline, static] |
Offer default Impl.
Definition at line 140 of file PluginFrame.cc.
| Impl* zypp::PluginFrame::Impl::clone | ( | ) | const [inline, private] |
| Impl* rwcowClone | ( | const Impl * | rhs | ) | [friend] |
| std::ostream & operator<< | ( | std::ostream & | str, |
| const PluginFrame::Impl & | obj | ||
| ) | [related] |
Stream output
Definition at line 154 of file PluginFrame.cc.
References body(), command(), and headerList().
std::string zypp::PluginFrame::Impl::_command [private] |
Definition at line 134 of file PluginFrame.cc.
Referenced by command(), empty(), Impl(), and setCommand().
std::string zypp::PluginFrame::Impl::_body [private] |
HeaderList zypp::PluginFrame::Impl::_header [private] |
Definition at line 136 of file PluginFrame.cc.
Referenced by addHeader(), clearHeader(), getHeader(), getHeaderNT(), headerList(), and Impl().
1.7.6.1