12#ifndef ZYPP_SYSCONTENT_H
13#define ZYPP_SYSCONTENT_H
19#include <zypp/base/PtrTypes.h>
30#define BOOST_BIND_GLOBAL_PLACEHOLDERS
31#include <boost/bind.hpp>
66 typedef std::set<ResObject::constPtr>
StorageT;
83 const std::string &
name()
const;
152 std::ostream &
writeXml( std::ostream &
str )
const;
193 Reader( std::istream & input_r );
201 const std::string &
name()
const;
247 const std::string &
kind()
const;
248 const std::string &
name()
const;
253 Entry(
const shared_ptr<Impl> & pimpl_r );
RepoManager implementation.
Store and operate on date (time_t).
Edition represents [epoch:]version[-release]
Combining sat::Solvable and ResStatus.
TraitsType::constPtrType constPtr
const Arch & arch() const
const std::string & name() const
RW_pointer< Impl > _pimpl
const Edition & edition() const
const std::string & kind() const
const Date & ctime() const
Get creation date.
const_iterator end() const
Iterator to the end of collected data.
const Edition & edition() const
Get edition.
const std::string & description() const
Get description.
StorageT::const_iterator const_iterator
StorageT::size_type size_type
RWCOW_pointer< Impl > _pimpl
StorageT::iterator iterator
StorageT::value_type value_type
bool empty() const
Whether no data collected so far.
const_iterator begin() const
Iterator to the begin of collected data.
const std::string & name() const
Get name.
std::list< Entry > StorageT
size_type size() const
Number of items collected.
Collect and serialize a set of ResObject.
const Edition & edition() const
Get edition.
std::ostream & writeXml(std::ostream &str) const
Write collected data as XML.
std::set< ResObject::constPtr > StorageT
const std::string & description() const
Get description.
StorageT::value_type value_type
void addIf(const PoolItem &obj_r)
Collect PoolItem if it stays on the system.
StorageT::iterator iterator
RWCOW_pointer< Impl > _pimpl
std::ostream & operator<<(std::ostream &str, const Writer &obj)
Stream output.
void addInstalled(const PoolItem &obj_r)
Collect currently installed PoolItem.
const_iterator begin() const
Iterator to the begin of collected data.
StorageT::const_iterator const_iterator
bool empty() const
Whether no data collected so far.
size_type size() const
Number of items collected.
void add(const ResObject::constPtr &obj_r)
Unconditionally add this ResObject (or PoolItem).
const std::string & name() const
Get name.
StorageT::size_type size_type
const_iterator end() const
Iterator to the end of collected data.
xmlTextReader based interface to iterate xml streams.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const ReadState &obj)
Easy-to use interface to the ZYPP dependency resolver.
RW_pointer supporting 'copy on write' functionality.
Wrapper for const correct access via Smart pointer types.