#include <expr_value.h>
Inheritance diagram for CVC3::ExprNodeTmp:
Definition at line 455 of file expr_value.h.
CVC3::ExprNodeTmp::ExprNodeTmp | ( | ExprManager * | em, | |
int | kind, | |||
const std::vector< Expr > & | kids | |||
) | [inline] |
virtual CVC3::ExprNodeTmp::~ExprNodeTmp | ( | ) | [inline, virtual] |
size_t CVC3::ExprNodeTmp::getMMIndex | ( | ) | const [inline, private, virtual] |
Tell ExprManager who we are.
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 466 of file expr_value.h.
References CVC3::EXPR_NODE.
Referenced by copy(), and operator==().
unsigned CVC3::ExprNodeTmp::arity | ( | ) | const [inline, protected, virtual] |
Return number of children.
Reimplemented from CVC3::ExprValue.
Definition at line 470 of file expr_value.h.
References d_children.
const std::vector<Expr>& CVC3::ExprNodeTmp::getKids | ( | ) | const [inline, protected, virtual] |
Return reference to children.
Reimplemented from CVC3::ExprValue.
Definition at line 473 of file expr_value.h.
References d_children.
Referenced by CVC3::ExprApplyTmp::operator==(), and operator==().
size_t CVC3::ExprNodeTmp::computeHash | ( | ) | const [inline, protected, virtual] |
Use our static hash() for the member method.
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 476 of file expr_value.h.
References d_children, CVC3::ExprValue::d_kind, and CVC3::ExprValue::hash().
Referenced by CVC3::ExprApplyTmp::computeHash().
ExprValue * CVC3::ExprNodeTmp::copy | ( | ExprManager * | em, | |
ExprIndex | idx = 0 | |||
) | const [protected, virtual] |
Make a clean copy of itself using the given memory manager.
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 85 of file expr_value.cpp.
References d_children, CVC3::ExprValue::d_em, CVC3::ExprValue::d_kind, CVC3::ExprManager::getMM(), getMMIndex(), and CVC3::ExprValue::rebuild().
bool CVC3::ExprNodeTmp::operator== | ( | const ExprValue & | ev2 | ) | const [virtual] |
Compare with another ExprValue.
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 79 of file expr_value.cpp.
References CVC3::ExprValue::d_kind, CVC3::ExprValue::getKids(), getKids(), CVC3::ExprValue::getKind(), CVC3::ExprValue::getMMIndex(), and getMMIndex().
friend class Expr [friend] |
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 456 of file expr_value.h.
friend class ExprManager [friend] |
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 457 of file expr_value.h.
const std::vector<Expr>& CVC3::ExprNodeTmp::d_children [protected] |
Vector of children.
Definition at line 461 of file expr_value.h.
Referenced by arity(), computeHash(), CVC3::ExprApplyTmp::copy(), copy(), and getKids().