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

source version info More...

#include <cupt/cache/sourceversion.hpp>

Inheritance diagram for cupt::cache::SourceVersion:
cupt::cache::Version

List of all members.

Classes

struct  FileParts
 file parts More...
struct  RelationTypes
 build-time relation types between source version and binary versions More...

Public Member Functions

virtual bool areHashesEqual (const shared_ptr< const Version > &other) const
 determines file equality between two versions

Static Public Member Functions

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

Public Attributes

ArchitecturedRelationLine relations [RelationTypes::Count]
 relations
vector< FileRecord > files [FileParts::Count]
 Version::FileRecord s.
vector< string > uploaders
 array of uploaders
vector< string > binaryPackageNames
 array of binary package names, which are built out of
vector< string > architectures
 array of binary architectures on which this source version may be built

Detailed Description

source version info


Member Function Documentation

virtual bool cupt::cache::SourceVersion::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