Cupt
|
Package for binary versions. More...
#include <cupt/cache/binarypackage.hpp>
Public Member Functions | |
BinaryPackage (const shared_ptr< const string > &binaryArchitecture, bool allowReinstall) | |
vector< shared_ptr< const BinaryVersion > > | getVersions () const |
gets list of versions | |
shared_ptr< const BinaryVersion > | getInstalledVersion () const |
gets installed version | |
![]() | |
Package (const shared_ptr< const string > &binaryArchitecture) | |
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 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