CVCL::ExprSymbol Class Reference

#include <expr_value.h>

Inheritance diagram for CVCL::ExprSymbol:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Member Functions

Private Member Functions

Private Attributes

Friends


Detailed Description

Definition at line 681 of file expr_value.h.


Constructor & Destructor Documentation

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

Definition at line 702 of file expr_value.h.

Referenced by copy().

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

Definition at line 706 of file expr_value.h.


Member Function Documentation

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

Definition at line 687 of file expr_value.h.

Referenced by operator==().

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

Get unique memory manager ID.

Reimplemented from CVCL::ExprValue.

Definition at line 690 of file expr_value.h.

References CVCL::EXPR_SYMBOL.

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

virtual size_t CVCL::ExprSymbol::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 693 of file expr_value.h.

ExprValue * CVCL::ExprSymbol::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 187 of file expr_value.cpp.

References CVCL::ExprValue::d_kind, d_name, ExprSymbol(), CVCL::ExprManager::getMM(), and getMMIndex().

bool CVCL::ExprSymbol::isSymbol  )  const [inline, protected, virtual]
 

Special named symbol.

Reimplemented from CVCL::ExprValue.

Definition at line 698 of file expr_value.h.

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

Equality between any two ExprValue objects (including subclasses).

Reimplemented from CVCL::ExprValue.

Definition at line 180 of file expr_value.cpp.

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

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

Overload operator new.

Reimplemented from CVCL::ExprValue.

Definition at line 710 of file expr_value.h.

References CVCL::MemoryManager::newData().

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

Overload operator delete.

Reimplemented from CVCL::ExprValue.

Definition at line 713 of file expr_value.h.


Friends And Related Function Documentation

friend class Expr [friend]
 

Reimplemented from CVCL::ExprValue.

Definition at line 682 of file expr_value.h.

friend class ExprManager [friend]
 

Reimplemented from CVCL::ExprValue.

Definition at line 683 of file expr_value.h.


Member Data Documentation

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

Definition at line 685 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