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

CVC3::ExprString Class Reference

#include <expr_value.h>

Inherits CVC3::ExprValue.

Collaboration diagram for CVC3::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 659 of file expr_value.h.


Constructor & Destructor Documentation

CVC3::ExprString::ExprString ( ExprManager em,
const std::string &  s,
ExprIndex  idx = 0 
) [inline]

Definition at line 684 of file expr_value.h.

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

Definition at line 687 of file expr_value.h.


Member Function Documentation

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

Definition at line 666 of file expr_value.h.

References CVC3::ExprValue::s_charHash.

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

Get unique memory manager ID.

Reimplemented from CVC3::ExprValue.

Definition at line 671 of file expr_value.h.

References CVC3::EXPR_STRING.

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

Definition at line 675 of file expr_value.h.

References d_str, and CVC3::ExprValue::hash().

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

String expression tester.

Reimplemented from CVC3::ExprValue.

Definition at line 677 of file expr_value.h.

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

Reimplemented from CVC3::ExprValue.

Definition at line 678 of file expr_value.h.

References d_str.

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

References CVC3::ExprManager::getMM().

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

Equality between any two ExprValue objects (including subclasses)

Reimplemented from CVC3::ExprValue.

Definition at line 144 of file expr_value.cpp.

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

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

Overload operator new.

Reimplemented from CVC3::ExprValue.

Definition at line 691 of file expr_value.h.

References CVC3::MemoryManager::newData().

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

Reimplemented from CVC3::ExprValue.

Definition at line 694 of file expr_value.h.

References CVC3::MemoryManager::deleteData().

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

Overload operator delete.

Reimplemented from CVC3::ExprValue.

Definition at line 697 of file expr_value.h.


Friends And Related Function Documentation

friend class Expr [friend]

Reimplemented from CVC3::ExprValue.

Definition at line 660 of file expr_value.h.

friend class ExprManager [friend]

Reimplemented from CVC3::ExprValue.

Definition at line 661 of file expr_value.h.


Member Data Documentation

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

Definition at line 663 of file expr_value.h.

Referenced by computeHash(), and getString().


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