zypp::syscontent::Reader Class Reference

Retrieve ResObject data serialized by Writer. More...

#include <SysContent.h>

List of all members.

Classes

class  Entry
 Restored ResObject data. More...
class  Impl

Public Types

typedef StorageT::value_type value_type
typedef StorageT::size_type size_type
typedef StorageT::iterator iterator
typedef StorageT::const_iterator const_iterator

Public Member Functions

 Reader ()
 Default Ctor.
 Reader (std::istream &input_r)
 Ctor parsing data from input_r.
Identification.
User provided optional data to identify the collection.

const std::string & name () const
 Get name.
const Editionedition () const
 Get edition.
const std::string & description () const
 Get description.
const Datectime () const
 Get creation date.
Collected data.
bool empty () const
 Whether no data collected so far.
size_type size () const
 Number of items collected.
const_iterator begin () const
 Iterator to the begin of collected data.
const_iterator end () const
 Iterator to the end of collected data.

Private Types

typedef std::list< EntryStorageT

Private Attributes

RWCOW_pointer< Impl_pimpl

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const Reader &obj)


Detailed Description

Retrieve ResObject data serialized by Writer.

See also:
Writer

Definition at line 162 of file SysContent.h.


Member Typedef Documentation

typedef std::list<Entry> zypp::syscontent::Reader::StorageT [private]

Definition at line 166 of file SysContent.h.

typedef StorageT::value_type zypp::syscontent::Reader::value_type

Definition at line 172 of file SysContent.h.

typedef StorageT::size_type zypp::syscontent::Reader::size_type

Definition at line 173 of file SysContent.h.

typedef StorageT::iterator zypp::syscontent::Reader::iterator

Definition at line 174 of file SysContent.h.

typedef StorageT::const_iterator zypp::syscontent::Reader::const_iterator

Definition at line 175 of file SysContent.h.


Constructor & Destructor Documentation

zypp::syscontent::Reader::Reader (  ) 

Default Ctor.

zypp::syscontent::Reader::Reader ( std::istream &  input_r  ) 

Ctor parsing data from input_r.

Exceptions:
Exception on read or parse error.


Member Function Documentation

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.

const Date& zypp::syscontent::Reader::ctime (  )  const

Get creation date.

bool zypp::syscontent::Reader::empty (  )  const

Whether no data collected so far.

size_type zypp::syscontent::Reader::size (  )  const

Number of items collected.

const_iterator zypp::syscontent::Reader::begin (  )  const

Iterator to the begin of collected data.

const_iterator zypp::syscontent::Reader::end (  )  const

Iterator to the end of collected data.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const Reader obj 
) [related]

Stream output

Definition at line 444 of file SysContent.cc.


Member Data Documentation

RWCOW_pointer<Impl> zypp::syscontent::Reader::_pimpl [private]

Definition at line 220 of file SysContent.h.

Referenced by zypp::syscontent::Reader::Entry::Entry().


The documentation for this class was generated from the following file:

doxygen