tibasBrowserDef_Create()
Creates a new instance of a BrowserDef.
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:
- tibasBrowserDef_SetTimeout() to set the a timeout value for the browser.
- tibasBrowserDef_GetTimeScope() to set a time scope for the browser.
- tibasBrowserDef_SetDistributionScope() to set a distribution scope.
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.