zypp::detail::ScriptImplIf Class Reference

Abstract Script implementation interface. More...

#include <ScriptImplIf.h>

Inheritance diagram for zypp::detail::ScriptImplIf:

zypp::detail::ResObjectImplIf zypp::base::ReferenceCounted NonCopyable zypp::detail::ScriptImpl zypp::source::yum::YUMScriptImpl zypp::storage::XMLScriptImpl List of all members.

Public Types

typedef Script ResType

Public Member Functions

virtual Pathname do_script () const PURE_VIRTUAL
 Get the script to perform the change.
virtual Pathname undo_script () const PURE_VIRTUAL
 Get the script to undo the change.
virtual bool undo_available () const PURE_VIRTUAL
 Check whether script to undo the change is available.
virtual ByteCount size () const
 Size.

Detailed Description

Abstract Script implementation interface.

Definition at line 34 of file ScriptImplIf.h.


Member Typedef Documentation

typedef Script zypp::detail::ScriptImplIf::ResType

Definition at line 37 of file ScriptImplIf.h.


Member Function Documentation

Pathname zypp::detail::ScriptImplIf::do_script (  )  const [virtual]

Get the script to perform the change.

Reimplemented in zypp::detail::ScriptImpl, zypp::source::yum::YUMScriptImpl, and zypp::storage::XMLScriptImpl.

Definition at line 26 of file ScriptImplIf.cc.

Referenced by zypp::Script::do_script().

Pathname zypp::detail::ScriptImplIf::undo_script (  )  const [virtual]

Get the script to undo the change.

Reimplemented in zypp::detail::ScriptImpl, zypp::source::yum::YUMScriptImpl, and zypp::storage::XMLScriptImpl.

Definition at line 29 of file ScriptImplIf.cc.

Referenced by zypp::Script::undo_script().

bool zypp::detail::ScriptImplIf::undo_available (  )  const [virtual]

Check whether script to undo the change is available.

Reimplemented in zypp::detail::ScriptImpl, zypp::source::yum::YUMScriptImpl, and zypp::storage::XMLScriptImpl.

Definition at line 32 of file ScriptImplIf.cc.

Referenced by zypp::Script::undo_available().

ByteCount zypp::detail::ScriptImplIf::size (  )  const [virtual]

Size.

Todo:
well define which size.

Reimplemented from zypp::detail::ResObjectImplIf.

Reimplemented in zypp::storage::XMLScriptImpl.

Definition at line 35 of file ScriptImplIf.cc.

References zypp::detail::ResObjectImplIf::size().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:38 2006 for zypp by  doxygen 1.5.0