taxCache Class Reference

#include <taxCache.h>

List of all members.

Public Member Functions

 taxCache (taxCache &)
 taxCache ()
virtual ~taxCache ()
virtual double adj (unsigned) const
virtual double adj () const
virtual int adjId () const
virtual double adjPct (unsigned) const
virtual double adjPct () const
virtual int adjType () const
virtual void clear ()
virtual double freight (unsigned) const
virtual double freight () const
virtual int freightId () const
virtual double freightPct (unsigned) const
virtual double freightPct () const
virtual int freightType () const
virtual double line (unsigned) const
virtual double line () const
virtual double linePct (unsigned) const
virtual double linePct () const
virtual void setAdj (const double, const double=0, const double=0)
virtual void setAdjId (const int)
virtual void setAdjPct (const double, const double=0, const double=0)
virtual void setAdjType (const int)
virtual void setFreight (const double, const double=0, const double=0)
virtual void setFreightId (const int)
virtual void setFreightPct (const double, const double=0, const double=0)
virtual void setFreightType (const int)
virtual void setLine (const double, const double=0, const double=0)
virtual void setLinePct (const double, const double=0, const double=0)
virtual QString toString () const
virtual double total (unsigned) const
virtual double total () const

Protected Types

enum  Id { Tax, Type }
enum  Info { Pct, Amount }
enum  Part { Line, Freight, Adj }
enum  Rate { A, B, C }

Protected Attributes

double cache [2][3][4]
int ids [2][4]

Member Enumeration Documentation

enum taxCache::Id [protected]
Enumerator:
Tax 
Type 
enum taxCache::Info [protected]
Enumerator:
Pct 
Amount 
enum taxCache::Part [protected]
Enumerator:
Line 
Freight 
Adj 
enum taxCache::Rate [protected]
Enumerator:
A 
B 
C 

Constructor & Destructor Documentation

taxCache::taxCache (  ) 
taxCache::taxCache ( taxCache p  ) 
taxCache::~taxCache (  )  [virtual]

Member Function Documentation

double taxCache::adj ( unsigned  p  )  const [virtual]
double taxCache::adj (  )  const [virtual]
int taxCache::adjId (  )  const [virtual]
double taxCache::adjPct ( unsigned  p  )  const [virtual]
double taxCache::adjPct (  )  const [virtual]
int taxCache::adjType (  )  const [virtual]
void taxCache::clear (  )  [virtual]
double taxCache::freight ( unsigned  p  )  const [virtual]
double taxCache::freight (  )  const [virtual]
int taxCache::freightId (  )  const [virtual]
double taxCache::freightPct ( unsigned  p  )  const [virtual]
double taxCache::freightPct (  )  const [virtual]
int taxCache::freightType (  )  const [virtual]
double taxCache::line ( unsigned  p  )  const [virtual]
double taxCache::line (  )  const [virtual]
double taxCache::linePct ( unsigned  p  )  const [virtual]
double taxCache::linePct (  )  const [virtual]
void taxCache::setAdj ( const double  a,
const double  b = 0,
const double  c = 0 
) [virtual]
void taxCache::setAdjId ( const int  p  )  [virtual]
void taxCache::setAdjPct ( const double  a,
const double  b = 0,
const double  c = 0 
) [virtual]
void taxCache::setAdjType ( const int  p  )  [virtual]
void taxCache::setFreight ( const double  a,
const double  b = 0,
const double  c = 0 
) [virtual]
void taxCache::setFreightId ( const int  p  )  [virtual]
void taxCache::setFreightPct ( const double  a,
const double  b = 0,
const double  c = 0 
) [virtual]
void taxCache::setFreightType ( const int  p  )  [virtual]
void taxCache::setLine ( const double  a,
const double  b = 0,
const double  c = 0 
) [virtual]
void taxCache::setLinePct ( const double  a,
const double  b = 0,
const double  c = 0 
) [virtual]
QString taxCache::toString (  )  const [virtual]
double taxCache::total ( unsigned  p  )  const [virtual]
double taxCache::total (  )  const [virtual]

Member Data Documentation

double taxCache::cache[2][3][4] [protected]
int taxCache::ids[2][4] [protected]

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

Generated on Tue Apr 20 12:03:28 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1