Generated from ./src/transaction.cpp with ROBODoc v4.0.2 on Sun May 25 16:39:22 2003

Anvil/Transaction

NAME

  Transaction class

CHILDREN

  Anvil/TrBasic

USAGE

  Base Transaction Class
  This class is used as a base for the 2 transaction
  types: basic and investment.

AUTHOR

  Joseph M. Robertson, jmr, jmrobert5@mchsi.com

COPYRIGHT

 (c) 2001 by Joseph M. Robertson

CREATION DATE

  3/18/01

HISTORY

  6/13/01 changed to be a base class,
          no longer directly instantiated in accounts or qif4.

Anvil/Transaction::ID

NAME

  ID - unique number for this transaction.

SYNOPSIS

  long Transaction::ID()
  void Transaction::ID(long value)

PURPOSE

  Use to get/set the number of the transaction.

Anvil/Transaction::Date

NAME

  Date - the date of the transaction, a string value.

SYNOPSIS

  string Transaction::Date()
  void Transaction::Date(string value)

PURPOSE

  Use to get/set the date of the transaction.

Anvil/Transaction::Status

NAME

  Status

SYNOPSIS

  string Transaction::Status()
  void Transaction::Status(string value)

PURPOSE

  Use to get/set the status of the transaction.

Anvil/transaction::Clear

NAME

  Clear

SYNOPSIS

  void Transaction::Clear

PURPOSE

  Convenience methid to set the status flag to 'x'.

Anvil/Transaction::Payee

NAME

  Payee

SYNOPSIS

  string Transaction::Payee()
  void Transaction::Payee(string value)

PURPOSE

  Use to get/set the payee member of the transaction.

Anvil/Transaction::Memo

NAME

  Memo

SYNOPSIS

  string Transaction::Memo

PURPOSE

  Use to get/set the memo member of the transaction.

Anvil/Transaction::Print()

NAME

  Print

SYNOPSIS

  istring Transaction::Print()

PURPOSE

  Use to get a formatted string of the transaction.
  This is a verbose version.

Anvil/Transaction::Print_Rec()

NAME

  Print_Rec

SYNOPSIS

  string Transaction::Print_Rec()

PURPOSE

  Use to print out a string format of the transaction data.
  This is a short format, pipe delimited string.

Anvil/Transaction::Field()

NAME

  Field

SYNOPSIS

  string Transaction::Field(int index)

PURPOSE

  Use to get a piece of member data from a transaction.
  0 = id         6 = memo
  1 = date       7 = address (could contain linefeeds)
  2 = number     8 = category
  3 = status     9 = split  (pipe delimited string)
  4 = amount         amount|memo|category...
  5 = payee      10 = balance