Definition at line 56 of file chargetraits-gw.h.
OSB_DB::ChargeTraitsGw::ChargeTraitsGw | ( | const ChargeTraitsGw & | rhs | ) | [private] |
Prevent copying: Copy constructor not implemented.
OSB_DB::ChargeTraitsGw::ChargeTraitsGw | ( | ) | [inline] |
bool OSB_DB::ChargeTraitsGw::delChargeTraits | ( | const Session & | session, | |
const OSB_LIB::ChargeTraits & | ct | |||
) |
Remove a charge traits from the database.
session | Database session to use. | |
ct | Ref to chargetraits. |
long OSB_DB::ChargeTraitsGw::fetch | ( | const Session & | session, | |
OSB_LIB::ChargeTraitsList::List * | pCtList | |||
) |
Read the list of charge traits from the database.
session | Database session to use. | |
pCtList | Pointer to the list of charge traits. |
OsbException | if the charge type in the database is not valid. |
bool OSB_DB::ChargeTraitsGw::insert | ( | const Session & | session, | |
OSB_LIB::ChargeTraits & | ct | |||
) |
Insert a charge traits to the database.
The function creates an entry in CHARGE_TRAITS. It sets the new object id of `ct'.
session | Database session to use. | |
ct | Ref to chargetraits. |
OsbException | if the charge type of ct is unknown. |
ChargeTraitsGw& OSB_DB::ChargeTraitsGw::operator= | ( | const ChargeTraitsGw & | rhs | ) | [private] |
Prevent assignment: Assignment not implemented.