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.
virtual TranslatedText summary () const
 Short label.
virtual TranslatedText description () const
 Long description.
virtual TranslatedText insnotify () const
virtual TranslatedText delnotify () const
virtual TranslatedText licenseToConfirm () const
virtual Vendor vendor () const
virtual ByteCount size () const
 Size.
virtual ByteCount archivesize () const
virtual unsigned sourceMediaNr () const
 Number of the source media that provides the data required for installation.
virtual bool installOnly () const
virtual Date buildtime () const
virtual Date installtime () const
 Time of installation, or 0.
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
TranslatedText _summary
TranslatedText _description
TranslatedText _install_notify
TranslatedText _delete_notify
TranslatedText _license_to_confirm
std::string _vendor
ByteCount _size
ByteCount _archive_size
bool _install_only
Date _build_time
Date _install_time

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

virtual TranslatedText zypp::storage::XMLScriptImpl::summary  )  const [inline, virtual]
 

Short label.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 39 of file XMLScriptImpl.h.

References _summary.

virtual TranslatedText zypp::storage::XMLScriptImpl::description  )  const [inline, virtual]
 

Long description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 41 of file XMLScriptImpl.h.

References _description.

virtual TranslatedText zypp::storage::XMLScriptImpl::insnotify  )  const [inline, virtual]
 

Todo:
well define!

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 43 of file XMLScriptImpl.h.

References _install_notify.

virtual TranslatedText zypp::storage::XMLScriptImpl::delnotify  )  const [inline, virtual]
 

Todo:
well define!

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 45 of file XMLScriptImpl.h.

References _delete_notify.

virtual TranslatedText zypp::storage::XMLScriptImpl::licenseToConfirm  )  const [inline, virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 47 of file XMLScriptImpl.h.

References _license_to_confirm.

virtual Vendor zypp::storage::XMLScriptImpl::vendor void   )  const [inline, virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 49 of file XMLScriptImpl.h.

References _vendor.

virtual ByteCount zypp::storage::XMLScriptImpl::size  )  const [inline, virtual]
 

Size.

Todo:
well define which size.

Reimplemented from zypp::detail::ScriptImplIf.

Definition at line 51 of file XMLScriptImpl.h.

References _size.

virtual ByteCount zypp::storage::XMLScriptImpl::archivesize  )  const [inline, virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 53 of file XMLScriptImpl.h.

References _archive_size.

virtual unsigned zypp::storage::XMLScriptImpl::sourceMediaNr  )  const [inline, virtual]
 

Number of the source media that provides the data required for installation.

Zero, if no media access is required.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 55 of file XMLScriptImpl.h.

virtual bool zypp::storage::XMLScriptImpl::installOnly  )  const [inline, virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 57 of file XMLScriptImpl.h.

References _install_only.

virtual Date zypp::storage::XMLScriptImpl::buildtime  )  const [inline, virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 59 of file XMLScriptImpl.h.

References _build_time.

virtual Date zypp::storage::XMLScriptImpl::installtime  )  const [inline, virtual]
 

Time of installation, or 0.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 61 of file XMLScriptImpl.h.

References _install_time.

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 71 of file XMLScriptImpl.h.

Referenced by do_script(), and XMLScriptImpl().

TmpFile zypp::storage::XMLScriptImpl::_undo_script
 

Definition at line 72 of file XMLScriptImpl.h.

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

TranslatedText zypp::storage::XMLScriptImpl::_summary
 

Definition at line 74 of file XMLScriptImpl.h.

Referenced by summary().

TranslatedText zypp::storage::XMLScriptImpl::_description
 

Definition at line 75 of file XMLScriptImpl.h.

Referenced by description().

TranslatedText zypp::storage::XMLScriptImpl::_install_notify
 

Definition at line 77 of file XMLScriptImpl.h.

Referenced by insnotify().

TranslatedText zypp::storage::XMLScriptImpl::_delete_notify
 

Definition at line 78 of file XMLScriptImpl.h.

Referenced by delnotify().

TranslatedText zypp::storage::XMLScriptImpl::_license_to_confirm
 

Definition at line 79 of file XMLScriptImpl.h.

Referenced by licenseToConfirm().

std::string zypp::storage::XMLScriptImpl::_vendor
 

Definition at line 80 of file XMLScriptImpl.h.

Referenced by vendor().

ByteCount zypp::storage::XMLScriptImpl::_size
 

Definition at line 81 of file XMLScriptImpl.h.

Referenced by size().

ByteCount zypp::storage::XMLScriptImpl::_archive_size
 

Definition at line 82 of file XMLScriptImpl.h.

Referenced by archivesize().

bool zypp::storage::XMLScriptImpl::_install_only
 

Definition at line 83 of file XMLScriptImpl.h.

Referenced by installOnly().

Date zypp::storage::XMLScriptImpl::_build_time
 

Definition at line 84 of file XMLScriptImpl.h.

Referenced by buildtime().

Date zypp::storage::XMLScriptImpl::_install_time
 

Definition at line 85 of file XMLScriptImpl.h.

Referenced by installtime().


The documentation for this struct was generated from the following files:
Generated on Thu Jul 6 00:07:35 2006 for zypp by  doxygen 1.4.6