OSB_DB::CurrencyBookGw Class Reference

List of all members.

Detailed Description

Gateway for currencies.

Definition at line 52 of file currencybook-gw.h.

Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

OSB_DB::CurrencyBookGw::CurrencyBookGw ( const CurrencyBookGw  )  [private]

Prevent copying: not implemented.

OSB_DB::CurrencyBookGw::CurrencyBookGw (  )  [inline]

Default constructor.

Definition at line 60 of file currencybook-gw.h.


Member Function Documentation

long OSB_DB::CurrencyBookGw::fetch ( const Session session,
OSB_LIB::CurrencyBook book 
)

Read all currencies.

Parameters:
session Database session to use.
book Currency book to populate.
Returns:
The number of currencies.

bool OSB_DB::CurrencyBookGw::fetchBase ( const Session session,
OSB_LIB::Currency base 
)

Get the base (default) currency.

Parameters:
session Database session to use.
base Currency to populate.
Returns:
true if a base currency exists, else false.

CurrencyBookGw& OSB_DB::CurrencyBookGw::operator= ( const CurrencyBookGw  )  [private]

Prevent assignment: not implemented.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:08:53 2006 for OSB Library by  doxygen 1.4.7