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

PMSelection Class Reference

#include <PMSelection.h>

Inheritance diagram for PMSelection:

PMObject PMSolvable CountedRep Rep List of all members.

Public Member Functions

std::string summary (const LangCode &locale) const
std::list< std::string > description (const LangCode &locale) const
std::list< std::string > insnotify (const LangCode &locale) const
std::list< std::string > delnotify (const LangCode &locale) const
virtual std::string summary () const
virtual std::list< std::string > description () const
virtual std::list< std::string > insnotify () const
virtual std::list< std::string > delnotify () const
virtual FSize size () const
virtual bool providesSources () const
virtual std::string instSrcLabel () const
virtual Vendor instSrcVendor () const
virtual unsigned instSrcRank () const
std::string category () const
bool visible () const
std::list< std::string > suggests () const
std::list< PMSelectionPtr > suggests_ptrs ()
std::list< std::string > recommends () const
std::list< PMSelectionPtr > recommends_ptrs ()
std::list< std::string > inspacks (const LangCode &locale=LangCode("")) const
std::list< std::string > delpacks (const LangCode &locale=LangCode("")) const
FSize archivesize () const
std::string order () const
const bool isBase () const
std::set< PMSelectablePtr > inspacks_ptrs (const LangCode &locale)
std::set< PMSelectablePtr > inspacks_ptrs (const PM::LocaleSet &locales)
std::set< PMSelectablePtr > delpacks_ptrs (const LangCode &locale)
std::set< PMSelectablePtr > delpacks_ptrs (const PM::LocaleSet &locales)
PMError provideSelToInstall (Pathname &) const
 PMSelection (const PkgName &name_r, const PkgEdition &edition_r, const PkgArch &arch_r, PMSelectionDataProviderPtr dataProvider_r)
virtual ~PMSelection ()
std::set< PMSelectablePtr > inspacks_ptrs ()
std::set< PMSelectablePtr > delpacks_ptrs ()
virtual std::ostream & dumpOn (std::ostream &str) const

Static Public Member Functions

int compareByOrder (constPMSelectionPtr lhs, constPMSelectionPtr rhs)
bool lessByOrder (constPMSelectionPtr lhs, constPMSelectionPtr rhs)

Protected Attributes

PMSelectionDataProviderPtr _dataProvider

Private Member Functions

 REP_BODY (PMSelection)

Detailed Description

The software selection


Constructor & Destructor Documentation

PMSelection::PMSelection const PkgName name_r,
const PkgEdition edition_r,
const PkgArch arch_r,
PMSelectionDataProviderPtr  dataProvider_r
 

PMSelection::~PMSelection  )  [virtual]
 


Member Function Documentation

FSize PMSelection::archivesize  )  const
 

std::string PMSelection::category  )  const
 

PMSelection attributes passed off to PMSelectionDataProvider

See also:
PMSelectionDataProvider

int PMSelection::compareByOrder constPMSelectionPtr  lhs,
constPMSelectionPtr  rhs
[inline, static]
 

Compare two Selections by order value, then by name.

virtual std::list<std::string> PMSelection::delnotify  )  const [inline, virtual]
 

Implements PMObject.

std::list< std::string > PMSelection::delnotify const LangCode locale  )  const
 

std::list< std::string > PMSelection::delpacks const LangCode locale = LangCode("")  )  const
 

set< PMSelectablePtr > PMSelection::delpacks_ptrs  ) 
 

PackageManagers list of Selectables included in this Selection. This is the list of delpacks the SelectionManger operates with.

std::set< PMSelectablePtr > PMSelection::delpacks_ptrs const PM::LocaleSet locales  ) 
 

std::set< PMSelectablePtr > PMSelection::delpacks_ptrs const LangCode locale  ) 
 

PackageManagers list of Selectables included in this Selection for a given locale. This is probaeely not, what you want. See delpacks_ptrs().

virtual std::list<std::string> PMSelection::description  )  const [inline, virtual]
 

Implements PMObject.

std::list< std::string > PMSelection::description const LangCode locale  )  const
 

ostream & PMSelection::dumpOn std::ostream &  str  )  const [virtual]
 

Used by ostream::operator<< to print some debug lines

Reimplemented from PMObject.

virtual std::list<std::string> PMSelection::insnotify  )  const [inline, virtual]
 

Implements PMObject.

std::list< std::string > PMSelection::insnotify const LangCode locale  )  const
 

std::list< std::string > PMSelection::inspacks const LangCode locale = LangCode("")  )  const
 

set< PMSelectablePtr > PMSelection::inspacks_ptrs  ) 
 

PackageManagers list of Selectables included in this Selection. This is the list of inspacks the SelectionManger operates with.

std::set< PMSelectablePtr > PMSelection::inspacks_ptrs const PM::LocaleSet locales  ) 
 

std::set< PMSelectablePtr > PMSelection::inspacks_ptrs const LangCode locale  ) 
 

PackageManagers list of Selectables included in this Selection for a given locale. This is probaeely not, what you want. See inspacks_ptrs().

std::string PMSelection::instSrcLabel  )  const [virtual]
 

Implements PMObject.

unsigned PMSelection::instSrcRank  )  const [virtual]
 

Implements PMObject.

Vendor PMSelection::instSrcVendor  )  const [virtual]
 

Implements PMObject.

const bool PMSelection::isBase  )  const
 

bool PMSelection::lessByOrder constPMSelectionPtr  lhs,
constPMSelectionPtr  rhs
[inline, static]
 

Return whether compared by order lhs is less than rhs.

std::string PMSelection::order  )  const
 

PMError PMSelection::provideSelToInstall Pathname  )  const
 

bool PMSelection::providesSources  )  const [virtual]
 

Implements PMObject.

std::list< std::string > PMSelection::recommends  )  const
 

std::list< PMSelectionPtr > PMSelection::recommends_ptrs  ) 
 

PMSelection::REP_BODY PMSelection   )  [private]
 

FSize PMSelection::size  )  const [virtual]
 

Implements PMObject.

std::list< std::string > PMSelection::suggests  )  const
 

std::list< PMSelectionPtr > PMSelection::suggests_ptrs  ) 
 

virtual std::string PMSelection::summary  )  const [inline, virtual]
 

PMObject attributes that should be realized by each concrete Object. Mostly because the UI likes to have some data to show. If there are no data a concrete Object could provide, call PMObjects default implementation.

Implements PMObject.

std::string PMSelection::summary const LangCode locale  )  const
 

PMObject attributes that should be realized by each concrete Object.

See also:
PMObject

bool PMSelection::visible  )  const
 


Member Data Documentation

PMSelectionDataProviderPtr PMSelection::_dataProvider [protected]
 


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