12 #ifndef ZYPP_SYSCONTENT_H
13 #define ZYPP_SYSCONTENT_H
57 typedef std::set<ResObject::constPtr>
StorageT;
74 const std::string &
name()
const;
143 std::ostream &
writeXml( std::ostream & str )
const;
184 Reader( std::istream & input_r );
192 const std::string &
name()
const;
238 const std::string &
kind()
const;
239 const std::string &
name()
const;
244 Entry(
const shared_ptr<Impl> & pimpl_r );
256 #endif // ZYPP_SYSCONTENT_H
std::ostream & operator<<(std::ostream &str, const Reader &obj)
RWCOW_pointer< Impl > _pimpl
const std::string & description() const
Get description.
bool empty() const
Whether no data collected so far.
std::ostream & operator<<(std::ostream &str, const Writer &obj)
std::set< ResObject::constPtr > StorageT
StorageT::iterator iterator
const Edition & edition() const
Get edition.
Reader(const InputStream &stream_r, const Validate &validate_r=Validate::none())
Ctor.
StorageT::size_type size_type
std::ostream & writeXml(std::ostream &str) const
Write collected data as XML.
void addIf(const PoolItem &obj_r)
Collect PoolItem if it stays on the system.
StorageT::size_type size_type
const std::string & name() const
Get name.
Edition represents [epoch:]version[-release]
const_iterator end() const
Iterator to the end of collected data.
TraitsType::constPtrType constPtr
StorageT::value_type value_type
RWCOW_pointer< Impl > _pimpl
bool empty() const
Whether no data collected so far.
Store and operate on date (time_t).
const_iterator begin() const
Iterator to the begin of collected data.
const Edition & edition() const
Get edition.
const std::string & name() const
Get name.
const Date & ctime() const
Get creation date.
const Edition & edition() const
StorageT::const_iterator const_iterator
const Arch & arch() const
StorageT::value_type value_type
StorageT::const_iterator const_iterator
size_type size() const
Number of items collected.
const_iterator begin() const
Iterator to the begin of collected data.
void addInstalled(const PoolItem &obj_r)
Collect currently installed PoolItem.
RW_pointer< Impl > _pimpl
size_type size() const
Number of items collected.
const_iterator end() const
Iterator to the end of collected data.
StorageT::iterator iterator
Wrapper for const correct access via Smart pointer types.
const std::string & kind() const
Reference to a PoolItem connecting ResObject and ResStatus.
std::list< Entry > StorageT
void add(const ResObject::constPtr &obj_r)
Unconditionally add this ResObject (or PoolItem).
const std::string & description() const
Get description.
const std::string & name() const
RW_pointer supporting 'copy on write' functionality.
xmlTextReader based interface to iterate xml streams.
Collect and serialize a set of ResObject.