libzypp  15.28.6
zypp::target::RpmPostTransCollector::Impl Class Reference

RpmPostTransCollector implementation. More...

Inheritance diagram for zypp::target::RpmPostTransCollector::Impl:

Public Member Functions

 Impl (const Pathname &root_r)
 
 ~Impl ()
 
bool collectScriptFromPackage (ManagedFile rpmPackage_r)
 Extract and remember a packages posttrans script for later execution. More...
 
void executeScripts ()
 Execute te remembered scripts. More...
 
void discardScripts ()
 Discard all remembered scrips. More...
 

Private Member Functions

Pathname tmpDir ()
 Lazy create tmpdir on demand. More...
 

Private Attributes

Pathname _root
 
std::list< std::string > _scripts
 
boost::scoped_ptr
< filesystem::TmpDir
_ptrTmpdir
 

Friends

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

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const RpmPostTransCollector::Impl &obj)
 
std::ostream & dumpOn (std::ostream &str, const RpmPostTransCollector::Impl &obj)
 

Detailed Description

RpmPostTransCollector implementation.

Definition at line 40 of file RpmPostTransCollector.cc.

Constructor & Destructor Documentation

zypp::target::RpmPostTransCollector::Impl::Impl ( const Pathname &  root_r)
inline

Definition at line 45 of file RpmPostTransCollector.cc.

zypp::target::RpmPostTransCollector::Impl::~Impl ( )
inline

Definition at line 49 of file RpmPostTransCollector.cc.

Member Function Documentation

bool zypp::target::RpmPostTransCollector::Impl::collectScriptFromPackage ( ManagedFile  rpmPackage_r)
inline

Extract and remember a packages posttrans script for later execution.

Definition at line 53 of file RpmPostTransCollector.cc.

void zypp::target::RpmPostTransCollector::Impl::executeScripts ( )
inline

Execute te remembered scripts.

Definition at line 77 of file RpmPostTransCollector.cc.

void zypp::target::RpmPostTransCollector::Impl::discardScripts ( )
inline

Discard all remembered scrips.

Definition at line 126 of file RpmPostTransCollector.cc.

Pathname zypp::target::RpmPostTransCollector::Impl::tmpDir ( )
inlineprivate

Lazy create tmpdir on demand.

Definition at line 150 of file RpmPostTransCollector.cc.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const Impl obj 
)
friend
std::ostream& dumpOn ( std::ostream &  str,
const Impl obj 
)
friend
std::ostream & operator<< ( std::ostream &  str,
const RpmPostTransCollector::Impl obj 
)
related

Stream output

Definition at line 164 of file RpmPostTransCollector.cc.

std::ostream & dumpOn ( std::ostream &  str,
const RpmPostTransCollector::Impl obj 
)
related

Verbose stream output

Definition at line 168 of file RpmPostTransCollector.cc.

Member Data Documentation

Pathname zypp::target::RpmPostTransCollector::Impl::_root
private

Definition at line 158 of file RpmPostTransCollector.cc.

std::list<std::string> zypp::target::RpmPostTransCollector::Impl::_scripts
private

Definition at line 159 of file RpmPostTransCollector.cc.

boost::scoped_ptr<filesystem::TmpDir> zypp::target::RpmPostTransCollector::Impl::_ptrTmpdir
private

Definition at line 160 of file RpmPostTransCollector.cc.


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