LibPkg
Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
pkg::table Class Reference

A base class to represent a data table. More...

#include <table.h>

Inheritance diagram for pkg::table:
pkg::binary_control_table pkg::env_packages_table pkg::path_table pkg::source_table pkg::status_table

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ table()

pkg::table::table ( )

Construct table.

◆ ~table()

pkg::table::~table ( )
virtual

Destroy table.

Member Function Documentation

◆ notify()

void pkg::table::notify ( )
protected

Friends And Related Function Documentation

◆ watcher

friend class watcher
friend

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

Reference Manual LibPkg Version 0.6.1 (28 Jan 2015)