tibasBrowserDef_Create()

Creates a new instance of a BrowserDef.

Declaration

tibas_status tibasBrowserDef_Create
(tibasBrowserDef*        browserDef)

Parameters

Parameter Description
browserDef The new instance of a BrowserDef returned by the function.

Remarks

Use the tibasBrowserDef_Create() function to create a browserDef instance. The browserDef defines the characteristics of a space browser, which allows your application to browse through the tuples in a space based on the browser characteristics defined in the browserDef.

The space browser is created when you pass the browserDef to the tibasMetaspace_Browse() function or the tibasSpace_Browse() function.

If you create the browser definition by calling tibasBrowserDef_Create(), then you must set the attributes of the browser by calling additional tibasBrowserDef functions. Call:

You can both create the browser and directly set the browser attributes by calling the tibasBrowserDef_CreateEx() function.

For an example of a program to create a browser, see the ASBrowser.c example program that is provided with the TIBCO ActiveSpaces distribution.