#include <ScriptImplIf.h>
Public Types | |
| typedef Script | ResType |
Public Member Functions | |
| virtual unsigned | mediaNr () const |
| Overloaded ResObjectImpl attribute. | |
| virtual bool | doAvailable () const |
| Check whether a script is available. | |
| virtual std::string | doScriptInlined () const |
| Return an inlined script if available. | |
| virtual OnMediaLocation | doScriptLocation () const |
| Location of the script, unless it is available inlined. | |
| virtual bool | undoAvailable () const |
| Check whether a script to undo the change is available. | |
| virtual std::string | undoScriptInlined () const |
| Return an inlined undo script if available. | |
| virtual OnMediaLocation | undoScriptLocation () const |
| Location of the undo script, unless it is available inlined. | |
Definition at line 34 of file ScriptImplIf.h.
Definition at line 37 of file ScriptImplIf.h.
| unsigned zypp::detail::ScriptImplIf::mediaNr | ( | ) | const [virtual] |
Overloaded ResObjectImpl attribute.
0 if do-script is inlined. Reimplemented from zypp::detail::ResObjectImplIf.
Definition at line 30 of file ScriptImplIf.cc.
References doScriptInlined(), and doScriptLocation().
| bool zypp::detail::ScriptImplIf::doAvailable | ( | ) | const [virtual] |
Check whether a script is available.
Definition at line 26 of file ScriptImplIf.cc.
References doScriptInlined(), doScriptLocation(), and zypp::OnMediaLocation::filename().
| std::string zypp::detail::ScriptImplIf::doScriptInlined | ( | ) | const [virtual] |
Return an inlined script if available.
Otherwise it is available at doScriptLocation.
Reimplemented in zypp::detail::ScriptImpl, zypp::repo::cached::ScriptImpl, and zypp::storage::XMLScriptImpl.
Definition at line 33 of file ScriptImplIf.cc.
Referenced by doAvailable(), and mediaNr().
| OnMediaLocation zypp::detail::ScriptImplIf::doScriptLocation | ( | ) | const [virtual] |
Location of the script, unless it is available inlined.
Reimplemented in zypp::repo::cached::ScriptImpl.
Definition at line 36 of file ScriptImplIf.cc.
Referenced by doAvailable(), and mediaNr().
| bool zypp::detail::ScriptImplIf::undoAvailable | ( | ) | const [virtual] |
Check whether a script to undo the change is available.
Definition at line 39 of file ScriptImplIf.cc.
References zypp::OnMediaLocation::filename(), undoScriptInlined(), and undoScriptLocation().
| std::string zypp::detail::ScriptImplIf::undoScriptInlined | ( | ) | const [virtual] |
Return an inlined undo script if available.
Otherwise it is available at undoScriptLocation.
Reimplemented in zypp::detail::ScriptImpl, zypp::repo::cached::ScriptImpl, and zypp::storage::XMLScriptImpl.
Definition at line 43 of file ScriptImplIf.cc.
Referenced by undoAvailable().
| OnMediaLocation zypp::detail::ScriptImplIf::undoScriptLocation | ( | ) | const [virtual] |
Location of the undo script, unless it is available inlined.
Reimplemented in zypp::repo::cached::ScriptImpl.
Definition at line 46 of file ScriptImplIf.cc.
Referenced by undoAvailable().
1.5.3