casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
casa::OrderedMapNotice< t, v > Class Template Reference

Message used for OrderedMap notification. More...

#include <OrderedMap.h>

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

List of all members.

Public Member Functions

uInt type () const
 This function returns the "Notice" type, retrieved from the "type registry".
int operator== (const Notice &op) const
 This operator can be used to compare two "OrderedMapNotice"s.

Private Types

enum  NoticeType {
  CLEAR,
  DEFINE,
  REMOVE,
  DELETE
}

Private Member Functions

 OrderedMapNotice (uInt pos, NoticeType typ)

Private Attributes

enum
casa::OrderedMapNotice::NoticeType 
changeType
uInt modPos

Friends

class OrderedMapRep< t, v >
class OrderedMapIterRep< t, v >

Detailed Description

template<class t, class v>
class casa::OrderedMapNotice< t, v >

Message used for OrderedMap notification.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25
This is the message that flows between the OrderedMap
and the OrderedMap iterators. It allows OrderedMap
iterators to react to changes as they occur to the 
OrderedMap.

Definition at line 56 of file OrderedMap.h.


Member Enumeration Documentation

template<class t, class v>
enum casa::OrderedMapNotice::NoticeType [private]
Enumerator:
CLEAR 
DEFINE 
REMOVE 
DELETE 

Definition at line 60 of file OrderedMap.h.


Constructor & Destructor Documentation

template<class t, class v>
casa::OrderedMapNotice< t, v >::OrderedMapNotice ( uInt  pos,
NoticeType  typ 
) [inline, private]

Definition at line 71 of file OrderedMap.h.


Member Function Documentation

template<class t, class v>
int casa::OrderedMapNotice< t, v >::operator== ( const Notice op) const [inline, virtual]

This operator can be used to compare two "OrderedMapNotice"s.

Implements casa::Notice.

Definition at line 84 of file OrderedMap.h.

References casa::OrderedMapNotice< t, v >::changeType, casa::OrderedMapNotice< t, v >::modPos, casa::Notice::type(), and casa::OrderedMapNotice< t, v >::type().

template<class t, class v>
uInt casa::OrderedMapNotice< t, v >::type ( ) const [inline, virtual]

This function returns the "Notice" type, retrieved from the "type registry".

Implements casa::Notice.

Definition at line 78 of file OrderedMap.h.

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


Friends And Related Function Documentation

template<class t, class v>
friend class OrderedMapIterRep< t, v > [friend]

Definition at line 58 of file OrderedMap.h.

template<class t, class v>
friend class OrderedMapRep< t, v > [friend]

Definition at line 57 of file OrderedMap.h.


Member Data Documentation

template<class t, class v>
enum casa::OrderedMapNotice::NoticeType casa::OrderedMapNotice< t, v >::changeType [private]
template<class t, class v>
uInt casa::OrderedMapNotice< t, v >::modPos [private]

Definition at line 61 of file OrderedMap.h.

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


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