Member Functions | |||
clone() |
getExchange() |
name() |
#include<rw/money/exchggroup.h>
RWExchangeGroupImpl is an abstract base class from which all exchange group implementation classes must derive. Class RWExchangeGroup<T> is the handle class, which forwards all conversion requests to its associated implementation class.
RWExchangeGroupImpl();
Default constructor.
virtual RWExchngeGroupImpl<T>* clone() const = 0;
Returns a copy of self allocated off the heap.
virtual RWExchange<T> getExchange(const RWCString& sourceMnemonic const RWCString& targetMnemnoic const RWExchangeRateTable& rates)=0;
Creates and returns a currency exchange object for converting money in the source currency to money in the target currency using the exchange rates table rates. If the parameters are invalid, the Rogue Wave classes that derive from this class return an invalid exchange object.
virtual RWCString name() const = 0;
Returns a name to be associated with the group.
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.