Within TaxKeyList, all tax keys are classified into three vectors of tax keys based on their tax key types.
Definition at line 177 of file taxkey.h.
typedef std::vector<TaxKey> OSB_LIB::TaxKeyList::List |
typedef List OSB_LIB::TaxKeyList::ProductList |
void OSB_LIB::TaxKeyList::add | ( | const TaxKey & | tk | ) |
Add a tax key into the relative vector of tax keys.
tk | Ref of tax key. |
const TaxKey* OSB_LIB::TaxKeyList::findTaxKey | ( | const TaxKey::Oid & | oid | ) | const |
Find the tax key based on the given oid.
oid | Oid of the tax key. |
const List& OSB_LIB::TaxKeyList::get | ( | const TaxKeyType | tkt | ) | const |
Get the list of tax keys for specific type.
tkt | Type of the TaxKey. |
OsbException | if tkt is not valid. |
const TaxKey& OSB_LIB::TaxKeyList::getTaxKey | ( | const TaxKey::Oid & | oid | ) | const |
Find the tax key based on the given oid.
oid | Oid of the tax key. |
OsbException | if tax key is not found. |
TaxKey::Oid OSB_LIB::TaxKeyList::getTaxKeyByName | ( | const std::string & | name | ) | const |
Find the tax key based on its name.
name | Unique name of the tax key. |
long OSB_LIB::TaxKeyList::read | ( | const OSB_DB::Session & | session | ) |
Read all tax keys from the database.
Read all tax keys and store them into the relative vector.
session | Database session to use, transactions are not commited. |
long OSB_LIB::TaxKeyList::size | ( | ) | const |
Retrieve size of all tax keys.
AssociateList OSB_LIB::TaxKeyList::aList_ [private] |
ContractList OSB_LIB::TaxKeyList::cList_ [private] |
ProductList OSB_LIB::TaxKeyList::pList_ [private] |