|
CVC3
2.4.1
|
#include <cdmap.h>
Classes | |
| class | iterator |
| class | orderedIterator |
Public Types | |
| typedef CDOmap< Key, Data, HashFcn > & | ElementReference |
Public Member Functions | |
| CDMap (Context *context, int scope=-1) | |
| ~CDMap () | |
| size_t | size () const |
| size_t | count (const Key &k) const |
| CDOmap< Key, Data, HashFcn > & | operator[] (const Key &k) |
| void | insert (const Key &k, const Data &d, int scope=-1) |
| iterator | begin () const |
| iterator | end () const |
| orderedIterator | orderedBegin () const |
| orderedIterator | orderedEnd () const |
| iterator | find (const Key &k) const |
Public Member Functions inherited from CVC3::ContextObj | |
| ContextObj (Context *context) | |
| Create a new ContextObj. More... | |
| virtual | ~ContextObj () |
| int | level () const |
| bool | isCurrent (int scope=-1) const |
| void | makeCurrent (int scope=-1) |
| void * | operator new (size_t size, MemoryManager *mm) |
| void | operator delete (void *pMem, MemoryManager *mm) |
| void * | operator new (size_t size, bool b) |
| void | operator delete (void *pMem, bool b) |
| void | operator delete (void *) |
Private Member Functions | |
| virtual ContextObj * | makeCopy (ContextMemoryManager *cmm) |
| Make a copy of the current object so it can be restored to its current state. More... | |
| virtual void | restoreData (ContextObj *data) |
| Restore the current object from the given data. More... | |
| void | emptyTrash () |
| virtual void | setNull (void) |
| Set the current object to be invalid. More... | |
Private Attributes | |
| std::hash_map< Key, CDOmap < Key, Data, HashFcn > *, HashFcn > | d_map |
| std::vector< CDOmap< Key, Data, HashFcn > * > | d_trash |
| CDOmap< Key, Data, HashFcn > * | d_first |
| Context * | d_context |
Friends | |
| class | CDOmap< Key, Data, HashFcn > |
Additional Inherited Members | |
Protected Member Functions inherited from CVC3::ContextObj | |
| ContextObj (const ContextObj &co) | |
| Copy constructor (defined mainly for debugging purposes) More... | |
| ContextObj & | operator= (const ContextObj &co) |
| Assignment operator (defined mainly for debugging purposes) More... | |
| const ContextObj * | getRestore () |
| ContextMemoryManager * | getCMM () |
| Return our name (for debugging) More... | |
| typedef CDOmap<Key, Data, HashFcn>& CVC3::CDMap< Key, Data, HashFcn >::ElementReference |
|
inline |
|
inline |
|
inlineprivatevirtual |
Make a copy of the current object so it can be restored to its current state.
Implements CVC3::ContextObj.
|
inlineprivatevirtual |
Restore the current object from the given data.
Reimplemented from CVC3::ContextObj.
|
inlineprivate |
Definition at line 144 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().
|
inlineprivatevirtual |
Set the current object to be invalid.
Implements CVC3::ContextObj.
Definition at line 153 of file cdmap.h.
Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::~CDMap().
|
inline |
Definition at line 171 of file cdmap.h.
Referenced by CVC3::TheoryCore::incomplete().
|
inline |
|
inline |
|
inline |
Definition at line 190 of file cdmap.h.
Referenced by CVC3::TheoryCore::setIncomplete().
|
inline |
Definition at line 257 of file cdmap.h.
Referenced by CVC3::TheoryCore::incomplete(), and CVC3::TheoryQuant::matchListOld().
|
inline |
Definition at line 258 of file cdmap.h.
Referenced by CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryQuant::enqueueInst(), CVC3::TheoryCore::incomplete(), CVC3::TheoryQuant::matchListOld(), and CVC3::TheoryQuant::synNewInst().
|
inline |
|
inline |
|
inline |
Definition at line 303 of file cdmap.h.
Referenced by CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryQuant::enqueueInst(), and CVC3::TheoryQuant::synNewInst().
|
friend |
|
private |
Definition at line 131 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().
|
private |
Definition at line 133 of file cdmap.h.
Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::emptyTrash().
|
private |
Definition at line 134 of file cdmap.h.
Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::orderedBegin().
|
private |
Definition at line 135 of file cdmap.h.
Referenced by CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::insert(), and CVC3::CDMap< CVC3::Expr, CVC3::Expr, HashFcn >::operator[]().
1.8.7