![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
tpco_tcdcreate | |
This function creates a TCData storage. More... | |
tpco_tcddelete | |
This function deletes a TCData storage. More... | |
tpco_tcddump | |
This function is a debug function and dumps the TCData storage into a file. More... | |
tpco_tcdexists | |
This function tests if a TAG/KEY exists. More... | |
tpco_tcdexport | |
This function exports a TCData storage to a platform dependent string. More... | |
tpco_tcdget | |
This function gets the value from a TAG/KEY. More... | |
tpco_tcdgetall | |
This function gets all KEYs and values from a TAG. More... | |
tpco_tcdgetalltags | |
This function gets all TAGs. More... | |
tpco_tcdgetflag | |
This function gets the TAG flag. More... | |
tpco_tcdgetmem | |
This function calculates the memory usage of a TCData storage. More... | |
tpco_tcdimport | |
This function imports a TCData storage from a platform dependent string. More... | |
tpco_tcdsetencode | |
This function sets the encoding for a TCData storage. More... | |
tpco_tcdstore | |
This function stores a value in the TCData stroage. More... | |
tpco_tcdtagexists | |
This function tests if a TAG exists. More... | |
tpco_tcdtcldump | |
This function is a debug function and dumps the TCData storage as TCL commands into a file . More... | |
tpco_tcdcreate |
This function creates a TCData storage.
tagsize | The maximum expected number of TAGs. This number is needed to determine the size of Hash-Keys. |
maxmem | The maximum size of the memory usage (MByte). (0= unlimited) |
tpco_tcddelete |
This function deletes a TCData storage.
handle | TCData handle ID |
tpco_tcddump |
This function is a debug function and dumps the TCData storage into a file.
handle | TCData handle ID |
dumpfile | dump filename |
tpco_tcdexists |
This function tests if a TAG/KEY exists.
handle | TCData handle ID |
tag | the TAG name |
tag | the KEY name |
tpco_tcdexport |
This function exports a TCData storage to a platform dependent string.
Warning: this representation of the string is only valid for the same platform (alignment, order, word size).
tcdhd | TCData handle ID |
export-varname | TCL variable name |
exports a TCData storage and writes the data into the file persistent.tcdata.
tpco_tcdget |
This function gets the value from a TAG/KEY.
handle | TCData handle ID |
tag | the TAG name |
tag | the KEY name |
tpco_tcdgetall |
This function gets all KEYs and values from a TAG.
handle | TCData handle ID |
tag | the TAG name |
tpco_tcdgetalltags |
This function gets all TAGs.
handle | TCData handle ID |
tpco_tcdgetflag |
This function gets the TAG flag.
handle | TCData handle ID |
tag | the TAG name |
tpco_tcdgetmem |
This function calculates the memory usage of a TCData storage.
tpco_tcdimport |
This function imports a TCData storage from a platform dependent string.
Warning: this representation of the string is only valid for the same platform (alignment, order, word size).
tcd-string | the platform dependent string (persistent tcdata) |
import a TCData storage from the file persistent.tcdata.
tpco_tcdsetencode |
This function sets the encoding for a TCData storage.
handle | TCData handle ID |
encoding | tcl encoding (e.g. iso8859-15) |
tpco_tcdstore |
This function stores a value in the TCData stroage.
handle | TCData handle ID |
mode | overwrite= if exists leave= if exists not overwrite |
tag | the tag name |
key | the key name |
value | the tag/key value |
flag | the tag flag (32 Bit interger). The new tag-value is TAGflag&= flag |
tpco_tcdtagexists |
This function tests if a TAG exists.
handle | TCData handle ID |
tag | the TAG name |
tpco_tcdtcldump |
This function is a debug function and dumps the TCData storage as TCL commands into a file .
You can dump the TCData storage to a TCL file, which can then be sourced. After the sourcing, the variable ::it includes the tcdata handle.
handle | TCData handle ID |
dumpfile | dump filename |