Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Currency Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWExchangeImpl<T>

Module:  Currency   Group:  Conversion


Does not inherit

Local Index

Members

Synopsis

#include <rw/currency/exchgimpl.h>

Description

RWExchangeImpl is an abstract base class from which all currency implementation classes must derive. Class RWExchange<T> is the handle class, which forwards all conversion requests to its associated implementation class.

Public Member Functions

virtual RWExchangeImpl<T>* 
clone() const = 0;
virtual RWMoney<T> 
exchange(const RWMoney<T>& money) const = 0;
virtual RWCString
name() const = 0;
void 
setSource(const RWCString& sourceMnemonic);
void 
setTarget(const RWCString& targetMnemonic);
RWCString 
source() const;
RWCString 
target() const;


Previous fileTop of DocumentContentsIndex pageNext file

© 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.