Definition at line 72 of file countryinfo.h.
typedef Id<CountryInfo> OSB_LIB::CountryInfo::Oid |
const std::string& OSB_LIB::CountryInfo::alphabetCode | ( | ) | const |
Return the alphabet code for the country.
const std::string& OSB_LIB::CountryInfo::e164cc | ( | ) | const |
Return the international dialing E.164 code.
const std::string& OSB_LIB::CountryInfo::name | ( | ) | const |
Return the name of the country.
const Oid& OSB_LIB::CountryInfo::oid | ( | ) | const |
Return the unique object identifier.
bool OSB_LIB::CountryInfo::read | ( | const OSB_DB::Session & | session | ) |
Read the country info from the database.
This will read the country info from the database. Before calling this function the object id should be set.
session | Database session to use. |
Exception | on general database error. |
friend struct OSB_DB::CountryInfoGw [friend] |
This is to access the private attributes on fetch method.
Definition at line 75 of file countryinfo.h.
std::string OSB_LIB::CountryInfo::alphabetCode_ [private] |
std::string OSB_LIB::CountryInfo::e164cc_ [private] |
std::string OSB_LIB::CountryInfo::name_ [private] |
Oid OSB_LIB::CountryInfo::oid_ [private] |