GncTransaction Class Reference

#include <mymoneygncreader.h>

Inheritance diagram for GncTransaction:

GncObject
Collaboration diagram for GncTransaction:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GncTransaction (bool processingTemplates)
 ~GncTransaction ()

Protected Member Functions

QString id () const
QString no () const
QString desc () const
QString currency () const
QDate dateEntered () const
QDate datePosted () const
bool isTemplate () const
unsigned int splitCount () const
unsigned int kvpCount () const
const GncObjectgetSplit (unsigned int i) const
const GncKvpgetKvp (unsigned int i) const

Private Types

enum  TransactionSubEls {
  CURRCY, POSTED, ENTERED, SPLIT,
  KVP, END_Transaction_SELS
}
enum  TransactionDataEls { ID, NO, DESC, END_Transaction_DELS }

Private Member Functions

virtual GncObjectstartSubEl ()
virtual void endSubEl (GncObject *)
virtual void terminate ()

Private Attributes

GncCmdtySpecm_vpCurrency
GncDatem_vpDateEntered
GncDatem_vpDatePosted
QPtrList< GncObjectm_splitList
bool m_template
QPtrList< GncObjectm_kvpList

Friends

class MyMoneyGncReader


Member Enumeration Documentation

Enumerator:
CURRCY 
POSTED 
ENTERED 
SPLIT 
KVP 
END_Transaction_SELS 

Enumerator:
ID 
NO 
DESC 
END_Transaction_DELS 


Constructor & Destructor Documentation

GncTransaction::GncTransaction ( bool  processingTemplates  ) 

GncTransaction::~GncTransaction (  ) 


Member Function Documentation

QString GncTransaction::id (  )  const [inline, protected]

QString GncTransaction::no (  )  const [inline, protected]

QString GncTransaction::desc (  )  const [inline, protected]

QString GncTransaction::currency (  )  const [inline, protected]

QDate GncTransaction::dateEntered (  )  const [inline, protected]

QDate GncTransaction::datePosted (  )  const [inline, protected]

bool GncTransaction::isTemplate (  )  const [inline, protected]

unsigned int GncTransaction::splitCount (  )  const [inline, protected]

unsigned int GncTransaction::kvpCount (  )  const [inline, protected]

const GncObject* GncTransaction::getSplit ( unsigned int  i  )  const [inline, protected]

const GncKvp* GncTransaction::getKvp ( unsigned int  i  )  const [inline, protected]

virtual GncObject* GncTransaction::startSubEl (  )  [private, virtual]

Reimplemented from GncObject.

virtual void GncTransaction::endSubEl ( GncObject  )  [private, virtual]

Reimplemented from GncObject.

virtual void GncTransaction::terminate (  )  [private, virtual]

Reimplemented from GncObject.


Friends And Related Function Documentation

friend class MyMoneyGncReader [friend]

Reimplemented from GncObject.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:05:34 2011 for KMyMoney by  doxygen 1.5.6