kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kdb
kDB
Repository
VersionControl
AbstractMergeStrategy.h
1
#ifndef _KDB_REPOSITORY_VERSION_CONTROL_ABSTRACT_MERGE_STRATEGY_H_
2
#define _KDB_REPOSITORY_VERSION_CONTROL_ABSTRACT_MERGE_STRATEGY_H_
3
4
#include <QList>
5
6
class
QUuid;
7
8
#include <kDB/Forward.h>
9
10
namespace
Cyqlops::Crypto
11
{
12
class
RSAAlgorithm;
13
}
14
15
namespace
kDB::Repository::VersionControl
16
{
22
class
AbstractMergeStrategy
23
{
24
protected
:
25
struct
Private
;
26
AbstractMergeStrategy
(
Private
* _d);
27
public
:
28
~AbstractMergeStrategy
();
29
void
addRevisions(
const
QList<Revision>
& _revisions);
30
bool
merge();
36
bool
hasChanges
(qsizetype _index)
const
;
37
QByteArray diff(qsizetype _index)
const
;
38
QByteArray parentHash(qsizetype _index)
const
;
39
bool
allHaveChanges()
const
;
40
protected
:
41
Private
*
const
d;
42
};
43
}
44
45
#endif
QList
Definition
Revision.h:9
kDB::Repository::VersionControl::AbstractMergeStrategy
Definition
AbstractMergeStrategy.h:23
kDB::Repository::VersionControl::AbstractMergeStrategy::hasChanges
bool hasChanges(qsizetype _index) const
kDB::Repository::VersionControl::AbstractMergeStrategy::Private
Definition
AbstractMergeStrategy_p.h:13
Generated by
1.12.0