Repository
Repository Class Reference
#include <repo.h>
Public Member Functions | |
void | add (const QByteArray &key, Data_entry &data) |
int | expire () |
QByteArray | find (const QByteArray &key) const |
QByteArray | findKeys (const QByteArray &group, const char *sep="-") const |
int | hasGroup (const QByteArray &group) const |
int | remove (const QByteArray &key) |
int | removeGroup (const QByteArray &group) |
int | removeSpecialKey (const QByteArray &key) |
Detailed Description
String repository.
This class implements a string repository with expiration.
Constructor & Destructor Documentation
◆ Repository()
◆ ~Repository()
Member Function Documentation
◆ add()
void Repository::add | ( | const QByteArray & | key, |
Data_entry & | data ) |
◆ expire()
int Repository::expire | ( | ) |
◆ find()
QByteArray Repository::find | ( | const QByteArray & | key | ) | const |
◆ findKeys()
QByteArray Repository::findKeys | ( | const QByteArray & | group, |
const char * | sep = "-" ) const |
◆ hasGroup()
int Repository::hasGroup | ( | const QByteArray & | group | ) | const |
◆ remove()
int Repository::remove | ( | const QByteArray & | key | ) |
◆ removeGroup()
int Repository::removeGroup | ( | const QByteArray & | group | ) |
◆ removeSpecialKey()
int Repository::removeSpecialKey | ( | const QByteArray & | key | ) |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:50:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:50:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.