CVC3::CDOmapOrdered< Key, Data > Class Template Reference

#include <cdmap_ordered.h>

Inheritance diagram for CVC3::CDOmapOrdered< Key, Data >:

Inheritance graph
[legend]
Collaboration diagram for CVC3::CDOmapOrdered< Key, Data >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

template<class Key, class Data>
class CVC3::CDOmapOrdered< Key, Data >

Definition at line 48 of file cdmap_ordered.h.


Constructor & Destructor Documentation

template<class Key, class Data>
CVC3::CDOmapOrdered< Key, Data >::CDOmapOrdered ( Context context,
CDMapOrdered< Key, Data > *  cdmap,
const Key &  key,
const Data &  data,
int  scope = -1 
) [inline]

Definition at line 85 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::d_cdmap, CVC3::CDOmapOrdered< Key, Data >::d_next, CVC3::CDOmapOrdered< Key, Data >::d_prev, IF_DEBUG, CVC3::CDOmapOrdered< Key, Data >::set(), and CVC3::ContextObj::setName().

template<class Key, class Data>
CVC3::CDOmapOrdered< Key, Data >::~CDOmapOrdered (  )  [inline]

Definition at line 101 of file cdmap_ordered.h.


Member Function Documentation

template<class Key, class Data>
virtual ContextObj* CVC3::CDOmapOrdered< Key, Data >::makeCopy ( ContextMemoryManager cmm  )  [inline, private, virtual]

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

Implements CVC3::ContextObj.

Definition at line 58 of file cdmap_ordered.h.

template<class Key, class Data>
virtual void CVC3::CDOmapOrdered< Key, Data >::restoreData ( ContextObj data  )  [inline, private, virtual]

Restore the current object from the given data.

Reimplemented from CVC3::ContextObj.

Definition at line 61 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::d_data, CVC3::CDOmapOrdered< Key, Data >::d_inMap, and CVC3::CDOmapOrdered< Key, Data >::setNull().

template<class Key, class Data>
virtual void CVC3::CDOmapOrdered< Key, Data >::setNull ( void   )  [inline, private, virtual]

Set the current object to be invalid.

Implements CVC3::ContextObj.

Definition at line 66 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::d_cdmap, CVC3::CDOmapOrdered< Key, Data >::d_key, CVC3::CDOmapOrdered< Key, Data >::d_next, and CVC3::CDOmapOrdered< Key, Data >::d_prev.

Referenced by CVC3::CDOmapOrdered< Key, Data >::restoreData().

template<class Key, class Data>
void CVC3::CDOmapOrdered< Key, Data >::set ( const Data &  data,
int  scope = -1 
) [inline]

Definition at line 102 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::d_data, CVC3::CDOmapOrdered< Key, Data >::d_inMap, and CVC3::ContextObj::makeCurrent().

Referenced by CVC3::CDOmapOrdered< Key, Data >::CDOmapOrdered(), and CVC3::CDOmapOrdered< Key, Data >::operator=().

template<class Key, class Data>
const Key& CVC3::CDOmapOrdered< Key, Data >::getKey (  )  const [inline]

Definition at line 105 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::d_key.

template<class Key, class Data>
const Data& CVC3::CDOmapOrdered< Key, Data >::get (  )  const [inline]

Definition at line 106 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::d_data.

Referenced by CVC3::CDOmapOrdered< Key, Data >::operator Data().

template<class Key, class Data>
CVC3::CDOmapOrdered< Key, Data >::operator Data (  )  [inline]

Definition at line 107 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::get().

template<class Key, class Data>
CDOmapOrdered<Key,Data>& CVC3::CDOmapOrdered< Key, Data >::operator= ( const Data &  data  )  [inline]

Definition at line 108 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::set().

template<class Key, class Data>
CDOmapOrdered<Key,Data>* CVC3::CDOmapOrdered< Key, Data >::next (  )  const [inline]

Definition at line 109 of file cdmap_ordered.h.

References CVC3::CDOmapOrdered< Key, Data >::d_cdmap, and CVC3::CDOmapOrdered< Key, Data >::d_next.


Member Data Documentation

template<class Key, class Data>
Key CVC3::CDOmapOrdered< Key, Data >::d_key [private]

Definition at line 49 of file cdmap_ordered.h.

Referenced by CVC3::CDOmapOrdered< Key, Data >::getKey(), and CVC3::CDOmapOrdered< Key, Data >::setNull().

template<class Key, class Data>
Data CVC3::CDOmapOrdered< Key, Data >::d_data [private]

Definition at line 50 of file cdmap_ordered.h.

Referenced by CVC3::CDOmapOrdered< Key, Data >::get(), CVC3::CDOmapOrdered< Key, Data >::restoreData(), and CVC3::CDOmapOrdered< Key, Data >::set().

template<class Key, class Data>
bool CVC3::CDOmapOrdered< Key, Data >::d_inMap [private]

Definition at line 51 of file cdmap_ordered.h.

Referenced by CVC3::CDOmapOrdered< Key, Data >::restoreData(), and CVC3::CDOmapOrdered< Key, Data >::set().

template<class Key, class Data>
CDMapOrdered<Key, Data>* CVC3::CDOmapOrdered< Key, Data >::d_cdmap [private]

Definition at line 52 of file cdmap_ordered.h.

Referenced by CVC3::CDOmapOrdered< Key, Data >::CDOmapOrdered(), CVC3::CDOmapOrdered< Key, Data >::next(), and CVC3::CDOmapOrdered< Key, Data >::setNull().

template<class Key, class Data>
CDOmapOrdered<Key,Data>* CVC3::CDOmapOrdered< Key, Data >::d_prev [private]

Definition at line 55 of file cdmap_ordered.h.

Referenced by CVC3::CDOmapOrdered< Key, Data >::CDOmapOrdered(), and CVC3::CDOmapOrdered< Key, Data >::setNull().

template<class Key, class Data>
CDOmapOrdered<Key,Data>* CVC3::CDOmapOrdered< Key, Data >::d_next [private]

Definition at line 56 of file cdmap_ordered.h.

Referenced by CVC3::CDOmapOrdered< Key, Data >::CDOmapOrdered(), CVC3::CDOmapOrdered< Key, Data >::next(), and CVC3::CDOmapOrdered< Key, Data >::setNull().


The documentation for this class was generated from the following file:
Generated on Tue Jul 3 14:35:45 2007 for CVC3 by  doxygen 1.5.1