casacore
|
Linked list update notice. More...
#include <List.h>
Public Types | |
enum | modification { DELETE, ADD, REMOVE, SWAP } |
Public Member Functions | |
uInt | type () const |
This function returns the Notice "type", which is retrieved from the "type registry". More... | |
int | operator== (const Notice &op) const |
This operator can be used to compare two ListNotices. More... | |
Public Member Functions inherited from casacore::Notice | |
Notice () | |
virtual | ~Notice () |
Private Member Functions | |
ListNotice (modification m, Link< t > *oc, Link< t > *op, Link< t > *nc, Link< t > *np, int of, int nf=0) | |
This is used to construct a list notice. More... | |
ListNotice () | |
This constructor is used to initialize a notice for a deleted "List". More... | |
Private Attributes | |
modification | mod |
Link< t > * | oprev |
Link< t > * | ocur |
Link< t > * | nprev |
Link< t > * | ncur |
int | off |
int | otherOff |
Friends | |
class | ConstListIter< t > |
class | ListIter< t > |
class | List< t > |
Linked list update notice.
Internal
This class is the notification which is passed between List<t>
and ListIter<t>
in order to keep cursors and container in sync. This is the mechanism which allows multiple iterators to view the same list and automatically update as the list is changed. See the Notice class for more information.
enum casacore::ListNotice::modification |
|
inlineprivate |
This is used to construct a list notice.
The parameters are:
|
inlineprivate |
|
virtual |
This operator can be used to compare two ListNotices.
Implements casacore::Notice.
uInt casacore::ListNotice< t >::type | ( | ) | const |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |