libzypp
17.35.14
|
Retrieve ResObject data serialized by Writer. More...
#include <zypp/SysContent.h>
Public Types | |
using | value_type = StorageT::value_type |
using | size_type = StorageT::size_type |
using | iterator = StorageT::iterator |
using | const_iterator = StorageT::const_iterator |
Public Member Functions | |
Reader () | |
Default Ctor. More... | |
Reader (std::istream &input_r) | |
Ctor parsing data from input_r. More... | |
Entry () | |
const std::string & | kind () const |
const std::string & | name () const |
const Edition & | edition () const |
const Arch & | arch () const |
Entry (const shared_ptr< Impl > &pimpl_r) | |
Identification. | |
User provided optional data to identify the collection. | |
const std::string & | name () const |
Get name. More... | |
const Edition & | edition () const |
Get edition. More... | |
const std::string & | description () const |
Get description. More... | |
const Date & | ctime () const |
Get creation date. More... | |
Collected data. | |
bool | empty () const |
Whether no data collected so far. More... | |
size_type | size () const |
Number of items collected. More... | |
const_iterator | begin () const |
Iterator to the begin of collected data. More... | |
const_iterator | end () const |
Iterator to the end of collected data. More... | |
Private Types | |
using | StorageT = std::list< Entry > |
Private Attributes | |
RWCOW_pointer< Impl > | _pimpl |
RW_pointer< Impl > | _pimpl |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const Reader &obj) |
Retrieve ResObject data serialized by Writer.
Restored ResObject data.
Definition at line 171 of file SysContent.h.
|
private |
Definition at line 178 of file SysContent.h.
using zypp::syscontent::Reader::value_type = StorageT::value_type |
Definition at line 181 of file SysContent.h.
using zypp::syscontent::Reader::size_type = StorageT::size_type |
Definition at line 182 of file SysContent.h.
using zypp::syscontent::Reader::iterator = StorageT::iterator |
Definition at line 183 of file SysContent.h.
using zypp::syscontent::Reader::const_iterator = StorageT::const_iterator |
Definition at line 184 of file SysContent.h.
zypp::syscontent::Reader::Reader | ( | ) |
Default Ctor.
Definition at line 407 of file SysContent.cc.
zypp::syscontent::Reader::Reader | ( | std::istream & | input_r | ) |
Ctor parsing data from input_r.
Exception | on read or parse error. |
Definition at line 411 of file SysContent.cc.
const std::string& zypp::syscontent::Reader::name | ( | ) | const |
Get name.
const Edition& zypp::syscontent::Reader::edition | ( | ) | const |
Get edition.
const std::string & zypp::syscontent::Reader::description | ( | ) | const |
Get description.
Definition at line 421 of file SysContent.cc.
const Date & zypp::syscontent::Reader::ctime | ( | ) | const |
Get creation date.
Definition at line 424 of file SysContent.cc.
bool zypp::syscontent::Reader::empty | ( | ) | const |
Whether no data collected so far.
Definition at line 427 of file SysContent.cc.
Reader::size_type zypp::syscontent::Reader::size | ( | ) | const |
Number of items collected.
Definition at line 430 of file SysContent.cc.
Reader::const_iterator zypp::syscontent::Reader::begin | ( | ) | const |
Iterator to the begin of collected data.
Definition at line 433 of file SysContent.cc.
Reader::const_iterator zypp::syscontent::Reader::end | ( | ) | const |
Iterator to the end of collected data.
Definition at line 436 of file SysContent.cc.
zypp::syscontent::Reader::Entry | ( | ) |
const std::string& zypp::syscontent::Reader::kind | ( | ) | const |
const std::string & zypp::syscontent::Reader::name | ( | ) | const |
Definition at line 415 of file SysContent.cc.
const Edition & zypp::syscontent::Reader::edition | ( | ) | const |
Definition at line 418 of file SysContent.cc.
const Arch& zypp::syscontent::Reader::arch | ( | ) | const |
zypp::syscontent::Reader::Entry | ( | const shared_ptr< Impl > & | pimpl_r | ) |
|
related |
Stream output
Definition at line 444 of file SysContent.cc.
|
private |
Definition at line 229 of file SysContent.h.
|
private |
Definition at line 255 of file SysContent.h.