CVCL::CDMapOrdered< Key, Data > Class Template Reference

#include <cdmap_ordered.h>

Inheritance diagram for CVCL::CDMapOrdered< Key, Data >:

Inheritance graph
[legend]
Collaboration diagram for CVCL::CDMapOrdered< Key, Data >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Member Functions

Private Attributes

Friends

Classes


Detailed Description

template<class Key, class Data>
class CVCL::CDMapOrdered< Key, Data >

Definition at line 134 of file cdmap_ordered.h.


Constructor & Destructor Documentation

template<class Key, class Data>
CVCL::CDMapOrdered< Key, Data >::CDMapOrdered Context context,
int  scope = -1
[inline]
 

Definition at line 165 of file cdmap_ordered.h.

References CVCL::ContextObj::IF_DEBUG().

template<class Key, class Data>
CVCL::CDMapOrdered< Key, Data >::~CDMapOrdered  )  [inline]
 

Definition at line 169 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::setNull().


Member Function Documentation

template<class Key, class Data>
virtual ContextObj* CVCL::CDMapOrdered< Key, Data >::makeCopy void   )  [inline, private, virtual]
 

Make a copy of the current object so it can be restored to its current state.

Implements CVCL::ContextObj.

Definition at line 144 of file cdmap_ordered.h.

template<class Key, class Data>
virtual void CVCL::CDMapOrdered< Key, Data >::restoreData ContextObj data  )  [inline, private, virtual]
 

Restore the current object from the given data.

Reimplemented from CVCL::ContextObj.

Definition at line 146 of file cdmap_ordered.h.

template<class Key, class Data>
void CVCL::CDMapOrdered< Key, Data >::emptyTrash  )  [inline, private]
 

Definition at line 149 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_trash.

Referenced by CVCL::CDMapOrdered< Key, Data >::insert(), CVCL::CDMapOrdered< Key, Data >::operator[](), and CVCL::CDMapOrdered< Key, Data >::setNull().

template<class Key, class Data>
virtual void CVCL::CDMapOrdered< Key, Data >::setNull void   )  [inline, private, virtual]
 

Set the current object to be invalid.

Implements CVCL::ContextObj.

Definition at line 156 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_map, and CVCL::CDMapOrdered< Key, Data >::emptyTrash().

Referenced by CVCL::CDMapOrdered< Key, Data >::~CDMapOrdered().

template<class Key, class Data>
size_t CVCL::CDMapOrdered< Key, Data >::size  )  const [inline]
 

Definition at line 171 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_map.

template<class Key, class Data>
size_t CVCL::CDMapOrdered< Key, Data >::count const Key &  k  )  const [inline]
 

Definition at line 172 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_map.

template<class Key, class Data>
CDOmapOrdered<Key,Data>& CVCL::CDMapOrdered< Key, Data >::operator[] const Key &  k  )  [inline]
 

Definition at line 175 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_context, CVCL::CDMapOrdered< Key, Data >::d_map, and CVCL::CDMapOrdered< Key, Data >::emptyTrash().

template<class Key, class Data>
void CVCL::CDMapOrdered< Key, Data >::insert const Key &  k,
const Data &  d,
int  scope = -1
[inline]
 

Definition at line 188 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_context, CVCL::CDMapOrdered< Key, Data >::d_map, CVCL::CDMapOrdered< Key, Data >::emptyTrash(), and CVCL::CDOmapOrdered< Key, Data >::set().

template<class Key, class Data>
iterator CVCL::CDMapOrdered< Key, Data >::begin  )  const [inline]
 

Definition at line 255 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_map.

template<class Key, class Data>
iterator CVCL::CDMapOrdered< Key, Data >::end  )  const [inline]
 

Definition at line 256 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_map.

template<class Key, class Data>
orderedIterator CVCL::CDMapOrdered< Key, Data >::orderedBegin  )  const [inline]
 

Definition at line 298 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_first.

template<class Key, class Data>
orderedIterator CVCL::CDMapOrdered< Key, Data >::orderedEnd  )  const [inline]
 

Definition at line 299 of file cdmap_ordered.h.

template<class Key, class Data>
iterator CVCL::CDMapOrdered< Key, Data >::find const Key &  k  )  const [inline]
 

Definition at line 301 of file cdmap_ordered.h.

References CVCL::CDMapOrdered< Key, Data >::d_map.


Friends And Related Function Documentation

template<class Key, class Data>
friend class CDOmapOrdered< Key, Data > [friend]
 

Definition at line 135 of file cdmap_ordered.h.


Member Data Documentation

template<class Key, class Data>
std::map<Key,CDOmapOrdered<Key,Data>*> CVCL::CDMapOrdered< Key, Data >::d_map [private]
 

Definition at line 137 of file cdmap_ordered.h.

Referenced by CVCL::CDMapOrdered< Key, Data >::begin(), CVCL::CDMapOrdered< Key, Data >::count(), CVCL::CDMapOrdered< Key, Data >::end(), CVCL::CDMapOrdered< Key, Data >::find(), CVCL::CDMapOrdered< Key, Data >::insert(), CVCL::CDMapOrdered< Key, Data >::operator[](), CVCL::CDMapOrdered< Key, Data >::setNull(), and CVCL::CDMapOrdered< Key, Data >::size().

template<class Key, class Data>
std::vector<CDOmapOrdered<Key,Data>*> CVCL::CDMapOrdered< Key, Data >::d_trash [private]
 

Definition at line 139 of file cdmap_ordered.h.

Referenced by CVCL::CDMapOrdered< Key, Data >::emptyTrash().

template<class Key, class Data>
CDOmapOrdered<Key,Data>* CVCL::CDMapOrdered< Key, Data >::d_first [private]
 

Definition at line 140 of file cdmap_ordered.h.

Referenced by CVCL::CDMapOrdered< Key, Data >::orderedBegin().

template<class Key, class Data>
Context* CVCL::CDMapOrdered< Key, Data >::d_context [private]
 

Definition at line 141 of file cdmap_ordered.h.

Referenced by CVCL::CDMapOrdered< Key, Data >::insert(), and CVCL::CDMapOrdered< Key, Data >::operator[]().


The documentation for this class was generated from the following file:
Generated on Thu Apr 13 16:57:42 2006 for CVC Lite by  doxygen 1.4.4