kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDB::Repository::VersionControl::Delta Class Reference

Classes

struct  Private
 

Public Member Functions

 Delta (const Delta &_delta)
 
Deltaoperator= (const Delta &_delta)
 
QByteArray parent () const
 
QByteArray child () const
 
QByteArray hash () const
 
QByteArray delta () const
 
bool isValid () const
 
bool operator== (const Delta &_rhs) const
 
Delta reverse () const
 
bool isSigned () const
 
QList< Signaturesignatures () const
 
bool isSignedBy (const QUuid &_author) const
 
void sign (const QUuid &_author, const Cyqlops::Crypto::RSAAlgorithm &_signature_algortihm)
 

Friends

class kDB::Repository::DatabaseInterface::PostgreSQL::SQLInterface
 
class DeltaBuilder
 
class RevisionBuilder
 

Member Function Documentation

◆ isSigned()

bool Delta::isSigned ( ) const
Returns
true if signed by at least one agent.

◆ isSignedBy()

bool Delta::isSignedBy ( const QUuid & _author) const
Returns
true if one of the delta is signed by _author

◆ sign()

void Delta::sign ( const QUuid & _author,
const Cyqlops::Crypto::RSAAlgorithm & _signature_algortihm )

Sign this delta.

◆ signatures()

QList< Signature > Delta::signatures ( ) const

List of agents that have signed this delta.


The documentation for this class was generated from the following files: