
Definition at line 101 of file taxkey.h.
| typedef Id<TaxKey> OSB_LIB::TaxKey::Oid |
| OSB_LIB::TaxKey::TaxKey | ( | Oid | oid = Oid(ID_NOT_SET) |
) | [inline] |
| OSB_LIB::TaxKey::TaxKey | ( | const Oid & | oid, | |
| const std::string & | name, | |||
| const TaxKeyType | tkt, | |||
| bool | wildCard = false | |||
| ) | [inline] |
| bool OSB_LIB::TaxKey::insert | ( | const OSB_DB::Session & | session | ) |
Insert a tax key to the database.
Set the generated oid if success.
| session | Database session to use, transactions are not commited. |
| const std::string& OSB_LIB::TaxKey::name | ( | ) | const [inline] |
| const Oid& OSB_LIB::TaxKey::oid | ( | ) | const [inline] |
| bool OSB_LIB::TaxKey::read | ( | const OSB_DB::Session & | session | ) |
Read a tax key from the database.
| session | Database session to use, transactions are not commited. |
| bool OSB_LIB::TaxKey::remove | ( | const OSB_DB::Session & | session | ) |
Remove a tax key from the database.
| session | Database session to use, transactions are not commited. |
| const TaxKeyType& OSB_LIB::TaxKey::type | ( | ) | const [inline] |
| bool OSB_LIB::TaxKey::wildCard | ( | ) | const [inline] |
friend class OSB_DB::TaxKeyGw [friend] |
std::string OSB_LIB::TaxKey::name_ [private] |
Oid OSB_LIB::TaxKey::oid_ [private] |
TaxKeyType OSB_LIB::TaxKey::type_ [private] |
bool OSB_LIB::TaxKey::wildCard_ [private] |
Flag if this tax key is catch-all, which matches any value evaluated.
Definition at line 164 of file taxkey.h.
Referenced by wildCard().
1.4.7