18#ifndef CUPT_CACHE_BINARYVERSION_SEEN
19#define CUPT_CACHE_BINARYVERSION_SEEN
37 enum Type { PreDepends, Depends, Recommends, Suggests, Enhances, Conflicts, Breaks, Replaces, Count };
relation types between binary versions
Definition binaryversion.hpp:35
static const char * rawStrings[]
lower-case, unlocalized string values of corresponding types
Definition binaryversion.hpp:39
static const string strings[]
string values of corresponding types
Definition binaryversion.hpp:38
Type
type
Definition binaryversion.hpp:37
binary version info
Definition binaryversion.hpp:32
string sourcePackageName
source package name
Definition binaryversion.hpp:43
string descriptionHash
MD5 hash sum value of the full description.
Definition binaryversion.hpp:53
vector< Relation > provides
Definition binaryversion.hpp:48
string architecture
binary architecture
Definition binaryversion.hpp:41
virtual bool areHashesEqual(const Version *other) const
determines file equality between two versions
uint32_t installedSize
approximate size of unpacked file content in bytes
Definition binaryversion.hpp:42
FileRecord file
Version::FileRecord.
Definition binaryversion.hpp:55
bool important
has version 'important' flag?
Definition binaryversion.hpp:46
bool essential
has version 'essential' flag?
Definition binaryversion.hpp:45
RelationLine relations[RelationTypes::Count]
relations with other binary versions
Definition binaryversion.hpp:47
string tags
tags
Definition binaryversion.hpp:54
bool isInstalled() const
is version installed?
string sourceVersionString
source version string
Definition binaryversion.hpp:44
array of relation expressions
Definition relation.hpp:176
file information
Definition version.hpp:63