casacore
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
casacore::OrderedMapNotice< t, v > Class Template Reference

More...

#include <OrderedMap.h>

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

◆ NoticeType

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

◆ OrderedMapNotice()

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

◆ operator==()

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().

◆ 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

◆ OrderedMapIterRep< t, v >

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

Definition at line 1 of file OrderedMap.h.

◆ OrderedMapRep< t, v >

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

Definition at line 1 of file OrderedMap.h.

Member Data Documentation

◆ changeType

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

◆ modPos

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: