zypp::repo::cached::ScriptImpl Class Reference

#include <ScriptImpl.h>

Inheritance diagram for zypp::repo::cached::ScriptImpl:
[legend]

List of all members.

Public Member Functions

 ScriptImpl (const data::RecordId &id, repo::cached::RepoImpl::Ptr repository_r)
 Default ctor.
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 bool installOnly () const
virtual Date buildtime () const
virtual Date installtime () const
 Time of installation, or 0.
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 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.
virtual Repository repository () const
 Backlink to the source providing this.

Private Attributes

repo::cached::RepoImpl::Ptr _repository
data::RecordId _id


Detailed Description

Definition at line 28 of file ScriptImpl.h.


Constructor & Destructor Documentation

zypp::repo::cached::ScriptImpl::ScriptImpl ( const data::RecordId id,
repo::cached::RepoImpl::Ptr  repository_r 
)

Default ctor.

Definition at line 33 of file ScriptImpl.cc.


Member Function Documentation

TranslatedText zypp::repo::cached::ScriptImpl::summary (  )  const [virtual]

Short label.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 48 of file ScriptImpl.cc.

References zypp::cache::attrResObjectSummary().

TranslatedText zypp::repo::cached::ScriptImpl::description (  )  const [virtual]

Long description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 53 of file ScriptImpl.cc.

References zypp::cache::attrResObjectDescription().

TranslatedText zypp::repo::cached::ScriptImpl::insnotify (  )  const [virtual]

Todo:
well define!

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 58 of file ScriptImpl.cc.

References zypp::cache::attrResObjectInsnotify().

TranslatedText zypp::repo::cached::ScriptImpl::delnotify (  )  const [virtual]

Todo:
well define!

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 63 of file ScriptImpl.cc.

References zypp::cache::attrResObjectDelnotify().

TranslatedText zypp::repo::cached::ScriptImpl::licenseToConfirm (  )  const [virtual]

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 68 of file ScriptImpl.cc.

References zypp::cache::attrResObjectLicenseToConfirm().

Vendor zypp::repo::cached::ScriptImpl::vendor (  )  const [virtual]

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 73 of file ScriptImpl.cc.

References zypp::cache::attrResObjectVendor().

ByteCount zypp::repo::cached::ScriptImpl::size (  )  const [virtual]

Size.

Todo:
well define which size.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 79 of file ScriptImpl.cc.

References zypp::cache::attrResObjectInstalledSize().

bool zypp::repo::cached::ScriptImpl::installOnly (  )  const [virtual]

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 84 of file ScriptImpl.cc.

References zypp::cache::attrResObjectInstallOnly().

Date zypp::repo::cached::ScriptImpl::buildtime (  )  const [virtual]

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 89 of file ScriptImpl.cc.

References zypp::cache::attrResObjectBuildTime().

Date zypp::repo::cached::ScriptImpl::installtime (  )  const [virtual]

Time of installation, or 0.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 94 of file ScriptImpl.cc.

std::string zypp::repo::cached::ScriptImpl::doScriptInlined (  )  const [virtual]

Return an inlined script if available.

Otherwise it is available at doScriptLocation.

Reimplemented from zypp::detail::ScriptImplIf.

Definition at line 103 of file ScriptImpl.cc.

References zypp::cache::attrScriptDoScript().

OnMediaLocation zypp::repo::cached::ScriptImpl::doScriptLocation (  )  const [virtual]

Location of the script, unless it is available inlined.

See also:
doScriptInlined

Reimplemented from zypp::detail::ScriptImplIf.

Definition at line 108 of file ScriptImpl.cc.

References queryOnMediaLocation.

std::string zypp::repo::cached::ScriptImpl::undoScriptInlined (  )  const [virtual]

Return an inlined undo script if available.

Otherwise it is available at undoScriptLocation.

Reimplemented from zypp::detail::ScriptImplIf.

Definition at line 115 of file ScriptImpl.cc.

OnMediaLocation zypp::repo::cached::ScriptImpl::undoScriptLocation (  )  const [virtual]

Location of the undo script, unless it is available inlined.

See also:
undoScriptInlined

Reimplemented from zypp::detail::ScriptImplIf.

Definition at line 120 of file ScriptImpl.cc.

References queryOnMediaLocation.

Repository zypp::repo::cached::ScriptImpl::repository (  )  const [virtual]

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 39 of file ScriptImpl.cc.


Member Data Documentation

repo::cached::RepoImpl::Ptr zypp::repo::cached::ScriptImpl::_repository [private]

Definition at line 54 of file ScriptImpl.h.

data::RecordId zypp::repo::cached::ScriptImpl::_id [private]

Definition at line 55 of file ScriptImpl.h.


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:25 2007 for libzypp by  doxygen 1.5.3