CVC3::CDList< T > Class Template Reference

#include <cdlist.h>

Inheritance diagram for CVC3::CDList< T >:

Inheritance graph
[legend]
Collaboration diagram for CVC3::CDList< T >:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

template<class T>
class CVC3::CDList< T >

Definition at line 41 of file cdlist.h.


Member Typedef Documentation

template<class T>
typedef std::deque<T>::const_iterator CVC3::CDList< T >::const_iterator

Definition at line 87 of file cdlist.h.


Constructor & Destructor Documentation

template<class T>
CVC3::CDList< T >::CDList ( const CDList< T > &  l  )  [inline, private]

Definition at line 57 of file cdlist.h.

template<class T>
CVC3::CDList< T >::CDList ( Context context  )  [inline]

Definition at line 59 of file cdlist.h.

template<class T>
virtual CVC3::CDList< T >::~CDList (  )  [inline, virtual]

Definition at line 63 of file cdlist.h.


Member Function Documentation

template<class T>
virtual ContextObj* CVC3::CDList< T >::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 48 of file cdlist.h.

template<class T>
virtual void CVC3::CDList< T >::restoreData ( ContextObj data  )  [inline, private, virtual]

Restore the current object from the given data.

Reimplemented from CVC3::ContextObj.

Definition at line 49 of file cdlist.h.

template<class T>
virtual void CVC3::CDList< T >::setNull ( void   )  [inline, private, virtual]

Set the current object to be invalid.

Implements CVC3::ContextObj.

Definition at line 52 of file cdlist.h.

template<class T>
unsigned CVC3::CDList< T >::size (  )  const [inline]

Definition at line 64 of file cdlist.h.

Referenced by CVC3::TheoryUF::assertFact(), CVC3::CDList< CVC3::Literal >::at(), CVC3::CDList< CVC3::Literal >::back(), CVC3::SearchSat::check(), CVC3::TheoryQuant::checkSat(), CVC3::DatatypeTheoremProducer::dummyTheorem(), CVC3::TheoryArithOld::findBounds(), CVC3::TheoryArithNew::findBounds(), CVC3::TheoryQuant::goodSynMatch(), CVC3::TheoryQuant::mapTermsByType(), CVC3::TheoryQuant::naiveCheckSat(), CVC3::CDList< CVC3::Literal >::operator[](), CVC3::TheoryArithOld::processFiniteIntervals(), CVC3::TheoryArithNew::processFiniteIntervals(), CVC3::TheoryArithOld::projectInequalities(), CVC3::TheoryQuant::recInstantiate(), CVC3::TheoryQuant::recSearchCover(), CVC3::DatatypeTheoremProducer::rewriteSelCons(), CVC3::TheoryQuant::synCheckSat(), and CVC3::TheoryQuant::synNewInst().

template<class T>
bool CVC3::CDList< T >::empty (  )  const [inline]

Definition at line 65 of file cdlist.h.

template<class T>
T& CVC3::CDList< T >::push_back ( const T &  data,
int  scope = -1 
) [inline]

Definition at line 66 of file cdlist.h.

Referenced by CVC3::TheoryUF::assertFact(), CVC3::TheoryQuant::collectChangedTerms(), CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::SearchSat::getAssumptions(), and CVC3::TheoryQuant::synNewInst().

template<class T>
void CVC3::CDList< T >::pop_back (  )  [inline]

Definition at line 68 of file cdlist.h.

template<class T>
const T& CVC3::CDList< T >::operator[] ( unsigned  i  )  const [inline]

Definition at line 72 of file cdlist.h.

template<class T>
const T& CVC3::CDList< T >::at ( unsigned  i  )  const [inline]

Definition at line 77 of file cdlist.h.

template<class T>
const T& CVC3::CDList< T >::back (  )  const [inline]

Definition at line 82 of file cdlist.h.

template<class T>
const_iterator CVC3::CDList< T >::begin (  )  const [inline]

Definition at line 88 of file cdlist.h.

Referenced by CVC3::CDList< CVC3::Literal >::end().

template<class T>
const_iterator CVC3::CDList< T >::end (  )  const [inline]

Definition at line 91 of file cdlist.h.


Member Data Documentation

template<class T>
std::deque<T>* CVC3::CDList< T >::d_list [private]

The actual data.

Use deque because it doesn't create/destroy data on resize. This pointer is only non-NULL in the master copy.

Definition at line 45 of file cdlist.h.

Referenced by CVC3::CDList< CVC3::Literal >::at(), CVC3::CDList< CVC3::Literal >::back(), CVC3::CDList< CVC3::Literal >::begin(), CVC3::CDList< CVC3::Literal >::CDList(), CVC3::CDList< CVC3::Literal >::operator[](), CVC3::CDList< CVC3::Literal >::pop_back(), CVC3::CDList< CVC3::Literal >::push_back(), CVC3::CDList< CVC3::Literal >::restoreData(), CVC3::CDList< CVC3::Literal >::setNull(), and CVC3::CDList< CVC3::Literal >::~CDList().

template<class T>
unsigned CVC3::CDList< T >::d_size [private]

Definition at line 46 of file cdlist.h.

Referenced by CVC3::CDList< CVC3::Literal >::empty(), CVC3::CDList< CVC3::Literal >::end(), CVC3::CDList< CVC3::Literal >::pop_back(), CVC3::CDList< CVC3::Literal >::push_back(), CVC3::CDList< CVC3::Literal >::restoreData(), CVC3::CDList< CVC3::Literal >::setNull(), and CVC3::CDList< CVC3::Literal >::size().


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