|
ITK Function Reference
(V10000.1.0.60_20160308.00) |
#include <gms/libgms_exports.h>#include <gms/libgms_undef.h>Go to the source code of this file.
Functions | |
| GMS_API int | GMS_export_objects_to_offline_package (const char *reason, int n_objects, tag_t *object_tags, int n_sites, tag_t *sites, tag_t option_set_tag, int n_options, const char **option_names, const char **option_values, int n_session_options, const char **session_option_names, const char **session_option_values, tag_t *briefcase_dataset_tag, char **offline_file_name, int *n_export_log_files, char ***export_log_files) |
| GMS_API int | GMS_identify_outdated_replica_objects (int replicasite, int numOfInputObjects, tag_t *objList, int *numberOfOutdatedObjects, tag_t **statusObjects) |
| GMS_API int | GMS_import_objects_from_offline_package (const char *offline_file_name, tag_t option_set_tag, int n_options, const char **option_names, const char **option_values, int n_session_options, const char **session_option_names, const char **session_option_values, char **log_file_fmsticket, char **error_file_fmsticket) |
| GMS_API int | GMS_import_objects_from_offline_package_with_new_objects (const char *offline_file_name, tag_t option_set_tag, int n_options, const char **option_names, const char **option_values, int n_session_options, const char **session_option_names, const char **session_option_values, char **log_file_fmsticket, char **error_file_fmsticket, int *n_new_objects, tag_t **new_objects) |
| GMS_API int | GMS_synchronize_site (int replicaSite, int numOfClasses, char **classNames, int numOfObjectHandles, tag_t *objectHandlesList, int *numOfObjectsToExport, tag_t **objectsToExport) |
Import Export functions
Definition in file gms.h.
| GMS_API int GMS_export_objects_to_offline_package | ( | const char * | reason, |
| int | n_objects, | ||
| tag_t * | object_tags, | ||
| int | n_sites, | ||
| tag_t * | sites, | ||
| tag_t | option_set_tag, | ||
| int | n_options, | ||
| const char ** | option_names, | ||
| const char ** | option_values, | ||
| int | n_session_options, | ||
| const char ** | session_option_names, | ||
| const char ** | session_option_values, | ||
| tag_t * | briefcase_dataset_tag, | ||
| char ** | offline_file_name, | ||
| int * | n_export_log_files, | ||
| char *** | export_log_files | ||
| ) |
Exports objects to the briefcase.
n_sites is 0. option_set_tag could not be found | reason | (I) The Reason for export. This can be a null pointer. |
| n_objects | (I) The number of objects to be exported. |
| object_tags | (I) n_objects Objects to be exported. |
| n_sites | (I) The number of sites to which objects are to be exported. |
| sites | (I) n_sites Sites to which objects are to be exported. |
| option_set_tag | (I) The object of type "TransferOptionSet". |
| n_options | (I) The number of transfer options whose values need to different than in "TransferOptionSet". |
| option_names | (I) n_options Options whose values need to different than in "TransferOptionSet". Some of the valid values are:
For the extensive list, please refer to the documentation of the PLM XML Export Import administration tool. |
| option_values | (I) n_options Option values |
| n_session_options | (I) The number of session options |
| session_option_names | (I) n_session_options Session option names Some of the valid values are:
For the extensive list, please refer to the documentation of the PLM XML Export Import administration tool. |
| session_option_values | (I) n_session_options Session option values |
| briefcase_dataset_tag | (O) Tag of the dataset representing exported briefcase. |
| offline_file_name | (OF) File name of the exported briefcase. |
| n_export_log_files | (O) The number of log files |
| export_log_files | (OF) n_export_log_files Log files. |
| GMS_API int GMS_identify_outdated_replica_objects | ( | int | replicasite, |
| int | numOfInputObjects, | ||
| tag_t * | objList, | ||
| int * | numberOfOutdatedObjects, | ||
| tag_t ** | statusObjects | ||
| ) |
This API finds modifed objects given a list of object tags. an object is considered as out-dated : If it is first time to export, no export record exists. If object is modified since last export.
| GMS_API int GMS_import_objects_from_offline_package | ( | const char * | offline_file_name, |
| tag_t | option_set_tag, | ||
| int | n_options, | ||
| const char ** | option_names, | ||
| const char ** | option_values, | ||
| int | n_session_options, | ||
| const char ** | session_option_names, | ||
| const char ** | session_option_values, | ||
| char ** | log_file_fmsticket, | ||
| char ** | error_file_fmsticket | ||
| ) |
| GMS_API int GMS_import_objects_from_offline_package_with_new_objects | ( | const char * | offline_file_name, |
| tag_t | option_set_tag, | ||
| int | n_options, | ||
| const char ** | option_names, | ||
| const char ** | option_values, | ||
| int | n_session_options, | ||
| const char ** | session_option_names, | ||
| const char ** | session_option_values, | ||
| char ** | log_file_fmsticket, | ||
| char ** | error_file_fmsticket, | ||
| int * | n_new_objects, | ||
| tag_t ** | new_objects | ||
| ) |
Imports objects from the Offline Package and retrieves the number of newly created objects as well as their tags.
| offline_file_name | (I) Offline file name |
| option_set_tag | (I) Optionset tag |
| n_options | (I) Number of options |
| option_names | (I) Array of all the option set options names and values as indicated by the user |
| option_values | (I) Option names values |
| n_session_options | (I) Number of session options |
| session_option_names | (I) Array of all the session option names (options which are not part of the option set) and values as indicated by the user |
| session_option_values | (I) Session option values |
| log_file_fmsticket | (OF) Log file fms ticket |
| error_file_fmsticket | (OF) Error file fms ticket |
| n_new_objects | (O) Number of newly created objects |
| new_objects | (OF) n_new_objects Newly created objects |