CVC3::CDMap< Key, Data, HashFcn > Class Template Reference

#include <cdmap.h>

Inheritance diagram for CVC3::CDMap< Key, Data, HashFcn >:

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

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 HashFcn>
class CVC3::CDMap< Key, Data, HashFcn >

Definition at line 129 of file cdmap.h.


Constructor & Destructor Documentation

template<class Key, class Data, class HashFcn>
CVC3::CDMap< Key, Data, HashFcn >::CDMap ( Context context,
int  scope = -1 
) [inline]

Definition at line 166 of file cdmap.h.

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

Definition at line 170 of file cdmap.h.


Member Function Documentation

template<class Key, class Data, class HashFcn>
virtual ContextObj* CVC3::CDMap< Key, Data, HashFcn >::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 139 of file cdmap.h.

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

Restore the current object from the given data.

Reimplemented from CVC3::ContextObj.

Definition at line 142 of file cdmap.h.

template<class Key, class Data, class HashFcn>
void CVC3::CDMap< Key, Data, HashFcn >::emptyTrash (  )  [inline, private]

Definition at line 145 of file cdmap.h.

Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::insert(), CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::operator[](), and CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::setNull().

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

Set the current object to be invalid.

Implements CVC3::ContextObj.

Definition at line 154 of file cdmap.h.

Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::~CDMap().

template<class Key, class Data, class HashFcn>
size_t CVC3::CDMap< Key, Data, HashFcn >::size (  )  const [inline]

Definition at line 172 of file cdmap.h.

Referenced by CVC3::TheoryCore::incomplete().

template<class Key, class Data, class HashFcn>
size_t CVC3::CDMap< Key, Data, HashFcn >::count ( const Key &  k  )  const [inline]

Definition at line 173 of file cdmap.h.

Referenced by checkAssump().

template<class Key, class Data, class HashFcn>
CDOmap<Key, Data, HashFcn>& CVC3::CDMap< Key, Data, HashFcn >::operator[] ( const Key &  k  )  [inline]

Definition at line 176 of file cdmap.h.

template<class Key, class Data, class HashFcn>
void CVC3::CDMap< Key, Data, HashFcn >::insert ( const Key &  k,
const Data &  d,
int  scope = -1 
) [inline]

Definition at line 189 of file cdmap.h.

Referenced by CVC3::TheoryCore::setIncomplete().

template<class Key, class Data, class HashFcn>
iterator CVC3::CDMap< Key, Data, HashFcn >::begin (  )  const [inline]

Definition at line 256 of file cdmap.h.

Referenced by CVC3::TheoryCore::incomplete().

template<class Key, class Data, class HashFcn>
iterator CVC3::CDMap< Key, Data, HashFcn >::end (  )  const [inline]

Definition at line 257 of file cdmap.h.

Referenced by CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryCore::incomplete(), and CVC3::TheoryQuant::synNewInst().

template<class Key, class Data, class HashFcn>
orderedIterator CVC3::CDMap< Key, Data, HashFcn >::orderedBegin (  )  const [inline]

Definition at line 299 of file cdmap.h.

template<class Key, class Data, class HashFcn>
orderedIterator CVC3::CDMap< Key, Data, HashFcn >::orderedEnd (  )  const [inline]

Definition at line 300 of file cdmap.h.

template<class Key, class Data, class HashFcn>
iterator CVC3::CDMap< Key, Data, HashFcn >::find ( const Key &  k  )  const [inline]

Definition at line 302 of file cdmap.h.

Referenced by CVC3::TheoryQuant::combineOldNewTrigs(), and CVC3::TheoryQuant::synNewInst().


Friends And Related Function Documentation

template<class Key, class Data, class HashFcn>
friend class CDOmap< Key, Data, HashFcn > [friend]

Definition at line 130 of file cdmap.h.


Member Data Documentation

template<class Key, class Data, class HashFcn>
std::hash_map<Key,CDOmap<Key, Data, HashFcn>*> CVC3::CDMap< Key, Data, HashFcn >::d_map [private]

Definition at line 132 of file cdmap.h.

Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::begin(), CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::count(), CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::end(), CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::find(), CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::insert(), CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::operator[](), CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::setNull(), and CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::size().

template<class Key, class Data, class HashFcn>
std::vector<CDOmap<Key, Data, HashFcn>*> CVC3::CDMap< Key, Data, HashFcn >::d_trash [private]

Definition at line 134 of file cdmap.h.

Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::emptyTrash().

template<class Key, class Data, class HashFcn>
CDOmap<Key, Data, HashFcn>* CVC3::CDMap< Key, Data, HashFcn >::d_first [private]

Definition at line 135 of file cdmap.h.

Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::orderedBegin().

template<class Key, class Data, class HashFcn>
Context* CVC3::CDMap< Key, Data, HashFcn >::d_context [private]

Definition at line 136 of file cdmap.h.

Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::insert(), and CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::operator[]().


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