rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWDBCollectableExpr Class Reference
[Expressions]

Adds RWCollectable semantics to RWDBExpr. More...

#include <rw/db/expr.h>

Inheritance diagram for RWDBCollectableExpr:
RWCollectable RWDBExpr

List of all members.

Public Member Functions

 RWDBCollectableExpr (const RWDBExpr &expr)
unsigned hash () const
bool isEqual (const RWCollectable *expr) const

Detailed Description

RWDBCollectableExpr adds RWCollectable semantics to RWDBExpr. The DB Interface Module uses RWDBCollectableExpr internally to store lists of RWDBExpr objects. Applications requiring similar functionality can do the same.

Synopsis

 #include <rw/db/expr.h>

Related Classes

RWDBCollectableExpr is a special case of RWDBExpr. See RWDBExpr for details. See your Essential Tools Module documentation for details about RWCollectable.


Constructor & Destructor Documentation

RWDBCollectableExpr::RWDBCollectableExpr ( const RWDBExpr expr  ) 

Creates an RWDBCollectableExpr from the given expr.


Member Function Documentation

unsigned RWDBCollectableExpr::hash (  )  const [virtual]

Returns asString().hash().

Reimplemented from RWCollectable.

bool RWDBCollectableExpr::isEqual ( const RWCollectable expr  )  const [virtual]

Dereferences expr as a pointer to RWDBCollectableExpr and compares the result of its asString() to the result of self's asString().

Reimplemented from RWCollectable.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.