WissDB . since Jun 15 . Index . DOCs TOP TOC

S_ Select_Processes


 

Component:

S_Select_Processes

part of C_WissDB_DL_API

Abstract:

This is the function to ask the B_WissDB_Database for process skeletons.

Parameters:

§      In: Locator

        Is to be either NULL or a string matching the pattern D_Locator/ Process/ Name.

§      Out: Skeleton

        Is either NULL or a not empty set of values of type D_Locator, in which case it is to satisfy the following condition:

        For each object X of type E_Process existing in B_WissDB_Database, X.a_Loc is element of the Skeleton if and only if

–      the given Locator is NULL or is prefix of or identical to X.a_Loc.

§      Out: AppErrors

        Is to explain errors if the given Locator is neither NULL nor an element of B_WissDB_Database.E_Process.A_Loc.

        Is to contain warnings if B_WissDB_Database.E_Process is empty.

§      Out: ReturnCode is one of the following values:

–      RC_ok

–      RC_syserror

–      RC_seeAppErrors

–      RC_seeWarnings

 

Has to:

Create the Skeleton specified above as a subset of D_Locator. Then, if this set is not empty, return RC_ok in ReturnCode and this set in Skeleton.

If the set is empty, return NULL in Skeleton and again RC_ok in ReturnCode.

Return NULL in Skeleton and RC_seeAppErrors AppErrors is explaining errors.

 

Because of:

C_WissDB_API needs a way to implement S_Search_for_Knowledge.


 

WissDB . Index . DOCs . TOC