PMPackageImEx Class Reference
Package/Selection import and export.
More...
#include <PMPackageImEx.h>
Inheritance diagram for PMPackageImEx:
List of all members.
Detailed Description
Package/Selection import and export.
PMPackageImEx
is able to remember the current systems packages/selections. This information might be written to and restored from file.
Previously remember information may be used to arrange package/selection managers settings, to restore the systems content as close as possible.
Member Typedef Documentation
Constructor & Destructor Documentation
PMPackageImEx::PMPackageImEx |
( |
|
) |
|
|
Member Function Documentation
bool PMPackageImEx::collect_Pkg |
( |
const constPMSelectablePtr & |
sel_r |
) |
[inline, private] |
|
|
Decides whether to remember data for the given package Selectable. If so, data are stored. |
bool PMPackageImEx::collect_Sel |
( |
const constPMSelectablePtr & |
sel_r |
) |
[private] |
|
|
Decides whether to remember data for the given selection Selectable. If so, data are stored. |
bool PMPackageImEx::doExport |
( |
const Pathname & |
path_r |
) |
const |
|
|
Expect path_r to denote a writable PMPackageImEx file, and store currently remembered PMPackageImEx data in it. Return false on any error. (we do not unlink any files on error!) |
std::ostream & PMPackageImEx::doExport |
( |
std::ostream & |
str |
) |
const |
|
|
Write currently remembered PMPackageImEx data to stream. On any error the streams FAIL and/or BAD bit is set. |
bool PMPackageImEx::doImport |
( |
const Pathname & |
path_r |
) |
|
|
|
Expect path_r to be a readable PMPackageImEx file, and read it's data. Return false on any error. |
std::istream & PMPackageImEx::doImport |
( |
std::istream & |
str |
) |
|
|
|
Read back PMPackageImEx data from stream. On any error (reading or parsing) the streams FAIL and/or BAD bit is set. |
ostream & PMPackageImEx::dumpOn |
( |
std::ostream & |
str |
) |
const [virtual] |
|
|
Dump some debug lines.
Reimplemented from CountedRep. |
void PMPackageImEx::getPMState |
( |
|
) |
|
|
|
Remember the current Package/SelectionManagers state. |
void PMPackageImEx::reset |
( |
|
) |
[inline, private] |
|
|
Froget previously remembered data. |
void PMPackageImEx::setPMState |
( |
|
) |
|
|
|
Restore Package/SelectionManagers state according to the remembered data.. |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by
1.3.6