OSB_DB::NetworkAddressGw Class Reference

Collaboration diagram for OSB_DB::NetworkAddressGw:

Collaboration graph
[legend]
List of all members.

Detailed Description

Interface to table NETWORK_ADDRESS.

Definition at line 444 of file network-gw.h.

Public Member Functions

Static Public Attributes


Member Function Documentation

bool OSB_DB::NetworkAddressGw::fetch ( const Session session,
OSB_LIB::NetworkAddressInfo dest 
)

Read all information.

The function uses dest.neId as selection criteria.

Parameters:
session Database session to use.
dest Buffer to populate.
Returns:
true if any data was read from the database, else false.

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.

Parameters:
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.

Parameters:
session Database session to use.
ne Network (element) for which to delete.
Remarks:
If ne.id2 is not set, the function deletes address information for the corresponding network.

void OSB_DB::NetworkAddressGw::remove ( const Session session,
const OSB_LIB::Network::Oid nw 
)

Delete all information for a network.

Parameters:
session Database session to use.
nw Network for which to delete.
Remarks:
Wraps to the member for a network element.

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.

Parameters:
session Database session to use.
src Buffer to insert.


Member Data Documentation

const std::string OSB_DB::NetworkAddressGw::emptyCode [static]

Marker for empty default codes: "na".

Definition at line 447 of file network-gw.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:08:57 2006 for OSB Library by  doxygen 1.4.7