AtomImpl.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00009 
00010 #include "zypp/TranslatedText.h"
00011 #include "zypp/base/String.h"
00012 #include "zypp/base/Logger.h"
00013 #include "zypp/repo/RepositoryImpl.h"
00014 #include "AtomImpl.h"
00015 
00016 
00017 using namespace std;
00018 using namespace zypp::detail;
00019 using namespace::zypp::repo;
00020 
00022 namespace zypp { namespace repo { namespace memory {
00023 
00025 //
00026 //        CLASS NAME : AtomImpl
00027 //
00029 
00032 AtomImpl::AtomImpl ( memory::RepoImpl::Ptr repo, data::Atom_Ptr ptr)
00033     : _repository (repo)
00034 {}
00035 
00036 Repository
00037 AtomImpl::repository() const
00038 {
00039   return _repository->selfRepository();
00040 }
00041 
00043 // ResObject Attributes
00045 
00046 TranslatedText AtomImpl::summary() const
00047 {
00048   return _summary;
00049 }
00050 
00051 TranslatedText AtomImpl::description() const
00052 {
00053   return _description;
00054 }
00055 
00056 TranslatedText AtomImpl::insnotify() const
00057 {
00058   return _insnotify;
00059 }
00060 
00061 TranslatedText AtomImpl::delnotify() const
00062 {
00063   return _delnotify;
00064 }
00065 
00066 TranslatedText AtomImpl::licenseToConfirm() const
00067 {
00068   return _license_to_confirm;
00069 }
00070 
00071 Vendor AtomImpl::vendor() const
00072 {
00073   return _vendor;
00074 }
00075 
00076 ByteCount AtomImpl::size() const
00077 {
00078   return _size;
00079 }
00080 
00081 bool AtomImpl::installOnly() const
00082 {
00083   return _install_only;
00084 }
00085 
00086 Date AtomImpl::buildtime() const
00087 {
00088   return _buildtime;
00089 }
00090 
00091 Date AtomImpl::installtime() const
00092 {
00093   return _installtime;
00094 }
00095 
00097 } } } // namespace zypp::repo::memory
00099 

Generated on Tue Sep 25 19:23:00 2007 for libzypp by  doxygen 1.5.3