Deepsolver
|
The main class for package managing. More...
Public Member Functions | |
void | fetchIndices (AbstractFetchListener &listener, const AbstractOperationContinueRequest &continueRequest) const |
Updates repository content information. | |
std::string | generateSat (AbstractTransactionListener &listener, const UserTask &task) const |
OperationCore (const ConfigCenter &conf) | |
The constructor. | |
void | printPackagesByRequire (const NamedPkgRel &rel, std::ostream &s) const |
std::auto_ptr < TransactionIterator > | transaction (AbstractTransactionListener &listener, const UserTask &task) const |
virtual | ~OperationCore () |
The destructor. |
The OperationCore class is the central class of Deepsolver project. It allows every client to perform various manipulations with packages including installation, removing and upgrading. In addition this class takes care of information gathered about attached repositories.
Be careful, each method of the OperationCore class throws a number of exceptions. Their exact set depends on method purpose. The main structure used for configuring is a ConfigCenter class instance provided by a reference to OperationCore constructor.
According to accepted project design there are two additional classes purposed for direct client using as well as OperationCore itself: IndexCore and InfoCore. The former takes care about index construction and the second provides various information about known packages. These three classes are the main classes a end-user could be interested in.
OperationCore::OperationCore | ( | const ConfigCenter & | conf | ) | [inline] |
[in] | conf | A reference to configuration data object |
void OperationCore::fetchIndices | ( | AbstractFetchListener & | listener, |
const AbstractOperationContinueRequest & | continueRequest | ||
) | const |
OperationException | |
CurlException | |
SystemException |