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 Types

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 128 of file cdmap.h.


Member Typedef Documentation

template<class Key, class Data, class HashFcn>
typedef CDOmap<Key, Data, HashFcn>& CVC3::CDMap< Key, Data, HashFcn >::ElementReference

Definition at line 174 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 165 of file cdmap.h.

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

Definition at line 169 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 138 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 141 of file cdmap.h.

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

Definition at line 144 of file cdmap.h.

Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::insert(), CVC3::CDMap< Expr, Expr, HashFcn >::operator[](), and CVC3::CDMap< Expr, 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 153 of file cdmap.h.

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

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

Definition at line 171 of file cdmap.h.

Referenced by CVC3::SearchEngineFast::addNonLiteralFact(), and 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 172 of file cdmap.h.

Referenced by CVC3::SearchEngineFast::addNonLiteralFact(), CVC3::TheoryBitvector::addSharedTerm(), CVC3::TheoryArray::addSharedTerm(), CVC3::SearchImplBase::addToCNFCache(), CVC3::VCL::assertFormula(), CVC3::SearchSimple::checkValidInternal(), CVC3::SearchEngineFast::checkValidInternal(), CVC3::SearchImplBase::enqueueCNFrec(), CVC3::VCL::getAssumptionsRec(), CVC3::SearchImplBase::isAssumption(), CVC3::SearchEngineFast::isAssumption(), CVC3::SearchImplBase::isCNFVar(), CVC3::SearchImplBase::newIntAssumption(), CVC3::TheoryArithOld::pickMonomial(), CVC3::TheoryArith3::pickMonomial(), CVC3::TheoryQuant::recursiveMap(), CVC3::SearchSimple::restartInternal(), CVC3::SearchEngineFast::restartInternal(), CVC3::TheoryArray::setup(), CVC3::TheoryQuant::trans2Found(), CVC3::TheoryQuant::transFound(), CVC3::TheoryArray::update(), CVC3::TheoryArithOld::updateStats(), CVC3::TheoryArithNew::updateStats(), and CVC3::TheoryArith3::updateStats().

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

Definition at line 177 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 190 of file cdmap.h.

Referenced by CVC3::SearchEngineFast::addLiteralFact(), CVC3::SearchImplBase::addToCNFCache(), CVC3::SearchSat::getImplication(), CVC3::TheoryDatatypeLazy::initializeLabels(), CVC3::TheoryDatatype::initializeLabels(), CVC3::SearchEngineFast::recordFact(), CVC3::TheoryCore::setIncomplete(), CVC3::CommonTheoremProducer::skolemize(), and CVC3::CommonTheoremProducer::varIntroSkolem().

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

Definition at line 257 of file cdmap.h.

Referenced by CVC3::TheoryArithNew::boundsAsString(), CVC3::SearchEngineFast::checkValidMain(), CVC3::SearchImplBase::newUserAssumption(), CVC3::TheoryArithOld::refineCounterExample(), CVC3::TheoryArithNew::refineCounterExample(), and CVC3::TheoryArith3::refineCounterExample().

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

Definition at line 258 of file cdmap.h.

Referenced by CVC3::TheoryDatatype::addSharedTerm(), CVC3::TheoryArithOld::addSharedTerm(), CVC3::TheoryArithOld::addToBuffer(), CVC3::SearchImplBase::applyCNFRules(), CVC3::TheoryDatatype::assertFact(), CVC3::TheoryBitvector::bitBlastTerm(), CVC3::TheoryArithNew::boundsAsString(), CVC3::TheoryDatatype::canCollapse(), CVC3::TheoryDatatypeLazy::checkSat(), CVC3::TheoryDatatype::checkSat(), CVC3::TheoryArithOld::checkSat(), CVC3::SearchEngineFast::checkValidMain(), CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryArith3::currentMaxCoefficient(), CVC3::TheoryArithOld::DifferenceLogicGraph::existsEdge(), CVC3::SearchImplBase::findInCNFCache(), CVC3::TheoryArithNew::getBeta(), CVC3::SearchSat::getExplanation(), CVC3::TheoryArithOld::getLowerBound(), CVC3::TheoryArithNew::getLowerBound(), CVC3::TheoryArithNew::getLowerBoundThm(), CVC3::TheoryArithOld::getUpperBound(), CVC3::TheoryArithNew::getUpperBound(), CVC3::TheoryArithNew::getUpperBoundThm(), CVC3::TheoryArithOld::DifferenceLogicGraph::inCycle(), CVC3::TheoryDatatypeLazy::initializeLabels(), CVC3::TheoryDatatype::initializeLabels(), CVC3::TheoryArithOld::isConstrainedAbove(), CVC3::TheoryArithOld::isConstrainedBelow(), CVC3::TheoryDatatypeLazy::mergeLabels(), CVC3::TheoryDatatype::mergeLabels(), CVC3::SearchImplBase::newUserAssumption(), CVC3::TheoryArithOld::processBuffer(), CVC3::TheoryArithOld::processFiniteInterval(), CVC3::TheoryArithOld::refineCounterExample(), CVC3::TheoryArithNew::refineCounterExample(), CVC3::TheoryArith3::refineCounterExample(), CVC3::TheoryArithOld::registerAtom(), CVC3::SearchImplBase::replaceITE(), CVC3::TheoryDatatypeLazy::setup(), CVC3::TheoryDatatype::setup(), CVC3::CommonTheoremProducer::skolemize(), CVC3::TheoryQuant::synNewInst(), CVC3::TheoryDatatype::update(), CVC3::TheoryBitvector::update(), CVC3::TheoryArray::update(), CVC3::TheoryArithOld::update(), CVC3::TheoryArith3::updateStats(), CVC3::TheoryArithOld::updateSubsumptionDB(), CVC3::TheoryArith3::updateSubsumptionDB(), and CVC3::CommonTheoremProducer::varIntroSkolem().

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

Definition at line 300 of file cdmap.h.

Referenced by CVC3::SearchImplBase::getAssumptions(), CVC3::SearchImplBase::getInternalAssumptions(), and CVC3::SearchImplBase::getUserAssumptions().

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

Definition at line 301 of file cdmap.h.

Referenced by CVC3::SearchImplBase::getAssumptions(), CVC3::SearchImplBase::getInternalAssumptions(), and CVC3::SearchImplBase::getUserAssumptions().

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

Definition at line 303 of file cdmap.h.

Referenced by CVC3::TheoryDatatype::addSharedTerm(), CVC3::TheoryArithOld::addSharedTerm(), CVC3::TheoryArithOld::addToBuffer(), CVC3::SearchImplBase::applyCNFRules(), CVC3::TheoryDatatype::assertFact(), CVC3::TheoryBitvector::bitBlastTerm(), CVC3::TheoryDatatype::canCollapse(), CVC3::TheoryDatatypeLazy::checkSat(), CVC3::TheoryDatatype::checkSat(), CVC3::TheoryArithOld::checkSat(), CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryArith3::currentMaxCoefficient(), CVC3::TheoryArithOld::DifferenceLogicGraph::existsEdge(), CVC3::SearchImplBase::findInCNFCache(), CVC3::TheoryArithNew::getBeta(), CVC3::SearchSat::getExplanation(), CVC3::TheoryArithOld::getLowerBound(), CVC3::TheoryArithNew::getLowerBound(), CVC3::TheoryArithNew::getLowerBoundThm(), CVC3::TheoryArithOld::getUpperBound(), CVC3::TheoryArithNew::getUpperBound(), CVC3::TheoryArithNew::getUpperBoundThm(), CVC3::TheoryArithOld::DifferenceLogicGraph::inCycle(), CVC3::TheoryDatatypeLazy::initializeLabels(), CVC3::TheoryDatatype::initializeLabels(), CVC3::TheoryArithOld::isConstrainedAbove(), CVC3::TheoryArithOld::isConstrainedBelow(), CVC3::TheoryDatatypeLazy::mergeLabels(), CVC3::TheoryDatatype::mergeLabels(), CVC3::SearchImplBase::newUserAssumption(), CVC3::TheoryArithOld::processBuffer(), CVC3::TheoryArithOld::processFiniteInterval(), CVC3::TheoryArithOld::registerAtom(), CVC3::SearchImplBase::replaceITE(), CVC3::TheoryDatatypeLazy::setup(), CVC3::TheoryDatatype::setup(), CVC3::CommonTheoremProducer::skolemize(), CVC3::TheoryQuant::synNewInst(), CVC3::TheoryDatatype::update(), CVC3::TheoryBitvector::update(), CVC3::TheoryArray::update(), CVC3::TheoryArithOld::update(), CVC3::TheoryArith3::updateStats(), CVC3::TheoryArithOld::updateSubsumptionDB(), CVC3::TheoryArith3::updateSubsumptionDB(), and CVC3::CommonTheoremProducer::varIntroSkolem().


Friends And Related Function Documentation

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

Definition at line 129 of file cdmap.h.


Member Data Documentation

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

Definition at line 131 of file cdmap.h.

Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::begin(), CVC3::CDMap< Expr, Expr, HashFcn >::count(), CVC3::CDMap< Expr, Expr, HashFcn >::end(), CVC3::CDMap< Expr, Expr, HashFcn >::find(), CVC3::CDMap< Expr, Expr, HashFcn >::insert(), CVC3::CDMap< Expr, Expr, HashFcn >::operator[](), CVC3::CDMap< Expr, Expr, HashFcn >::setNull(), and CVC3::CDMap< Expr, 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 133 of file cdmap.h.

Referenced by CVC3::CDMap< Expr, 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 134 of file cdmap.h.

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

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

Definition at line 135 of file cdmap.h.

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


The documentation for this class was generated from the following file:
Generated on Wed Nov 18 16:14:30 2009 for CVC3 by  doxygen 1.5.2