#include <Script.h>
Public Types | |
| typedef detail::ScriptImplIf | Impl |
| typedef Script | Self |
| typedef ResTraits< Self > | TraitsType |
| typedef TraitsType::PtrType | Ptr |
| typedef TraitsType::constPtrType | constPtr |
Public Member Functions | |
| bool | doAvailable () const |
| Check whether a script is available. | |
| std::string | doScriptInlined () const |
| Return an inlined script if available. | |
| OnMediaLocation | doScriptLocation () const |
| Location of the script, unless it is available inlined. | |
| bool | undoAvailable () const |
| Check whether a script to undo the change is available. | |
| std::string | undoScriptInlined () const |
| Return an inlined undo script if available. | |
| OnMediaLocation | undoScriptLocation () const |
| Location of the undo script, unless it is available inlined. | |
Protected Member Functions | |
| Script (const NVRAD &nvrad_r) | |
| Ctor. | |
| virtual | ~Script () |
| Dtor. | |
Private Member Functions | |
| virtual Impl & | pimpl ()=0 |
| Access implementation. | |
| virtual const Impl & | pimpl () const =0 |
| Access implementation. | |
Definition at line 28 of file Script.h.
| typedef Script zypp::Script::Self |
| typedef ResTraits<Self> zypp::Script::TraitsType |
| typedef TraitsType::PtrType zypp::Script::Ptr |
| zypp::Script::Script | ( | const NVRAD & | nvrad_r | ) | [protected] |
| bool zypp::Script::doAvailable | ( | ) | const |
| std::string zypp::Script::doScriptInlined | ( | ) | const |
Return an inlined script if available.
Otherwise it is available at doScriptLocation.
Definition at line 48 of file Script.cc.
References pimpl().
Referenced by zypp::repo::ScriptProvider::provideDoScript().
| OnMediaLocation zypp::Script::doScriptLocation | ( | ) | const |
Location of the script, unless it is available inlined.
Definition at line 51 of file Script.cc.
References pimpl().
Referenced by zypp::repo::ScriptProvider::provideDoScript().
| bool zypp::Script::undoAvailable | ( | ) | const |
| std::string zypp::Script::undoScriptInlined | ( | ) | const |
Return an inlined undo script if available.
Otherwise it is available at undoScriptLocation.
Definition at line 57 of file Script.cc.
References pimpl().
Referenced by zypp::repo::ScriptProvider::provideUndoScript().
| OnMediaLocation zypp::Script::undoScriptLocation | ( | ) | const |
Location of the undo script, unless it is available inlined.
Definition at line 60 of file Script.cc.
References pimpl().
Referenced by zypp::repo::ScriptProvider::provideUndoScript().
| virtual Impl& zypp::Script::pimpl | ( | ) | [private, pure virtual] |
Access implementation.
Implements zypp::ResObject.
Referenced by doAvailable(), doScriptInlined(), doScriptLocation(), undoAvailable(), undoScriptInlined(), and undoScriptLocation().
| virtual const Impl& zypp::Script::pimpl | ( | ) | const [private, pure virtual] |
1.5.3