CVCL::ExprString Class Reference

#include <expr_value.h>

Inheritance diagram for CVCL::ExprString:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Member Functions

Private Member Functions

Static Private Member Functions

Private Attributes

Friends


Detailed Description

Definition at line 531 of file expr_value.h.


Constructor & Destructor Documentation

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

Definition at line 556 of file expr_value.h.

Referenced by copy().

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

Definition at line 559 of file expr_value.h.


Member Function Documentation

static size_t CVCL::ExprString::hash const std::string &  str  )  [inline, static, private]
 

Definition at line 538 of file expr_value.h.

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

Get unique memory manager ID.

Reimplemented from CVCL::ExprValue.

Definition at line 543 of file expr_value.h.

References CVCL::EXPR_STRING.

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

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

References CVCL::hash().

virtual bool CVCL::ExprString::isString  )  const [inline, protected, virtual]
 

String expression tester.

Reimplemented from CVCL::ExprValue.

Definition at line 549 of file expr_value.h.

virtual const std::string& CVCL::ExprString::getString  )  const [inline, protected, virtual]
 

Reimplemented from CVCL::ExprValue.

Definition at line 550 of file expr_value.h.

Referenced by operator==().

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

References d_str, ExprString(), CVCL::ExprManager::getMM(), and getMMIndex().

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

Equality between any two ExprValue objects (including subclasses).

Reimplemented from CVCL::ExprValue.

Definition at line 126 of file expr_value.cpp.

References CVCL::ExprValue::getMMIndex(), getMMIndex(), CVCL::ExprValue::getString(), and getString().

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

Overload operator new.

Reimplemented from CVCL::ExprValue.

Definition at line 563 of file expr_value.h.

References CVCL::MemoryManager::newData().

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

Overload operator delete.

Reimplemented from CVCL::ExprValue.

Definition at line 566 of file expr_value.h.


Friends And Related Function Documentation

friend class Expr [friend]
 

Reimplemented from CVCL::ExprValue.

Definition at line 532 of file expr_value.h.

friend class ExprManager [friend]
 

Reimplemented from CVCL::ExprValue.

Definition at line 533 of file expr_value.h.


Member Data Documentation

std::string CVCL::ExprString::d_str [private]
 

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