OSB_DB::RecordSourceGw Struct Reference

List of all members.

Detailed Description

This will perform all the database operations for RecordSource.

Definition at line 69 of file recordstream-gw.h.

Public Member Functions


Member Function Documentation

long OSB_DB::RecordSourceGw::fetch ( const Session session,
OSB_LIB::RecordSources dest,
OSB_LIB::ModuleId  generator = OSB_LIB::mdAll 
)

Read the record sources from the database.

This will fetch all the record source from the database.

Parameters:
session Database session to use.
dest STL-container to populate, it is not not cleared within this function.
generator If not mdAll: read the record sources generated by this module only.
Returns:
Number of records read from the database.

bool OSB_DB::RecordSourceGw::fetchByFormat ( const Session session,
OSB_LIB::RecordSource rs 
)

Read the record source from the database.

This will fetch the record source from the database. The passed in record source object must have its format_ and generator_ data members set.

Parameters:
session Database session to use.
rs Record source object to be fetched.
Returns:
True if object read successfully else false.

bool OSB_DB::RecordSourceGw::fetchById ( const Session session,
OSB_LIB::RecordSource rs 
)

Read the record source from the database.

This will fetch the record source from the database. Before calling this function the object identifier should be set.

Parameters:
session Database session to use.
rs Record source object to be fetched.
Returns:
True if object read successfully else false.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:09:02 2006 for OSB Library by  doxygen 1.4.7