LibPkg
|
A base class to represent a data table. More...
#include <table.h>
Classes | |
class | watcher |
A mixin class to allow an object to watch one or more tables. More... | |
Public Member Functions | |
table () | |
Construct table. More... | |
virtual | ~table () |
Destroy table. More... | |
Protected Member Functions | |
void | notify () |
Notify watchers that a change has occurred. More... | |
Friends | |
class | watcher |
A base class to represent a data table.
The base class does not provide any access to the content of the table. It does implement the notification mechanism, whereby other objects can be informed when the content has changed.
pkg::table::table | ( | ) |
Construct table.
|
virtual |
Destroy table.
|
protected |
Notify watchers that a change has occurred.
Referenced by pkg::path_table::alter(), pkg::status_table::clear(), pkg::path_table::clear(), pkg::path_table::ensure_defaults(), pkg::path_table::erase(), pkg::status_table::insert(), pkg::binary_control_table::insert(), pkg::env_packages_table::operator[](), pkg::source_table::update(), and pkg::binary_control_table::update().
|
friend |
Reference Manual | LibPkg | Version 0.9.0 (4 Sep 2020) |