Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

PMULSelectionDataProvider Class Reference

Realizes SelectionDataProvider for UnitedLinux packages format. More...

#include <PMULSelectionDataProvider.h>

Inheritance diagram for PMULSelectionDataProvider:

PMSelectionDataProvider CountedRep Rep List of all members.

Public Member Functions

 PMULSelectionDataProvider (const Pathname &selectionname)
virtual ~PMULSelectionDataProvider ()
virtual std::string summary (const PMSelection &sel_r, const LangCode &locale=LangCode("")) const
virtual std::list< std::string > description (const PMSelection &sel_r, const LangCode &locale=LangCode("")) const
virtual std::list< std::string > insnotify (const PMSelection &sel_r, const LangCode &locale=LangCode("")) const
virtual std::list< std::string > delnotify (const PMSelection &sel_r, const LangCode &locale=LangCode("")) const
virtual FSize size (const PMSelection &sel_r) const
virtual std::string category (const PMSelection &sel_r) const
virtual bool visible (const PMSelection &sel_r) const
virtual std::list< std::string > suggests (const PMSelection &sel_r) const
virtual std::list< PMSelectionPtr > suggests_ptrs (const PMSelection &sel_r) const
virtual std::list< std::string > recommends (const PMSelection &sel_r) const
virtual std::list< PMSelectionPtr > recommends_ptrs (const PMSelection &sel_r) const
virtual std::list< std::string > inspacks (const PMSelection &sel_r, const LangCode &locale=LangCode("")) const
virtual std::list< std::string > delpacks (const PMSelection &sel_r, const LangCode &locale=LangCode("")) const
virtual std::set< PMSelectablePtr > inspacks_ptrs (const PMSelection &sel_r, const LangCode &locale) const
virtual std::set< PMSelectablePtr > delpacks_ptrs (const PMSelection &sel_r, const LangCode &locale) const
virtual FSize archivesize (const PMSelection &sel_r) const
virtual std::string order (const PMSelection &sel_r) const
virtual bool isBase (const PMSelection &sel_r) const
virtual PMError provideSelToInstall (const PMSelection &sel_r, Pathname &path_r) const

Protected Member Functions

TagCacheRetrievalPtr getCacheRetrieval ()

Protected Attributes

TaggedFile::Tag::posmaptype _attr_SUMMARY
TaggedFile::Tag::posmaptype _attr_DESCRIPTION
TaggedFile::Tag::posmaptype _attr_INSNOTIFY
TaggedFile::Tag::posmaptype _attr_DELNOTIFY
FSize _attr_SIZE
std::string _attr_CATEGORY
bool _attr_ISBASE
bool _attr_VISIBLE
std::list< std::string > _attr_RECOMMENDS
std::list< PMSelectionPtr > _ptrs_attr_RECOMMENDS
std::list< std::string > _attr_SUGGESTS
std::list< PMSelectionPtr > _ptrs_attr_SUGGESTS
TaggedFile::Tag::posmaptype _attr_INSPACKS
TaggedFile::Tag::posmaptype _attr_DELPACKS
slcmaptype _ptrs_attr_INSPACKS
slcmaptype _ptrs_attr_DELPACKS
FSize _attr_ARCHIVESIZE
std::string _attr_ORDER
TagCacheRetrievalPtr _selection_retrieval

Private Types

typedef TaggedFile::Tag::posmaptype::const_iterator posmapIT
typedef map< LangCode, std::set<
PMSelectablePtr > > 
slcmaptype
typedef slcmaptype::const_iterator slcmapIT

Private Member Functions

 REP_BODY (PMULSelectionDataProvider)
posmapIT posmapFind (const TaggedFile::Tag::posmaptype &theMap, const LangCode &locale, bool with_empty) const
slcmapIT slcmapFind (const slcmaptype &theMap, const LangCode &locale, bool with_empty) const
std::string posmapSLookup (const TaggedFile::Tag::posmaptype &theMap, const LangCode &locale, bool with_empty) const
std::list< std::string > posmapLLookup (const TaggedFile::Tag::posmaptype &theMap, const LangCode &locale, bool with_empty) const
std::list< std::string > sellist2strlist (const std::list< PMSelectionPtr > &sellist) const
std::list< std::string > slclist2strlist (const std::set< PMSelectablePtr > &slclist) const
std::list< std::string > pkgsList (const LangCode &locale, bool is_delpacks) const
std::set< PMSelectablePtr > pkgsPointers (const LangCode &locale, bool is_delpacks) const

Detailed Description

Realizes SelectionDataProvider for UnitedLinux packages format.

InstSrcDataUL uses a per Selection DataProvider. Thus it's always the same Selection that calls the interface, and it's ok to store Selection related data here.

See also:
PMSelectionDataProvider


Member Typedef Documentation

typedef TaggedFile::Tag::posmaptype::const_iterator PMULSelectionDataProvider::posmapIT [private]
 

typedef slcmaptype::const_iterator PMULSelectionDataProvider::slcmapIT [private]
 

typedef map<LangCode,std::set<PMSelectablePtr> > PMULSelectionDataProvider::slcmaptype [private]
 


Constructor & Destructor Documentation

PMULSelectionDataProvider::PMULSelectionDataProvider const Pathname selectionname  ) 
 

PMULSelectionDataProvider::~PMULSelectionDataProvider  )  [virtual]
 


Member Function Documentation

FSize PMULSelectionDataProvider::archivesize const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::string PMULSelectionDataProvider::category const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< std::string > PMULSelectionDataProvider::delnotify const PMSelection sel_r,
const LangCode locale = LangCode("")
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< std::string > PMULSelectionDataProvider::delpacks const PMSelection sel_r,
const LangCode locale = LangCode("")
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::set< PMSelectablePtr > PMULSelectionDataProvider::delpacks_ptrs const PMSelection sel_r,
const LangCode locale
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< std::string > PMULSelectionDataProvider::description const PMSelection sel_r,
const LangCode locale = LangCode("")
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

TagCacheRetrievalPtr PMULSelectionDataProvider::getCacheRetrieval  )  [inline, protected]
 

std::list< std::string > PMULSelectionDataProvider::insnotify const PMSelection sel_r,
const LangCode locale = LangCode("")
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< std::string > PMULSelectionDataProvider::inspacks const PMSelection sel_r,
const LangCode locale = LangCode("")
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::set< PMSelectablePtr > PMULSelectionDataProvider::inspacks_ptrs const PMSelection sel_r,
const LangCode locale
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

bool PMULSelectionDataProvider::isBase const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::string PMULSelectionDataProvider::order const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< std::string > PMULSelectionDataProvider::pkgsList const LangCode locale,
bool  is_delpacks
const [private]
 

std::set< PMSelectablePtr > PMULSelectionDataProvider::pkgsPointers const LangCode locale,
bool  is_delpacks
const [private]
 

PMULSelectionDataProvider::posmapIT PMULSelectionDataProvider::posmapFind const TaggedFile::Tag::posmaptype theMap,
const LangCode locale,
bool  with_empty
const [private]
 

std::list< std::string > PMULSelectionDataProvider::posmapLLookup const TaggedFile::Tag::posmaptype theMap,
const LangCode locale,
bool  with_empty
const [private]
 

std::string PMULSelectionDataProvider::posmapSLookup const TaggedFile::Tag::posmaptype theMap,
const LangCode locale,
bool  with_empty
const [private]
 

PMError PMULSelectionDataProvider::provideSelToInstall const PMSelection sel_r,
Pathname path_r
const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< std::string > PMULSelectionDataProvider::recommends const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< PMSelectionPtr > PMULSelectionDataProvider::recommends_ptrs const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

PMULSelectionDataProvider::REP_BODY PMULSelectionDataProvider   )  [private]
 

std::list< std::string > PMULSelectionDataProvider::sellist2strlist const std::list< PMSelectionPtr > &  sellist  )  const [private]
 

FSize PMULSelectionDataProvider::size const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< std::string > PMULSelectionDataProvider::slclist2strlist const std::set< PMSelectablePtr > &  slclist  )  const [private]
 

PMULSelectionDataProvider::slcmapIT PMULSelectionDataProvider::slcmapFind const slcmaptype theMap,
const LangCode locale,
bool  with_empty
const [private]
 

std::list< std::string > PMULSelectionDataProvider::suggests const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::list< PMSelectionPtr > PMULSelectionDataProvider::suggests_ptrs const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.

std::string PMULSelectionDataProvider::summary const PMSelection sel_r,
const LangCode locale = LangCode("")
const [virtual]
 

Selection attributes InstSrcDataUL is able to provide.

See also:
PMSelectionDataProvider

Reimplemented from PMSelectionDataProvider.

bool PMULSelectionDataProvider::visible const PMSelection sel_r  )  const [virtual]
 

Reimplemented from PMSelectionDataProvider.


Member Data Documentation

FSize PMULSelectionDataProvider::_attr_ARCHIVESIZE [protected]
 

std::string PMULSelectionDataProvider::_attr_CATEGORY [protected]
 

TaggedFile::Tag::posmaptype PMULSelectionDataProvider::_attr_DELNOTIFY [protected]
 

TaggedFile::Tag::posmaptype PMULSelectionDataProvider::_attr_DELPACKS [protected]
 

TaggedFile::Tag::posmaptype PMULSelectionDataProvider::_attr_DESCRIPTION [protected]
 

TaggedFile::Tag::posmaptype PMULSelectionDataProvider::_attr_INSNOTIFY [protected]
 

TaggedFile::Tag::posmaptype PMULSelectionDataProvider::_attr_INSPACKS [protected]
 

bool PMULSelectionDataProvider::_attr_ISBASE [protected]
 

std::string PMULSelectionDataProvider::_attr_ORDER [protected]
 

std::list<std::string> PMULSelectionDataProvider::_attr_RECOMMENDS [protected]
 

FSize PMULSelectionDataProvider::_attr_SIZE [protected]
 

std::list<std::string> PMULSelectionDataProvider::_attr_SUGGESTS [protected]
 

TaggedFile::Tag::posmaptype PMULSelectionDataProvider::_attr_SUMMARY [protected]
 

bool PMULSelectionDataProvider::_attr_VISIBLE [protected]
 

slcmaptype PMULSelectionDataProvider::_ptrs_attr_DELPACKS [mutable, protected]
 

slcmaptype PMULSelectionDataProvider::_ptrs_attr_INSPACKS [mutable, protected]
 

std::list<PMSelectionPtr> PMULSelectionDataProvider::_ptrs_attr_RECOMMENDS [protected]
 

std::list<PMSelectionPtr> PMULSelectionDataProvider::_ptrs_attr_SUGGESTS [protected]
 

TagCacheRetrievalPtr PMULSelectionDataProvider::_selection_retrieval [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 14:30:33 2007 for yast2-packagemanager by doxygen 1.3.6