Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 11 BrowserDef : BrowserDef Operations : tibasBrowserDef_Create()

tibasBrowserDef_Create()
Function
Declaration
tibas_status tibasBrowserDef_Create
(tibasBrowserDef*        browserDef)
Purpose
Creates a new instance of a BrowserDef.
Parameters
 
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.
See Also
tibasBrowserDef_CreateEx(), tibasBrowserDef_SetDistributionScope(), tibasBrowserDef_SetTimeScope(), tibasBrowserDef_SetTimeScope(), tibasBrowserDef_SetTimeout(), tibasBrowserDef_Free()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved