Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MyMoneyObjectContainer Class Reference

#include <mymoneyobjectcontainer.h>

Inheritance diagram for MyMoneyObjectContainer:

QObject Collaboration diagram for MyMoneyObjectContainer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MyMoneyObjectContainer ()
 ~MyMoneyObjectContainer ()
const MyMoneyAccountaccount (const QCString &id)
const MyMoneyPayeepayee (const QCString &id)
const MyMoneySecuritysecurity (const QCString &id)
const MyMoneyInstitutioninstitution (const QCString &id)
const MyMoneyScheduleschedule (const QCString &id)
void account (QValueList< MyMoneyAccount > &list)
void payee (QValueList< MyMoneyPayee > &list)
void institution (QValueList< MyMoneyInstitution > &list)
void preloadAccount (const QValueList< MyMoneyAccount > &list)
void preloadPayee (const QValueList< MyMoneyPayee > &list)
void preloadInstitution (const QValueList< MyMoneyInstitution > &list)
void preloadSecurity (const QValueList< MyMoneySecurity > &list)
void preloadSchedule (const QValueList< MyMoneySchedule > &list)
void preloadAccount (const MyMoneyAccount &account)
void preloadSecurity (const MyMoneySecurity &security)
void preloadPayee (const MyMoneyPayee &payee)
void preloadInstitution (const MyMoneyInstitution &institution)
void clear (const QCString &id)
void clear (IMyMoneyStorage *storage=0)
const MyMoneyAccountaccountByName (const QString &name) const
void refresh (const QCString &id)

Private Member Functions

void assignFraction (MyMoneyAccount *acc)

Private Attributes

QMap< QCString, MyMoneyObject
const * > 
m_map
IMyMoneyStoragem_storage

Detailed Description

This class represents a generic container for all MyMoneyObject derived objects.


Constructor & Destructor Documentation

MyMoneyObjectContainer::MyMoneyObjectContainer  ) 
 

MyMoneyObjectContainer::~MyMoneyObjectContainer  ) 
 


Member Function Documentation

void MyMoneyObjectContainer::account QValueList< MyMoneyAccount > &  list  ) 
 

const MyMoneyAccount& MyMoneyObjectContainer::account const QCString &  id  ) 
 

const MyMoneyAccount& MyMoneyObjectContainer::accountByName const QString &  name  )  const
 

void MyMoneyObjectContainer::assignFraction MyMoneyAccount acc  )  [private]
 

void MyMoneyObjectContainer::clear IMyMoneyStorage storage = 0  ) 
 

void MyMoneyObjectContainer::clear const QCString &  id  ) 
 

void MyMoneyObjectContainer::institution QValueList< MyMoneyInstitution > &  list  ) 
 

const MyMoneyInstitution& MyMoneyObjectContainer::institution const QCString &  id  ) 
 

void MyMoneyObjectContainer::payee QValueList< MyMoneyPayee > &  list  ) 
 

const MyMoneyPayee& MyMoneyObjectContainer::payee const QCString &  id  ) 
 

void MyMoneyObjectContainer::preloadAccount const MyMoneyAccount account  ) 
 

void MyMoneyObjectContainer::preloadAccount const QValueList< MyMoneyAccount > &  list  ) 
 

void MyMoneyObjectContainer::preloadInstitution const MyMoneyInstitution institution  ) 
 

void MyMoneyObjectContainer::preloadInstitution const QValueList< MyMoneyInstitution > &  list  ) 
 

void MyMoneyObjectContainer::preloadPayee const MyMoneyPayee payee  ) 
 

void MyMoneyObjectContainer::preloadPayee const QValueList< MyMoneyPayee > &  list  ) 
 

void MyMoneyObjectContainer::preloadSchedule const QValueList< MyMoneySchedule > &  list  ) 
 

void MyMoneyObjectContainer::preloadSecurity const MyMoneySecurity security  ) 
 

void MyMoneyObjectContainer::preloadSecurity const QValueList< MyMoneySecurity > &  list  ) 
 

void MyMoneyObjectContainer::refresh const QCString &  id  ) 
 

This method refreshes an already existing object in the container with a copy from the engine. The object is identified by its id. If the object is unknown or the id is empty, nothing is done.

const MyMoneySchedule& MyMoneyObjectContainer::schedule const QCString &  id  ) 
 

const MyMoneySecurity& MyMoneyObjectContainer::security const QCString &  id  ) 
 


Member Data Documentation

QMap<QCString, MyMoneyObject const *> MyMoneyObjectContainer::m_map [private]
 

IMyMoneyStorage* MyMoneyObjectContainer::m_storage [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 12:11:26 2008 for KMyMoney by  doxygen 1.4.1