Function tip_SetAssociatedInfo


Prototype: tip_SetAssociatedInfo(Collection);
Arguments:

Collection: A Collection object. (CDM_Collection)
: ()

C++ API Sections
Tcl API Sections
Description
Return Value
Notes
See Also
Index

Description:

This function sets the provided Tcl object as associated information to the specified Collection object. This "associated information" (Tcl object) can contain anything that the user wants to store ("associate") with this Collection.

Return Value:

The return value from this function will be a standart Tcl completion code (of type int) with one of the values TCL_OK and TCL_ERROR. If the requested Collection exists and the information Tcl object is successfully associated with the Collection, then TCL_OK will be returned. In case of an error, the return value will be TCL_ERROR and an error message describing the error will be left at the current Tcl interpreter (CDM_Interp).

Notes:

This function is equivelant to CDM_GetAssociatedInfo (C++ API).

See Also:

tip_GetAssociatedInfo, tip_SetComment, tip_GetComment, tip_Free, Tcl_DecrRefCount, Tcl_IncrRefCount


Generated by: petasis@aias on Wed Aug 16 10:31:46 PM EEST 2006.