casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::Notice Class Reference

abstract base class for notices More...

#include <Notice.h>

Inheritance diagram for casa::Notice:
casa::ListNotice< t > casa::OrderedMapNotice< t, v > casa::RecordNotice

List of all members.

Public Member Functions

 Notice ()
virtual ~Notice ()
virtual uInt type () const =0
 Return the identification number of the Notice type.
virtual int operator== (const Notice &) const =0
 Compare two Notices.

Detailed Description

abstract base class for notices

Intended use:

Public interface

Review Status

Reviewed By:
Friso Olnon
Date Reviewed:
1995/03/16

Synopsis

A Notice is the piece of information passed around between a NoticeSource and a NoticeTarget. This abstract base class is only a skeleton intended to be derived from. It does not contain any relevant information -- that must be added by the derived classes --, but it enforces derived classes to implement the comparison operator == and the function type().

Example

ListNotice , derived from Notice, is the notification which is passed between List and ListIter to keep cursors and container in sync.

Definition at line 61 of file Notice.h.


Constructor & Destructor Documentation

casa::Notice::Notice ( ) [inline]

Definition at line 63 of file Notice.h.

virtual casa::Notice::~Notice ( ) [virtual]

Member Function Documentation

virtual int casa::Notice::operator== ( const Notice ) const [pure virtual]
virtual uInt casa::Notice::type ( ) const [pure virtual]

Return the identification number of the Notice type.

Implemented in casa::RecordNotice, casa::ListNotice< t >, and casa::OrderedMapNotice< t, v >.

Referenced by casa::OrderedMapNotice< t, v >::operator==().


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