#include <expr_value.h>
Inheritance diagram for CVC3::ExprString:
Definition at line 659 of file expr_value.h.
CVC3::ExprString::ExprString | ( | ExprManager * | em, | |
const std::string & | s, | |||
ExprIndex | idx = 0 | |||
) | [inline] |
virtual CVC3::ExprString::~ExprString | ( | ) | [inline, virtual] |
Definition at line 687 of file expr_value.h.
static size_t CVC3::ExprString::hash | ( | const std::string & | str | ) | [inline, static, private] |
virtual size_t CVC3::ExprString::getMMIndex | ( | ) | const [inline, private, virtual] |
Get unique memory manager ID.
Reimplemented from CVC3::ExprValue.
Definition at line 671 of file expr_value.h.
References CVC3::EXPR_STRING.
Referenced by copy(), and operator==().
virtual size_t CVC3::ExprString::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 675 of file expr_value.h.
References d_str, and CVC3::ExprValue::hash().
virtual bool CVC3::ExprString::isString | ( | ) | const [inline, protected, virtual] |
String expression tester.
Reimplemented from CVC3::ExprValue.
Definition at line 677 of file expr_value.h.
virtual const std::string& CVC3::ExprString::getString | ( | ) | const [inline, protected, virtual] |
Reimplemented from CVC3::ExprValue.
Definition at line 678 of file expr_value.h.
References d_str.
Referenced by operator==().
ExprValue * CVC3::ExprString::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 151 of file expr_value.cpp.
References d_str, ExprString(), CVC3::ExprManager::getMM(), and getMMIndex().
bool CVC3::ExprString::operator== | ( | const ExprValue & | ev2 | ) | const [virtual] |
Equality between any two ExprValue objects (including subclasses).
Reimplemented from CVC3::ExprValue.
Definition at line 144 of file expr_value.cpp.
References CVC3::ExprValue::getMMIndex(), getMMIndex(), CVC3::ExprValue::getString(), and getString().
void* CVC3::ExprString::operator new | ( | size_t | size, | |
MemoryManager * | mm | |||
) | [inline] |
Overload operator new.
Reimplemented from CVC3::ExprValue.
Definition at line 691 of file expr_value.h.
References CVC3::MemoryManager::newData().
void CVC3::ExprString::operator delete | ( | void * | pMem, | |
MemoryManager * | mm | |||
) | [inline] |
Reimplemented from CVC3::ExprValue.
Definition at line 694 of file expr_value.h.
References CVC3::MemoryManager::deleteData().
void CVC3::ExprString::operator delete | ( | void * | ) | [inline] |
Overload operator delete.
Reimplemented from CVC3::ExprValue.
Definition at line 697 of file expr_value.h.
friend class Expr [friend] |
friend class ExprManager [friend] |
std::string CVC3::ExprString::d_str [private] |