libkeepass 0.2.0
KeePass key database importer/exporter library
Loading...
Searching...
No Matches
keepass::Metadata::DeletedObject Class Referencefinal

A tombstone for a deleted group, entry or icon. More...

#include <metadata.hh>

Public Member Functions

 DeletedObject (const std::array< uint8_t, 16 > &uuid, std::time_t deletion_time)
 Creates a deletion tombstone with the given UUID and deletion time.
 
const std::array< uint8_t, 16 > & uuid () const
 Returns the UUID of the deleted object.
 
void set_uuid (const std::array< uint8_t, 16 > &uuid)
 Sets the UUID of the deleted object.
 
std::time_t deletion_time () const
 Returns the deletion time.
 
void set_deletion_time (std::time_t time)
 Sets the deletion time.
 
bool operator== (const DeletedObject &other) const
 Equality comparison.
 
bool operator!= (const DeletedObject &other) const
 Inequality comparison.
 

Detailed Description

A tombstone for a deleted group, entry or icon.

KDBX records deletions of groups, entries and (since KDBX 4.1) custom icons in a "DeletedObjects" list, so that synchronized clients can delete the same objects. A DeletedObject consists of the deleted entity's UUID and the time of its deletion.


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