zypp::Script Class Reference

Class representing an update script. More...

#include <Script.h>

Inheritance diagram for zypp::Script:

zypp::ResObject zypp::Resolvable zypp::base::ReferenceCounted NonCopyable List of all members.

Public Types

typedef detail::ScriptImplIf Impl
typedef Script Self
typedef ResTraits< SelfTraitsType
typedef TraitsType::PtrType Ptr
typedef TraitsType::constPtrType constPtr

Public Member Functions

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

Protected Member Functions

 Script (const NVRAD &nvrad_r)
 Ctor.
virtual ~Script ()
 Dtor.

Private Member Functions

virtual Implpimpl ()=0
 Access implementation.
virtual const Implpimpl () const=0
 Access implementation.

Detailed Description

Class representing an update script.

Definition at line 28 of file Script.h.


Member Typedef Documentation

typedef detail::ScriptImplIf zypp::Script::Impl

Reimplemented from zypp::ResObject.

Definition at line 31 of file Script.h.

typedef Script zypp::Script::Self

Reimplemented from zypp::ResObject.

Definition at line 32 of file Script.h.

typedef ResTraits<Self> zypp::Script::TraitsType

Reimplemented from zypp::ResObject.

Definition at line 33 of file Script.h.

typedef TraitsType::PtrType zypp::Script::Ptr

Reimplemented from zypp::ResObject.

Definition at line 34 of file Script.h.

typedef TraitsType::constPtrType zypp::Script::constPtr

Reimplemented from zypp::ResObject.

Definition at line 35 of file Script.h.


Constructor & Destructor Documentation

zypp::Script::Script ( const NVRAD nvrad_r  )  [protected]

Ctor.

Definition at line 25 of file Script.cc.

zypp::Script::~Script (  )  [protected, virtual]

Dtor.

Definition at line 34 of file Script.cc.


Member Function Documentation

Pathname zypp::Script::do_script (  )  const

Get the script to perform the change.

Definition at line 43 of file Script.cc.

References zypp::detail::ScriptImplIf::do_script(), and pimpl().

Pathname zypp::Script::undo_script (  )  const

Get the script to undo the change.

Definition at line 46 of file Script.cc.

References pimpl(), and zypp::detail::ScriptImplIf::undo_script().

bool zypp::Script::undo_available (  )  const

Check whether script to undo the change is available.

Definition at line 49 of file Script.cc.

References pimpl(), and zypp::detail::ScriptImplIf::undo_available().

virtual Impl& zypp::Script::pimpl (  )  [private, pure virtual]

Access implementation.

Implements zypp::ResObject.

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

virtual const Impl& zypp::Script::pimpl (  )  const [private, pure virtual]

Access implementation.

Implements zypp::ResObject.


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