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

PkgDep::NeededEditionRange Struct Reference

#include <PkgDep.h>

List of all members.

Public Member Functions

 NeededEditionRange ()
bool allows_any () const
bool impossible () const
void merge (const PkgRelation &rel)

Public Attributes

PkgEdition greater
PkgEdition less
bool less_incl: 1
bool greater_incl: 1


Detailed Description

For unresolvable packages, the edition requirements are merged in this structure and returned. If either 'greater' or 'less' are UNSPEC, there's no requirement in this direction. If both are UNSPEC, any edition will satisfy the requirements. Otherwise, a satisfying edition must be greater than 'greater' and less than 'less'. The {le,gr}_incl fields are true if the ranges are meant inclusive at the resp. border. 'impossible' is true if greater > less, i.e. there are contradicting requirements.


Constructor & Destructor Documentation

PkgDep::NeededEditionRange::NeededEditionRange  )  [inline]
 


Member Function Documentation

bool PkgDep::NeededEditionRange::allows_any  )  const [inline]
 

bool PkgDep::NeededEditionRange::impossible  )  const [inline]
 

void PkgDep::NeededEditionRange::merge const PkgRelation rel  ) 
 


Member Data Documentation

PkgEdition PkgDep::NeededEditionRange::greater
 

bool PkgDep::NeededEditionRange::greater_incl
 

PkgEdition PkgDep::NeededEditionRange::less
 

bool PkgDep::NeededEditionRange::less_incl
 


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