TemperaryCacher cached the tmp Markdown holder.
More...
#include <TemperaryCacher.h>
|
| TemperaryCacher ()=default |
| Construct a new Temperary Cacher object.
|
|
| Q_DISABLE_COPY_MOVE (TemperaryCacher) |
| disabled the TemperaryCacher
|
|
void | ensub_labels (const QString &label, const QString &text) |
| push the label <-> context pair into management
|
|
void | remove_label (const QString &label) |
| remove the management
|
|
void | clear () |
| clear the holdings
|
|
QStringList | labels () const |
| label managings
|
|
std::optional< QString > | query (const QString &label) |
| query the context
|
|
TemperaryCacher cached the tmp Markdown holder.
◆ ensub_labels()
void TemperaryCacher::ensub_labels |
( |
const QString & |
label, |
|
|
const QString & |
text |
|
) |
| |
push the label <-> context pair into management
- Parameters
-
◆ labels()
QStringList TemperaryCacher::labels |
( |
| ) |
const |
|
inline |
label managings
- Returns
- QStringList
◆ query()
std::optional< QString > TemperaryCacher::query |
( |
const QString & |
label | ) |
|
query the context
- Parameters
-
- Returns
- std::optional<QString>
◆ remove_label()
void TemperaryCacher::remove_label |
( |
const QString & |
label | ) |
|
remove the management
- Parameters
-
The documentation for this class was generated from the following files:
- extern_app/EasyNotes/core/TemperaryCacher.h
- extern_app/EasyNotes/core/TemperaryCacher.cpp