|
|
If the Collection encoding argument is ommited, it defaults to "tip_DefaultEncoding". "tip_DefaultEncoding" is a global variable (of type char *), that has as initial value the system encoding. This variable is also exported at the Tcl level under the same name and as a result its value can easily be changed by the end user.
Note that the new Collection will be created only in memory. Nothing
will be saved on the disk. In order for the Collection to be saved in
disk, the function tip_Sync must be called after the new Collection is
created in memory. This is usually done after all of the desired
Documents have been added to the newly created Collection.
This function returns a Collection object (of type CDM_Collection) that
can be used as a reference to all functions that require a Collection
argument as input. This object will be valid until the Collection that
is referred by this object is closed (through tip_Close) and the
Collection removed from memory. If this object is used after the
referred Collection has been closed, an undefined behaviour will occur. Return Value:
If an error occurs, then an error message will propmpt.
*
tip_Close, tip_CreateDocument, tip_CreateAttribute,
tip_CreateAttributeSet, tip_Sync
See Also:
Generated by: petasis@aias on Wed Aug 16 10:31:45 PM EEST 2006.