12 #ifndef ZYPP_SYSCONTENT_H 13 #define ZYPP_SYSCONTENT_H 19 #include <zypp/base/PtrTypes.h> 23 #include <zypp/Date.h> 25 #ifdef YUILogComponent 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 );
265 #endif // ZYPP_SYSCONTENT_H std::ostream & operator<<(std::ostream &str, const Reader &obj)
RWCOW_pointer< Impl > _pimpl
std::ostream & operator<<(std::ostream &str, const Writer &obj)
std::set< ResObject::constPtr > StorageT
const std::string & name() const
StorageT::iterator iterator
Reader(const InputStream &stream_r, const Validate &validate_r=Validate::none())
Ctor.
StorageT::size_type size_type
const_iterator end() const
Iterator to the end of collected data.
const std::string & description() const
Get description.
void addIf(const PoolItem &obj_r)
Collect PoolItem if it stays on the system.
const Edition & edition() const
Get edition.
StorageT::size_type size_type
String related utilities and Regular expression matching.
Edition represents [epoch:]version[-release]
TraitsType::constPtrType constPtr
StorageT::value_type value_type
const std::string & kind() const
RWCOW_pointer< Impl > _pimpl
const std::string & description() const
Get description.
const std::string & name() const
Get name.
const Edition & edition() const
bool empty() const
Whether no data collected so far.
Store and operate on date (time_t).
bool empty() const
Whether no data collected so far.
const_iterator end() const
Iterator to the end of collected data.
const Edition & edition() const
Get edition.
const std::string & name() const
Get name.
std::ostream & writeXml(std::ostream &str) const
Write collected data as XML.
StorageT::const_iterator const_iterator
StorageT::value_type value_type
StorageT::const_iterator const_iterator
size_type size() const
Number of items collected.
void addInstalled(const PoolItem &obj_r)
Collect currently installed PoolItem.
RW_pointer< Impl > _pimpl
StorageT::iterator iterator
const_iterator begin() const
Iterator to the begin of collected data.
Combining sat::Solvable and ResStatus.
std::list< Entry > StorageT
size_type size() const
Number of items collected.
const Arch & arch() const
void add(const ResObject::constPtr &obj_r)
Unconditionally add this ResObject (or PoolItem).
Easy-to use interface to the ZYPP dependency resolver.
const_iterator begin() const
Iterator to the begin of collected data.
const Date & ctime() const
Get creation date.
xmlTextReader based interface to iterate xml streams.
Collect and serialize a set of ResObject.