Definition at line 444 of file network-gw.h.
bool OSB_DB::NetworkAddressGw::fetch | ( | const Session & | session, | |
OSB_LIB::NetworkAddressInfo & | dest | |||
) |
Read all information.
The function uses dest.neId as selection criteria.
session | Database session to use. | |
dest | Buffer to populate. |
void OSB_DB::NetworkAddressGw::insert | ( | const Session & | session, | |
const OSB_LIB::NetworkAddressInfo & | src | |||
) |
Insert all information.
The function inserts all data of src into the database.
session | Database session to use. | |
src | Buffer to insert. |
void OSB_DB::NetworkAddressGw::remove | ( | const Session & | session, | |
const OSB_LIB::NetworkElement::Oid & | ne | |||
) |
Delete all information for a network or element.
session | Database session to use. | |
ne | Network (element) for which to delete. |
void OSB_DB::NetworkAddressGw::remove | ( | const Session & | session, | |
const OSB_LIB::Network::Oid & | nw | |||
) |
Delete all information for a network.
session | Database session to use. | |
nw | Network for which to delete. |
void OSB_DB::NetworkAddressGw::update | ( | const Session & | session, | |
const OSB_LIB::NetworkAddressInfo & | src | |||
) |
Update all information.
The function updates all data of src in the database: It first deletes any existing entries and then calls insert.
session | Database session to use. | |
src | Buffer to insert. |
const std::string OSB_DB::NetworkAddressGw::emptyCode [static] |