|
Cupt
|
Package for binary versions. More...
#include <cupt/cache/binarypackage.hpp>
Public Member Functions | |
| BinaryPackage (const shared_ptr< const string > &binaryArchitecture, bool allowReinstall) | |
| constructor | |
|
vector< shared_ptr< const BinaryVersion > > | getVersions () const |
| gets list of versions | |
| shared_ptr< const BinaryVersion > | getInstalledVersion () const |
| gets installed version | |
Public Member Functions inherited from cupt::cache::Package | |
| Package (const shared_ptr< const string > &binaryArchitecture) | |
| constructor | |
| virtual | ~Package () |
| destructor | |
| void | addEntry (const Version::InitializationParameters &) |
| adds new element (version initialization parameters) to the container | |
| shared_ptr< const Version > | getSpecificVersion (const string &versionString) const |
| gets version with a certain Version::versionString | |
Additional Inherited Members | |
Static Public Attributes inherited from cupt::cache::Package | |
| static bool | memoize |
| memoize parsed versions | |
Package for binary versions.
| cupt::cache::BinaryPackage::BinaryPackage | ( | const shared_ptr< const string > & | binaryArchitecture, |
| bool | allowReinstall | ||
| ) |
constructor
| binaryArchitecture | system binary architecture |
| allowReinstall | allow reinstalling installed version of this package, i.e. mangle the version string of installed version |
| shared_ptr< const BinaryVersion > cupt::cache::BinaryPackage::getInstalledVersion | ( | ) | const |
gets installed version
1.8.1.2