Functions | |
| void | SPI_TOOL_del_list (int indexList) |
| Deletes a tool list. | |
| void | SPI_TOOL_free_tool () |
| Releases the selected tool. | |
| void | SPI_TOOL_get_back_list (int indexList) |
| Transfers a tool list to the current list to be displayed in the drop-down list. | |
| void | SPI_TOOL_init (int catalogType, int toolType) |
| initializes catalog for tool search | |
| void | SPI_TOOL_read_boolean_tool (int keyNb, int *bval) |
| Reads a boolean value from a tool. | |
| void | SPI_TOOL_read_integer_tool (int keyNb, int *ival) |
| Reads an integer value from a tool. | |
| void | SPI_TOOL_read_name_tool (int toolIndex, std::string &name) |
| Reads the name of one of the tools found. | |
| void | SPI_TOOL_read_nb_tool (int *numberOfTools) |
| Starts the tool search using the criteria given by the functions SPI_TOOL_write_xxx and return the number of tools resulting from this search. | |
| void | SPI_TOOL_read_nb_tool_panel (int *numberOfTools, int *indexList) |
| Starts the tool search using the criteria given by the functions SPI_TOOL_write_xxx and return the number of tools resulting from this search. Each search is stored in a list. | |
| void | SPI_TOOL_read_real_tool (int keyNb, double *rval) |
| Reads a real value from a tool. | |
| void | SPI_TOOL_read_string_tool (int keyNb, std::string &sval) |
| Reads a string value from a tool. | |
| int | SPI_TOOL_read_tool (const std::string &name) |
| Loads a tool structure into memory from the tool name. | |
| void | SPI_TOOL_write_integer (const std::string &criterion, int keyNb, int ival) |
| Prepares a search according to an integer parameter (number of teeth, ...) | |
| void | SPI_TOOL_write_real (const std::string &criterion, int keyNb, double rval) |
| Prepares a search according to a real parameter (diameter, ...) | |
| void | SPI_TOOL_write_string (const std::string &criterion, int keyNb, const std::string &sval) |
| Prepares a search according to a string parameter (reference, ...) | |
Tools search
| void SPI_TOOL_del_list | ( | int | indexList | ) |
Deletes a tool list.
| [out] | indexList | list index |
| void SPI_TOOL_free_tool | ( | ) |
| void SPI_TOOL_get_back_list | ( | int | indexList | ) |
Transfers a tool list to the current list to be displayed in the drop-down list.
| [out] | indexList | list index |
| void SPI_TOOL_init | ( | int | catalogType, |
| int | toolType ) |
initializes catalog for tool search
| [in] | catalogType |
|
| [in] | toolType | (OUT_FORET, ...) |
| void SPI_TOOL_read_boolean_tool | ( | int | keyNb, |
| int * | bval ) |
Reads a boolean value from a tool.
| [in] | keyNb | key to read |
| [out] | bval | value read |
| void SPI_TOOL_read_integer_tool | ( | int | keyNb, |
| int * | ival ) |
Reads an integer value from a tool.
| [in] | keyNb | key to read |
| [out] | ival | value read |
| void SPI_TOOL_read_name_tool | ( | int | toolIndex, |
| std::string & | name ) |
Reads the name of one of the tools found.
| [in] | toolIndex | tool index to read [0..(nb_tool-1)] |
| [out] | name | tool name |
| void SPI_TOOL_read_nb_tool | ( | int * | numberOfTools | ) |
Starts the tool search using the criteria given by the functions SPI_TOOL_write_xxx
and return the number of tools resulting from this search.
| [out] | numberOfTools | number of tools |
| void SPI_TOOL_read_nb_tool_panel | ( | int * | numberOfTools, |
| int * | indexList ) |
Starts the tool search using the criteria given by the functions SPI_TOOL_write_xxx
and return the number of tools resulting from this search.
Each search is stored in a list.
| [in,out] | indexList | list by default | -1 / storage list index |
| [out] | numberOfTools | number of tools |
| void SPI_TOOL_read_real_tool | ( | int | keyNb, |
| double * | rval ) |
Reads a real value from a tool.
| [in] | keyNb | key to read |
| [out] | rval | value read |
| void SPI_TOOL_read_string_tool | ( | int | keyNb, |
| std::string & | sval ) |
Reads a string value from a tool.
| [in] | keyNb | key to read |
| [out] | sval | value read |
| int SPI_TOOL_read_tool | ( | const std::string & | name | ) |
Loads a tool structure into memory from the tool name.
| [in] | name | tool name to read |
| void SPI_TOOL_write_integer | ( | const std::string & | criterion, |
| int | keyNb, | ||
| int | ival ) |
Prepares a search according to an integer parameter (number of teeth, ...)
| [in] | criterion | '=' , '<' , '>' , ... |
| [in] | keyNb | search key (EO_NOMBRE_DENTS, ...) |
| [in] | ival | integer to search |
| void SPI_TOOL_write_real | ( | const std::string & | criterion, |
| int | keyNb, | ||
| double | rval ) |
Prepares a search according to a real parameter (diameter, ...)
| [in] | criterion | '=' , '<' , '>' , ... |
| [in] | keyNb | search key (RO_DIAMETRE, ...) |
| [in] | rval | real to search |
| void SPI_TOOL_write_string | ( | const std::string & | criterion, |
| int | keyNb, | ||
| const std::string & | sval ) |
Prepares a search according to a string parameter (reference, ...)
| [in] | criterion | '=' , '<' , '>' , ... |
| [in] | keyNb | search key (SO_REF_OUTIL, ...) |
| [in] | sval | string to search |