Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWBilateralExchange<T>



Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/money/currexchange.h>
#include <rw/money/divexchange.h>
#include <rw/money/multexchange.h>

Related Java Class

com.roguewave.money.currency.v1_0.BilateralExchange

Description

RWBilateralExchange<T> is an abstract base class derived from the base class RWExchangeImpl<T>, and is a parent of both the RWMultiplicationExchange and RWDivisionExchange classes. RWBilateralExchange<T> implements the usual method of currency conversion: multiplying or dividing the amount of a source currency by a conversion factor to obtain the equivalent amount in the target currency.

Public Constructors

RWBilateralExchange<T>();
RWBilateralExchange<T>(const RWBilateralExchange<T>&);
RWBilateralExchange<T>(const RWCString source, 
             const RWCString target, double f);
RWBilateralExchange<T>(const RWExchangeRate& rate);

Public Member Operators

RWBilateralExchange<T>& 
operator=(const RWBilateralExchange<T>& b)

Public Member Functions

double 
conversionFactor() const;
RWExchangeRate 
exchangeRate() const;
void 
setConversionFactor(double factor);
void 
setExchangeRate(const RWExchangeRate& rate);


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.