CVC3
|
#include <expr_value.h>
Inherits CVC3::ExprValue.
Inherited by CVC3::ExprApplyTmp.
Definition at line 487 of file expr_value.h.
CVC3::ExprNodeTmp::ExprNodeTmp | ( | ExprManager * | em, |
int | kind, | ||
const std::vector< Expr > & | kids | ||
) | [inline] |
Constructor.
Definition at line 522 of file expr_value.h.
virtual CVC3::ExprNodeTmp::~ExprNodeTmp | ( | ) | [inline, virtual] |
Destructor.
Definition at line 526 of file expr_value.h.
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 498 of file expr_value.h.
References CVC3::EXPR_NODE.
unsigned CVC3::ExprNodeTmp::arity | ( | ) | const [inline, protected, virtual] |
Return number of children.
Reimplemented from CVC3::ExprValue.
Definition at line 502 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 505 of file expr_value.h.
References d_children.
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 508 of file expr_value.h.
References d_children, CVC3::ExprValue::d_kind, and CVC3::ExprValue::hash().
Unsigned CVC3::ExprNodeTmp::computeSize | ( | ) | const [inline, protected, virtual] |
Use our static sizeWithChildren() for the member method.
Reimplemented from CVC3::ExprValue.
Definition at line 513 of file expr_value.h.
References d_children, and CVC3::ExprValue::sizeWithChildren().
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 91 of file expr_value.cpp.
References CVC3::ExprManager::getMM().
bool CVC3::ExprNodeTmp::operator== | ( | const ExprValue & | ev2 | ) | const [virtual] |
Compare with another ExprValue.
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 85 of file expr_value.cpp.
References CVC3::ExprValue::getKids(), CVC3::ExprValue::getKind(), and CVC3::ExprValue::getMMIndex().
friend class Expr [friend] |
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 488 of file expr_value.h.
friend class ExprManager [friend] |
Reimplemented from CVC3::ExprValue.
Reimplemented in CVC3::ExprApplyTmp.
Definition at line 489 of file expr_value.h.
const std::vector<Expr>& CVC3::ExprNodeTmp::d_children [protected] |
Vector of children.
Definition at line 493 of file expr_value.h.
Referenced by arity(), computeHash(), computeSize(), and getKids().