Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1ListNotice.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:32:25 2011 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п |
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". | |
int | operator== (const Notice &op) const |
This operator can be used to compare two ListNotices. | |
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. | |
ListNotice () | |
This constructor is used to initialize a notice for a deleted "List". | |
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.
Definition at line 69 of file List.h.
enum casa::ListNotice::modification |
casa::ListNotice< t >::ListNotice | ( | modification | m, | |
Link< t > * | oc, | |||
Link< t > * | op, | |||
Link< t > * | nc, | |||
Link< t > * | np, | |||
int | of, | |||
int | nf = 0 | |||
) | [inline, private] |
This is used to construct a list notice.
The parameters are:
casa::ListNotice< t >::ListNotice | ( | ) | [inline, private] |
int casa::ListNotice< t >::operator== | ( | const Notice & | op | ) | const [virtual] |
This operator can be used to compare two ListNotices.
Implements casa::Notice.
uInt casa::ListNotice< t >::type | ( | ) | const [virtual] |
This function returns the Notice "type", which is retrieved from the "type registry".
The registry information is maintained automatically by the Notice constructors. A form of run time type information, this function is mostly intended for advanced users.
Implements casa::Notice.
friend class ConstListIter< t > [friend] |
modification casa::ListNotice< t >::mod [private] |
Link<t>* casa::ListNotice< t >::ncur [private] |
Link<t>* casa::ListNotice< t >::nprev [private] |
Link<t>* casa::ListNotice< t >::ocur [private] |
int casa::ListNotice< t >::off [private] |
Link<t>* casa::ListNotice< t >::oprev [private] |
int casa::ListNotice< t >::otherOff [private] |