PkgSplit Class Reference
Represents information of splitprovides.
More...
#include <PkgSplit.h>
List of all members.
Detailed Description
Represents information of splitprovides.
Syntax for splitprovides is: pkgname:/absolute/path
A package that contains a splitprovides partially replaces an installed<
package pkgname, iff the installed pkgname contains /absolute/path in it's filelist.
The indicator file /absolute/path is one of the files that were moved out of pkgname and into this package, as the package was slpitted.
If an unsplitted version of pkgname is replaced (e.g. on update), this package should be automatically set to install.
Constructor & Destructor Documentation
| PkgSplit::PkgSplit |
( |
|
) |
[inline] |
|
| PkgSplit::PkgSplit |
( |
const std::string & |
splitprovides_r, |
|
|
const bool |
quiet_r = false |
|
) |
|
|
|
|
Construct from string "pkgname:/absolute/path". If the string does not form a valid splitprovides, an error is reported, unless quiet_r is true. To form a valid splitprovides, the string must not contain whitespace and neither pkgname nor path may be empty. |
Member Function Documentation
| const Pathname& PkgSplit::file |
( |
|
) |
const [inline] |
|
|
|
Returns the file that must be owned by the installed package. |
| const PkgName& PkgSplit::ipkg |
( |
|
) |
const [inline] |
|
|
|
Returns the name of the package that has to be installed. |
| bool PkgSplit::valid |
( |
|
) |
const [inline] |
|
|
|
Return true if neither PkgName nor Pathname are empty. Usefull in conjunction with PkgSplit( string, true ) in e.g. parser to filter out splitprovides. |
Friends And Related Function Documentation
| std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const PkgSplit & |
obj |
|
) |
[friend] |
|
|
|
Stream output as 'ipkg:/file' |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Mon Sep 12 21:52:14 2005 for yast2-packagemanager by
1.4.4