CVC3
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends

CVC3::ExprBoundVar Class Reference

#include <expr_value.h>

Inherits CVC3::ExprValue.

Collaboration diagram for CVC3::ExprBoundVar:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Protected Member Functions

Private Member Functions

Private Attributes

Friends


Detailed Description

Definition at line 859 of file expr_value.h.


Constructor & Destructor Documentation

CVC3::ExprBoundVar::ExprBoundVar ( ExprManager em,
const std::string &  name,
const std::string &  uid,
ExprIndex  idx = 0 
) [inline]

Definition at line 882 of file expr_value.h.

virtual CVC3::ExprBoundVar::~ExprBoundVar ( ) [inline, virtual]

Definition at line 886 of file expr_value.h.


Member Function Documentation

virtual const std::string& CVC3::ExprBoundVar::getName ( ) const [inline, private, virtual]

Returns the string name of UCONST and BOUND_VAR expr's.

Reimplemented from CVC3::ExprValue.

Definition at line 866 of file expr_value.h.

References d_name.

virtual const std::string& CVC3::ExprBoundVar::getUid ( ) const [inline, private, virtual]

Reimplemented from CVC3::ExprValue.

Definition at line 867 of file expr_value.h.

References d_uid.

virtual size_t CVC3::ExprBoundVar::getMMIndex ( ) const [inline, private, virtual]

Get unique memory manager ID.

Reimplemented from CVC3::ExprValue.

Definition at line 870 of file expr_value.h.

References CVC3::EXPR_BOUND_VAR.

virtual size_t CVC3::ExprBoundVar::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 873 of file expr_value.h.

References d_name, d_uid, PRIME, and CVC3::ExprValue::s_charHash.

virtual bool CVC3::ExprBoundVar::isVar ( ) const [inline, protected, virtual]

Uninterpreted constants.

Reimplemented from CVC3::ExprValue.

Definition at line 876 of file expr_value.h.

ExprValue * CVC3::ExprBoundVar::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 218 of file expr_value.cpp.

References CVC3::ExprManager::getMM().

bool CVC3::ExprBoundVar::operator== ( const ExprValue ev2) const [virtual]

Equality between any two ExprValue objects (including subclasses)

Reimplemented from CVC3::ExprValue.

Definition at line 210 of file expr_value.cpp.

References CVC3::ExprValue::getKind(), CVC3::ExprValue::getMMIndex(), CVC3::ExprValue::getName(), and CVC3::ExprValue::getUid().

void* CVC3::ExprBoundVar::operator new ( size_t  size,
MemoryManager mm 
) [inline]

Overload operator new.

Reimplemented from CVC3::ExprValue.

Definition at line 890 of file expr_value.h.

References CVC3::MemoryManager::newData().

void CVC3::ExprBoundVar::operator delete ( void *  pMem,
MemoryManager mm 
) [inline]

Reimplemented from CVC3::ExprValue.

Definition at line 893 of file expr_value.h.

References CVC3::MemoryManager::deleteData().

void CVC3::ExprBoundVar::operator delete ( void *  ) [inline]

Overload operator delete.

Reimplemented from CVC3::ExprValue.

Definition at line 896 of file expr_value.h.


Friends And Related Function Documentation

friend class Expr [friend]

Reimplemented from CVC3::ExprValue.

Definition at line 860 of file expr_value.h.

friend class ExprManager [friend]

Reimplemented from CVC3::ExprValue.

Definition at line 861 of file expr_value.h.


Member Data Documentation

std::string CVC3::ExprBoundVar::d_name [private]

Definition at line 863 of file expr_value.h.

Referenced by computeHash(), and getName().

std::string CVC3::ExprBoundVar::d_uid [private]

Definition at line 864 of file expr_value.h.

Referenced by computeHash(), and getUid().


The documentation for this class was generated from the following files: