CVC3
|
#include <expr_value.h>
Inherits CVC3::ExprValue.
Definition at line 782 of file expr_value.h.
CVC3::ExprVar::ExprVar | ( | ExprManager * | em, |
const std::string & | name, | ||
ExprIndex | idx = 0 |
||
) | [inline] |
Definition at line 804 of file expr_value.h.
virtual CVC3::ExprVar::~ExprVar | ( | ) | [inline, virtual] |
Definition at line 807 of file expr_value.h.
virtual const std::string& CVC3::ExprVar::getName | ( | ) | const [inline, private, virtual] |
Returns the string name of UCONST and BOUND_VAR expr's.
Reimplemented from CVC3::ExprValue.
Definition at line 788 of file expr_value.h.
References d_name.
virtual size_t CVC3::ExprVar::getMMIndex | ( | ) | const [inline, private, virtual] |
Get unique memory manager ID.
Reimplemented from CVC3::ExprValue.
Definition at line 791 of file expr_value.h.
References CVC3::EXPR_UCONST.
virtual size_t CVC3::ExprVar::computeHash | ( | ) | const [inline, protected, virtual] |
Non-caching hash function which actually computes the hash.
This is the method that all subclasses should implement
Reimplemented from CVC3::ExprValue.
Definition at line 794 of file expr_value.h.
References d_name, and CVC3::ExprValue::s_charHash.
virtual bool CVC3::ExprVar::isVar | ( | ) | const [inline, protected, virtual] |
Uninterpreted constants.
Reimplemented from CVC3::ExprValue.
Definition at line 797 of file expr_value.h.
ExprValue * CVC3::ExprVar::copy | ( | ExprManager * | em, |
ExprIndex | idx = 0 |
||
) | const [protected, virtual] |
Make a clean copy of itself using the given memory manager.
Reimplemented from CVC3::ExprValue.
Definition at line 193 of file expr_value.cpp.
References CVC3::ExprManager::getMM().
bool CVC3::ExprVar::operator== | ( | const ExprValue & | ev2 | ) | const [virtual] |
Equality between any two ExprValue objects (including subclasses)
Reimplemented from CVC3::ExprValue.
Definition at line 186 of file expr_value.cpp.
References CVC3::ExprValue::getKind(), CVC3::ExprValue::getMMIndex(), and CVC3::ExprValue::getName().
void* CVC3::ExprVar::operator new | ( | size_t | size, |
MemoryManager * | mm | ||
) | [inline] |
Overload operator new.
Reimplemented from CVC3::ExprValue.
Definition at line 811 of file expr_value.h.
References CVC3::MemoryManager::newData().
void CVC3::ExprVar::operator delete | ( | void * | pMem, |
MemoryManager * | mm | ||
) | [inline] |
Reimplemented from CVC3::ExprValue.
Definition at line 814 of file expr_value.h.
References CVC3::MemoryManager::deleteData().
void CVC3::ExprVar::operator delete | ( | void * | ) | [inline] |
Overload operator delete.
Reimplemented from CVC3::ExprValue.
Definition at line 817 of file expr_value.h.
friend class Expr [friend] |
Reimplemented from CVC3::ExprValue.
Definition at line 783 of file expr_value.h.
friend class ExprManager [friend] |
Reimplemented from CVC3::ExprValue.
Definition at line 784 of file expr_value.h.
std::string CVC3::ExprVar::d_name [private] |
Definition at line 786 of file expr_value.h.
Referenced by computeHash(), and getName().