#include <cdmap_ordered.h>
Inheritance diagram for CVC3::CDMapOrdered< Key, Data >:
Definition at line 128 of file cdmap_ordered.h.
CVC3::CDMapOrdered< Key, Data >::CDMapOrdered | ( | Context * | context, | |
int | scope = -1 | |||
) | [inline] |
CVC3::CDMapOrdered< Key, Data >::~CDMapOrdered | ( | ) | [inline] |
Definition at line 164 of file cdmap_ordered.h.
References CVC3::CDMapOrdered< Key, Data >::setNull().
virtual ContextObj* CVC3::CDMapOrdered< 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 138 of file cdmap_ordered.h.
virtual void CVC3::CDMapOrdered< Key, Data >::restoreData | ( | ContextObj * | data | ) | [inline, private, virtual] |
Restore the current object from the given data.
Reimplemented from CVC3::ContextObj.
Definition at line 141 of file cdmap_ordered.h.
void CVC3::CDMapOrdered< Key, Data >::emptyTrash | ( | ) | [inline, private] |
Definition at line 144 of file cdmap_ordered.h.
References CVC3::CDMapOrdered< Key, Data >::d_trash.
Referenced by CVC3::CDMapOrdered< Key, Data >::insert(), CVC3::CDMapOrdered< Key, Data >::operator[](), and CVC3::CDMapOrdered< Key, Data >::setNull().
virtual void CVC3::CDMapOrdered< Key, Data >::setNull | ( | void | ) | [inline, private, virtual] |
Set the current object to be invalid.
Implements CVC3::ContextObj.
Definition at line 151 of file cdmap_ordered.h.
References CVC3::CDMapOrdered< Key, Data >::d_map, and CVC3::CDMapOrdered< Key, Data >::emptyTrash().
Referenced by CVC3::CDMapOrdered< Key, Data >::~CDMapOrdered().
size_t CVC3::CDMapOrdered< Key, Data >::size | ( | ) | const [inline] |
size_t CVC3::CDMapOrdered< Key, Data >::count | ( | const Key & | k | ) | const [inline] |
CDOmapOrdered<Key,Data>& CVC3::CDMapOrdered< Key, Data >::operator[] | ( | const Key & | k | ) | [inline] |
Definition at line 170 of file cdmap_ordered.h.
References CVC3::CDMapOrdered< Key, Data >::d_context, CVC3::CDMapOrdered< Key, Data >::d_map, and CVC3::CDMapOrdered< Key, Data >::emptyTrash().
void CVC3::CDMapOrdered< Key, Data >::insert | ( | const Key & | k, | |
const Data & | d, | |||
int | scope = -1 | |||
) | [inline] |
Definition at line 183 of file cdmap_ordered.h.
References CVC3::CDMapOrdered< Key, Data >::d_context, CVC3::CDMapOrdered< Key, Data >::d_map, and CVC3::CDMapOrdered< Key, Data >::emptyTrash().
iterator CVC3::CDMapOrdered< Key, Data >::begin | ( | ) | const [inline] |
iterator CVC3::CDMapOrdered< Key, Data >::end | ( | ) | const [inline] |
orderedIterator CVC3::CDMapOrdered< Key, Data >::orderedBegin | ( | ) | const [inline] |
Definition at line 293 of file cdmap_ordered.h.
References CVC3::CDMapOrdered< Key, Data >::d_first.
orderedIterator CVC3::CDMapOrdered< Key, Data >::orderedEnd | ( | ) | const [inline] |
Definition at line 294 of file cdmap_ordered.h.
iterator CVC3::CDMapOrdered< Key, Data >::find | ( | const Key & | k | ) | const [inline] |
friend class CDOmapOrdered< Key, Data > [friend] |
Definition at line 129 of file cdmap_ordered.h.
std::map<Key,CDOmapOrdered<Key,Data>*> CVC3::CDMapOrdered< Key, Data >::d_map [private] |
Definition at line 131 of file cdmap_ordered.h.
Referenced by CVC3::CDMapOrdered< Key, Data >::begin(), CVC3::CDMapOrdered< Key, Data >::count(), CVC3::CDMapOrdered< Key, Data >::end(), CVC3::CDMapOrdered< Key, Data >::find(), CVC3::CDMapOrdered< Key, Data >::insert(), CVC3::CDMapOrdered< Key, Data >::operator[](), CVC3::CDMapOrdered< Key, Data >::setNull(), and CVC3::CDMapOrdered< Key, Data >::size().
std::vector<CDOmapOrdered<Key,Data>*> CVC3::CDMapOrdered< Key, Data >::d_trash [private] |
Definition at line 133 of file cdmap_ordered.h.
Referenced by CVC3::CDMapOrdered< Key, Data >::emptyTrash().
CDOmapOrdered<Key,Data>* CVC3::CDMapOrdered< Key, Data >::d_first [private] |
Definition at line 134 of file cdmap_ordered.h.
Referenced by CVC3::CDMapOrdered< Key, Data >::orderedBegin().
Context* CVC3::CDMapOrdered< Key, Data >::d_context [private] |
Definition at line 135 of file cdmap_ordered.h.
Referenced by CVC3::CDMapOrdered< Key, Data >::insert(), and CVC3::CDMapOrdered< Key, Data >::operator[]().