Cupt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Classes | Public Member Functions | Static Public Member Functions | Public Attributes
cupt::cache::BinaryVersion Struct Reference

binary version info More...

#include <cupt/cache/binaryversion.hpp>

Inheritance diagram for cupt::cache::BinaryVersion:
cupt::cache::Version

List of all members.

Classes

struct  RelationTypes
 relation types between binary versions More...

Public Member Functions

bool isInstalled () const
 is version installed?
virtual bool areHashesEqual (const shared_ptr< const Version > &other) const
 determines file equality between two versions

Static Public Member Functions

static shared_ptr< BinaryVersionparseFromFile (const Version::InitializationParameters &)
 parse version

Public Attributes

string architecture
 binary architecture
uint32_t installedSize
 approximate size of unpacked file content in bytes
string sourcePackageName
 source package name
string sourceVersionString
 source version string
bool essential
 has version 'essential' flag?
RelationLine relations [RelationTypes::Count]
 relations with other binary versions
vector< string > provides
 array of virtual package names
string shortDescription
 short description
string longDescription
 long description
string tags
 tags
FileRecord file
 Version::FileRecord.

Detailed Description

binary version info


Member Function Documentation

virtual bool cupt::cache::BinaryVersion::areHashesEqual ( const shared_ptr< const Version > &  other) const [virtual]

determines file equality between two versions

Parameters:
otherversion to compare with
Returns:
true if hash sums of all files in the version match hash sums of all files in the other version, false otherwise

Implements cupt::cache::Version.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator