casa
$Rev:20696$
|
abstract base class for notices More...
#include <Notice.h>
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 Notice s. |
abstract base class for notices
Public interface
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()
.
ListNotice , derived from Notice
, is the notification which is passed between List and ListIter to keep cursors and container in sync.
casa::Notice::Notice | ( | ) | [inline] |
virtual casa::Notice::~Notice | ( | ) | [virtual] |
virtual int casa::Notice::operator== | ( | const Notice & | ) | const [pure virtual] |
Compare two Notice
s.
Implemented in casa::RecordNotice, casa::ListNotice< t >, and casa::OrderedMapNotice< t, v >.
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==().