List of all members | Public Member Functions | Protected Types | Protected Attributes
taxCache Class Reference

#include <taxCache.h>

Public Member Functions

 taxCache ()
 
 taxCache (taxCache &)
 
virtual ~taxCache ()
 
virtual double adj () const
 
virtual double adj (unsigned) const
 
virtual int adjId () const
 
virtual double adjPct () const
 
virtual double adjPct (unsigned) const
 
virtual int adjType () const
 
virtual void clear ()
 
virtual double freight () const
 
virtual double freight (unsigned) const
 
virtual int freightId () const
 
virtual double freightPct () const
 
virtual double freightPct (unsigned) const
 
virtual int freightType () const
 
virtual double line () const
 
virtual double line (unsigned) const
 
virtual double linePct () const
 
virtual double linePct (unsigned) 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 () const
 
virtual double total (unsigned) 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

Constructor & Destructor Documentation

taxCache::taxCache ( )
taxCache::taxCache ( taxCache p)
taxCache::~taxCache ( )
virtual

Member Function Documentation

double taxCache::adj ( ) const
virtual
double taxCache::adj ( unsigned  p) const
virtual
int taxCache::adjId ( ) const
virtual
double taxCache::adjPct ( ) const
virtual
double taxCache::adjPct ( unsigned  p) const
virtual
int taxCache::adjType ( ) const
virtual
void taxCache::clear ( )
virtual
double taxCache::freight ( ) const
virtual
double taxCache::freight ( unsigned  p) const
virtual
int taxCache::freightId ( ) const
virtual
double taxCache::freightPct ( ) const
virtual
double taxCache::freightPct ( unsigned  p) const
virtual
int taxCache::freightType ( ) const
virtual
double taxCache::line ( ) const
virtual
double taxCache::line ( unsigned  p) const
virtual
double taxCache::linePct ( ) const
virtual
double taxCache::linePct ( unsigned  p) 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 ( ) const
virtual
double taxCache::total ( unsigned  p) 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 Fri Jul 10 2015 xTuple ERP Programmer Reference, Version 4.9.0 doxygen 1.8.10