59 typedef intrusive_ptr<ZYpp>
Ptr;
146 virtual std::ostream &
dumpOn( std::ostream & str )
const;
166 #endif // ZYPP_ZYPP_H
ResPool pool() const
Access to the global resolvable pool.
Pathname tmpPath() const
Get the path where zypp related plugins store temp data.
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches.
Result returned from ZYpp::commit.
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Provides a source package on the Target.
ZYppCommitResult CommitResult
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
intrusive_ptr< const ZYpp > constPtr
shared_ptr< Impl > Impl_Ptr
ZYpp(const Impl_Ptr &impl_r)
Factory ctor.
ResPool::instance().proxy();.
Target_Ptr target() const
zypp_detail::ZYppImpl Impl
std::set< MountPoint > MountPointSet
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
void setHomePath(const Pathname &path)
set the home, if you need to change it
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Options and policies for ZYpp::commit.
Provides API related macros.
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
DiskUsageCounter::MountPointSet getPartitions() const
KeyRing_Ptr keyRing() const
ZYpp factory class (Singleton)
Base class for reference counted objects.
void initializeTarget(const Pathname &root, bool doRebuild_r=false)
virtual std::ostream & dumpOn(std::ostream &str) const
Stream output.
ResPoolProxy poolProxy() const
Pool of ui::Selectable.
Resolver_Ptr resolver() const
RW_pointer< Impl > _pimpl
Pointer to implementation.
Wrapper for const correct access via Smart pointer types.
Reference counted access to a _Tp object calling a custom Dispose function when the last AutoDispose ...
intrusive_ptr< ZYpp > Ptr
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
DiskUsageCounter::MountPointSet diskUsage()