zypp::source::yum::YUMMessageImpl Class Reference

Class representing a message. More...

#include <YUMMessageImpl.h>

Inheritance diagram for zypp::source::yum::YUMMessageImpl:

zypp::detail::MessageImplIf zypp::detail::ResObjectImplIf zypp::base::ReferenceCounted NonCopyable List of all members.

Public Member Functions

 YUMMessageImpl (Source_Ref source_r, const zypp::parser::yum::YUMPatchMessage &parsed, Patch::constPtr patch)
 Default ctor.
virtual TranslatedText text () const
 Get the text of the message.
Patch::constPtr patch () const
 Patch the message belongs to - if any.
Source_Ref source () const
 Backlink to the source providing this.

Protected Attributes

TranslatedText _text
 The text of the message.

Private Attributes

Source_Ref _source
Patch::constPtr _patch

Friends

class YUMSourceImpl

Detailed Description

Class representing a message.

Definition at line 34 of file YUMMessageImpl.h.


Constructor & Destructor Documentation

zypp::source::yum::YUMMessageImpl::YUMMessageImpl Source_Ref  source_r,
const zypp::parser::yum::YUMPatchMessage parsed,
Patch::constPtr  patch
 

Default ctor.

Definition at line 34 of file YUMMessageImpl.cc.

References _text, and zypp::parser::yum::YUMPatchMessage::text.


Member Function Documentation

TranslatedText zypp::source::yum::YUMMessageImpl::text  )  const [virtual]
 

Get the text of the message.

Implements zypp::detail::MessageImplIf.

Definition at line 45 of file YUMMessageImpl.cc.

References _text.

Patch::constPtr zypp::source::yum::YUMMessageImpl::patch  )  const [virtual]
 

Patch the message belongs to - if any.

Reimplemented from zypp::detail::MessageImplIf.

Definition at line 53 of file YUMMessageImpl.cc.

References _patch.

Source_Ref zypp::source::yum::YUMMessageImpl::source  )  const [virtual]
 

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 49 of file YUMMessageImpl.cc.

References _source.


Friends And Related Function Documentation

friend class YUMSourceImpl [friend]
 

Definition at line 57 of file YUMMessageImpl.h.


Member Data Documentation

TranslatedText zypp::source::yum::YUMMessageImpl::_text [protected]
 

The text of the message.

Definition at line 51 of file YUMMessageImpl.h.

Referenced by text(), and YUMMessageImpl().

Source_Ref zypp::source::yum::YUMMessageImpl::_source [private]
 

Definition at line 53 of file YUMMessageImpl.h.

Referenced by source().

Patch::constPtr zypp::source::yum::YUMMessageImpl::_patch [private]
 

Definition at line 54 of file YUMMessageImpl.h.

Referenced by patch().


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