zypp::detail::ScriptImpl Class Reference

Class representing an update script. More...

#include <ScriptImpl.h>

Inheritance diagram for zypp::detail::ScriptImpl:

zypp::detail::ScriptImplIf zypp::detail::ResObjectImplIf zypp::base::ReferenceCounted NonCopyable List of all members.

Public Member Functions

 ScriptImpl ()
 Default ctor.
 ~ScriptImpl ()
 Dtor.
Pathname do_script () const
 Get the script to perform the change.
Pathname undo_script () const
 Get the script to undo the change.
virtual bool undo_available () const
 Check whether script to undo the change is available.

Protected Attributes

std::string _do_script
 The script to perform the change.
std::string _undo_script
 The script to undo the change.

Detailed Description

Class representing an update script.

Definition at line 29 of file ScriptImpl.h.


Constructor & Destructor Documentation

zypp::detail::ScriptImpl::ScriptImpl  ) 
 

Default ctor.

Definition at line 31 of file ScriptImpl.cc.

zypp::detail::ScriptImpl::~ScriptImpl  ) 
 

Dtor.

Definition at line 34 of file ScriptImpl.cc.


Member Function Documentation

Pathname zypp::detail::ScriptImpl::do_script  )  const [virtual]
 

Get the script to perform the change.

Implements zypp::detail::ScriptImplIf.

Definition at line 37 of file ScriptImpl.cc.

Pathname zypp::detail::ScriptImpl::undo_script  )  const [virtual]
 

Get the script to undo the change.

Implements zypp::detail::ScriptImplIf.

Definition at line 42 of file ScriptImpl.cc.

bool zypp::detail::ScriptImpl::undo_available  )  const [virtual]
 

Check whether script to undo the change is available.

Implements zypp::detail::ScriptImplIf.

Definition at line 47 of file ScriptImpl.cc.

References _undo_script.


Member Data Documentation

std::string zypp::detail::ScriptImpl::_do_script [protected]
 

The script to perform the change.

Definition at line 46 of file ScriptImpl.h.

std::string zypp::detail::ScriptImpl::_undo_script [protected]
 

The script to undo the change.

Definition at line 48 of file ScriptImpl.h.

Referenced by undo_available().


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6