MyMoneyBalanceCacheItem Class Reference
List of all members.
- Thomas Baumgart This member represents an item in the balance cache. The balance cache is used for fast processing of the balance of an account. Several of these objects are held by the MyMoneySeqAccessMgr() object in a map with the account Id as key. If such a cache item is present in the map, the contained balance of it will be used as current balance for this account. If the balance is changed by any operation, the MyMoneyBalanceCacheItem for the modified account will be removed from the map and the next time the balance for this account is requested, it has to be recalculated. After recalculation, a new MyMoneyBalanceCacheItem will be created containing the new balance value.
- See also:
- MyMoneySeqAccessMgr::balance() and MyMoneySeqAccessMgr::invalidateBalanceCache() for a usage example
Constructor & Destructor Documentation
||const MyMoneyMoney &
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: