CVCL::ExprVar Class Reference

#include <expr_value.h>

Inheritance diagram for CVCL::ExprVar:

Inheritance graph
[legend]
Collaboration diagram for CVCL::ExprVar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Member Functions

Private Member Functions

Private Attributes

Friends


Detailed Description

Definition at line 645 of file expr_value.h.


Constructor & Destructor Documentation

CVCL::ExprVar::ExprVar ExprManager em,
const std::string &  name,
unsigned  idx = 0
[inline]
 

Definition at line 667 of file expr_value.h.

Referenced by copy().

virtual CVCL::ExprVar::~ExprVar  )  [inline, virtual]
 

Definition at line 670 of file expr_value.h.


Member Function Documentation

virtual const std::string& CVCL::ExprVar::getName  )  const [inline, private, virtual]
 

Definition at line 651 of file expr_value.h.

Referenced by operator==().

virtual size_t CVCL::ExprVar::getMMIndex  )  const [inline, private, virtual]
 

Get unique memory manager ID.

Reimplemented from CVCL::ExprValue.

Definition at line 654 of file expr_value.h.

References CVCL::EXPR_UCONST.

Referenced by copy(), and operator==().

virtual size_t CVCL::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 CVCL::ExprValue.

Definition at line 657 of file expr_value.h.

virtual bool CVCL::ExprVar::isVar  )  const [inline, protected, virtual]
 

Uninterpreted constants.

Reimplemented from CVCL::ExprValue.

Definition at line 660 of file expr_value.h.

ExprValue * CVCL::ExprVar::copy ExprManager em,
ExprIndex  idx = 0
const [protected, virtual]
 

Make a clean copy of itself using the given memory manager.

Reimplemented from CVCL::ExprValue.

Definition at line 175 of file expr_value.cpp.

References d_name, ExprVar(), CVCL::ExprManager::getMM(), and getMMIndex().

bool CVCL::ExprVar::operator== const ExprValue ev2  )  const [virtual]
 

Equality between any two ExprValue objects (including subclasses).

Reimplemented from CVCL::ExprValue.

Definition at line 168 of file expr_value.cpp.

References CVCL::ExprValue::getKind(), CVCL::ExprValue::getMMIndex(), getMMIndex(), and getName().

void* CVCL::ExprVar::operator new size_t  size,
MemoryManager mm
[inline]
 

Overload operator new.

Reimplemented from CVCL::ExprValue.

Definition at line 674 of file expr_value.h.

References CVCL::MemoryManager::newData().

void CVCL::ExprVar::operator delete void *   )  [inline]
 

Overload operator delete.

Reimplemented from CVCL::ExprValue.

Definition at line 677 of file expr_value.h.


Friends And Related Function Documentation

friend class Expr [friend]
 

Reimplemented from CVCL::ExprValue.

Definition at line 646 of file expr_value.h.

friend class ExprManager [friend]
 

Reimplemented from CVCL::ExprValue.

Definition at line 647 of file expr_value.h.


Member Data Documentation

std::string CVCL::ExprVar::d_name [private]
 

Definition at line 649 of file expr_value.h.

Referenced by copy().


The documentation for this class was generated from the following files:
Generated on Thu Apr 13 16:57:43 2006 for CVC Lite by  doxygen 1.4.4