zypp::storage::XMLScriptImpl Struct Reference

Class representing an update script. More...

#include <XMLScriptImpl.h>

Inheritance diagram for zypp::storage::XMLScriptImpl:

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

Public Member Functions

 XMLScriptImpl ()
 Default ctor.
 ~XMLScriptImpl ()
 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.

Public Attributes

TmpFile _do_script
TmpFile _undo_script

Detailed Description

Class representing an update script.

Definition at line 32 of file XMLScriptImpl.h.


Constructor & Destructor Documentation

zypp::storage::XMLScriptImpl::XMLScriptImpl  ) 
 

Default ctor.

Definition at line 31 of file XMLScriptImpl.cc.

References _do_script, and _undo_script.

zypp::storage::XMLScriptImpl::~XMLScriptImpl  ) 
 

Dtor.

Definition at line 38 of file XMLScriptImpl.cc.


Member Function Documentation

Pathname zypp::storage::XMLScriptImpl::do_script  )  const [virtual]
 

Get the script to perform the change.

Implements zypp::detail::ScriptImplIf.

Definition at line 41 of file XMLScriptImpl.cc.

References _do_script, and zypp::filesystem::TmpPath::path().

Pathname zypp::storage::XMLScriptImpl::undo_script  )  const [virtual]
 

Get the script to undo the change.

Implements zypp::detail::ScriptImplIf.

Definition at line 45 of file XMLScriptImpl.cc.

References _undo_script, and zypp::filesystem::TmpPath::path().

bool zypp::storage::XMLScriptImpl::undo_available  )  const [virtual]
 

Check whether script to undo the change is available.

Implements zypp::detail::ScriptImplIf.

Definition at line 49 of file XMLScriptImpl.cc.

References _undo_script.


Member Data Documentation

TmpFile zypp::storage::XMLScriptImpl::_do_script
 

Definition at line 46 of file XMLScriptImpl.h.

Referenced by do_script(), and XMLScriptImpl().

TmpFile zypp::storage::XMLScriptImpl::_undo_script
 

Definition at line 47 of file XMLScriptImpl.h.

Referenced by undo_available(), undo_script(), and XMLScriptImpl().


The documentation for this struct was generated from the following files:
Generated on Thu May 4 16:03:41 2006 for zypp by  doxygen 1.4.6