casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
casacore::OrderedMapNotice< t, v > Class Template Reference

Message used for OrderedMap notification. More...

#include <OrderedMap.h>

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

Public Member Functions

uInt type () const
 This function returns the "Notice" type, retrieved from the "type registry". More...
 
int operator== (const Notice &op) const
 This operator can be used to compare two "OrderedMapNotice"s. More...
 
- Public Member Functions inherited from casacore::Notice
 Notice ()
 
virtual ~Notice ()
 

Private Types

enum  NoticeType {
  CLEAR,
  DEFINE,
  REMOVE,
  DELETE
}
 

Private Member Functions

 OrderedMapNotice (uInt pos, NoticeType typ)
 

Private Attributes

enum
casacore::OrderedMapNotice::NoticeType 
changeType
 
uInt modPos
 

Friends

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

Detailed Description

template<class t, class v>
class casacore::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 60 of file OrderedMap.h.

Member Enumeration Documentation

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

Definition at line 64 of file OrderedMap.h.

Constructor & Destructor Documentation

template<class t, class v>
casacore::OrderedMapNotice< t, v >::OrderedMapNotice ( uInt  pos,
NoticeType  typ 
)
inlineprivate

Definition at line 75 of file OrderedMap.h.

Member Function Documentation

template<class t, class v>
int casacore::OrderedMapNotice< t, v >::operator== ( const Notice op) const
inlinevirtual

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

Implements casacore::Notice.

Definition at line 88 of file OrderedMap.h.

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

template<class t, class v>
uInt casacore::OrderedMapNotice< t, v >::type ( ) const
inline

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

Definition at line 82 of file OrderedMap.h.

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

Friends And Related Function Documentation

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

Definition at line 62 of file OrderedMap.h.

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

Definition at line 61 of file OrderedMap.h.

Member Data Documentation

template<class t, class v>
enum casacore::OrderedMapNotice::NoticeType casacore::OrderedMapNotice< t, v >::changeType
private
template<class t, class v>
uInt casacore::OrderedMapNotice< t, v >::modPos
private

Definition at line 65 of file OrderedMap.h.

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


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