15 #ifndef ICS2_H_INCLUDED
16 #define ICS2_H_INCLUDED
43 #define ICS_SEARCH_THIS_CLASS_ONLY ( 1 << 0 )
49 #define ICS_SEARCH_CASE_INSENSITIVE ( 1 << 1 )
58 #define ICS_SEARCH_ORDER_BY_ID ( 1 << 2 )
65 #define ICS_SEARCH_IN_BOTH_UNIT_SYSTEMS ( 1 << 3 )
71 #define ICS_SEARCH_IN_OTHER_UNIT_SYSTEM ( 1 << 4 )
75 #define ICS_ICO_IGNORE_WRITE_PROTECTION_ERRORS ( 1 << 0 )
77 #define ICS_MAX_CLASS_ATTR_SIZE 10
79 #define ICS_DBL_STR_SIZE 64
238 #define ICS_REFATTR_INHERITED 1
244 #define ICS_REFATTR_CLASS_LOCAL 2
249 #define ICS_REFATTR_CLASSIFIED_OBJECT 1
254 #define ICS_REFATTR_MASTERFORM 2
259 #define ICS_REFATTR_RELATED_OBJECT 3
264 #define ICS_REFATTR_ICO 4
270 #define ICS_REFATTR_ITEM_ATTR 1
274 #define ICS_REFATTR_PROPERTY ( 1 << 1 )
279 #define ICS_SUBCLASSES_TO_STORAGE_CLASSES ( 1 )
284 #define ICS_IGNORE_UNREADABLE_CHILDREN ( 1 << 1 )
289 #define ICS_COPY_INHERITED_ATTRIBUTES ( 1 << 2 )
294 #define ICS_DRY_RUN ( 1 << 3 )
299 #define ICS_COPY_THIS_CLASS_ONLY ( 1 << 4 )
301 #define ICS_SHARED_IS_ERROR ( 1 << 5 )
306 #define ICS_ADD_ATTRBIUTES_FROM_PARENT ( 1 << 6 )
309 #define ICS_DEFAULT_VIEW "defaultView"
314 #define ICS_IGNORE_MAPPING_ERRORS ( 1 )
321 #define ICS_ADD_ATTRIBUTE_MOVE_UP ( 1 << 0 )
323 #define ICS_CLASS_USE_VIEW_IMAGE ( 1 << 0 )
325 #include <ics/libics_exports.h>
358 const char* theClassId
365 const char* theClassId,
366 const char* theParentId,
391 const char* theClassId
399 const char* theClassId
407 const char* theClassId
414 const char* theClassId
423 const char* theClassId,
424 const char* thePropertyName,
428 const char* thePropertyValue
435 const char* theClassId,
436 const char* thePropertyName,
439 char** thePropertyValue
449 const char* theClassId,
450 const char* theSharedSite,
464 const char* theClassId,
466 char*** theSharedSites
478 const char* theClassId,
480 const char** theLanguages,
481 const char** theAliasNames
491 const char* theClassId,
492 const char* theLanguage,
493 const char* theAliasName
502 const char* theClassId,
504 char** *theLanguages,
505 char** *theAliasNames
513 const char* theClassId,
514 const char* theDocumentType,
517 const char* theFileName
524 const char* theClassId,
525 const char* theDocumentType,
526 const char* theOutputDirectory,
527 logical overwriteExistingFiles,
533 const char* theClassId,
534 const char* theDocumentType,
544 const char* theClassId,
545 int* theDocumentCount,
546 char*** theDocumentTypes,
547 tag_t** theDocumentTags
554 const char* theClassId,
555 const char* theDocumentType
563 const char* theClassId,
586 const char* theClassId,
587 int* theAttributeCount,
588 tag_t** theAttributeTags,
589 int** theAttributeIds
598 const char* theClassId,
612 const char* theClassId,
614 const char* thePropertyName,
620 const char* thePropertyValue
627 const char* theClassId,
629 const char* thePropertyName,
632 char** thePropertyValue
686 int **theInstancesCounts,
687 int **theChildCounts,
689 int **theSubClassCounts
697 const char* theClassId,
707 const char* theClassId,
711 tag_t** theParentTags,
723 const char* theClassId,
724 int theChildTypeFilter,
742 const char* theClassId,
743 int theChildTypeFilter,
748 tag_t** theChildrenTags,
749 char*** theChildrenIds,
750 char*** theChildrenTypes,
755 char*** theChildrenNames,
756 int** theInstanceCounts,
757 int** theChildrenCounts,
772 int theChildTypeFilter,
775 char* **theChildrenUid,
776 char* **theChildrenIds,
777 char* **theChildrenTypes,
778 char* **theChildrenNames,
779 int **theInstanceCounts,
780 int **theChildrenCounts,
795 const char* theClassId,
796 int theChildTypeFilter,
807 tag_t** theChildrenTags,
808 char*** theChildrenIds,
809 char*** theChildrenTypes,
814 char*** theChildrenNames,
815 int** theInstanceCounts,
816 int** theChildrenCounts,
818 char*** theIconImageTickets,
819 char*** theClassImageTickets
829 const char* theClassId,
834 char** theDescription,
838 int* theInstanceCount,
839 int* theChildrenCount,
848 const char* theClassId,
852 char*** theShortNames,
853 char*** theAnnotations,
858 char*** theMinValues,
859 char*** theMaxValues,
860 char*** theDefaultValues,
861 char*** theDescriptions,
880 int** nonMetricFormats,
881 char*** attributeIds,
882 char*** attributeNames,
885 char*** configBefore,
891 char*** nonMetricMin,
892 char*** nonMetricMax,
893 char*** metricDefaultValue,
894 char*** nonMetricDefaultValue
905 const char* theClassId,
917 const char* theClassId,
919 int theExpressionCount,
921 char** theAttrExpressions,
937 const char* theClassId,
938 const char* theAncestor,
962 unsigned int theCount,
963 const tag_t* theClasses,
973 const char* theClassId,
988 const char *theClassId,
996 int theReferenceState,
1002 int theReferenceAttributeType,
1023 const char *theClassName,
1042 const char *theAttrName,
1064 const char *theRelationName
1078 const char **theClassId,
1084 int *theReferenceAttributeState,
1093 int *theReferenceAttributeType,
1114 char **theClassName,
1153 char **theRelationName
1184 const char *theClass,
1185 const char *theNewCidIn,
1186 const char *theNewParent,
1200 int theChildCountIn,
1201 const char **theOldIDsIn,
1203 const char **theNewIDsIn,
1205 char **theNewCidOut,
1206 int *theChildCountOut,
1207 char ***theOldIDsOut,
1209 char ***theNewIDsOut
1232 const char* theNewParent,
1233 int *theFailedCount,
1234 char** *theFailedObjects
1261 const char **theSites,
1282 char* **dependency_attributes,
1284 char* **dependency_configurations
1298 const char* class_id,
1301 char* **dependency_attributes,
1302 char* **dependency_configurations
1335 const char* theClassId,
1336 const char* theViewId
1343 const char* theClassId,
1344 const char* theViewId,
1354 const char* theName,
1365 const char* theClassId,
1366 const char* theViewId
1374 const char* theClassId,
1375 const char* theViewId
1383 const char* theClassId,
1384 const char* theViewId
1391 const char* theClassId,
1392 const char* theViewId
1402 const char* theClassId,
1403 const char* theViewId,
1404 const char* thePropertyName,
1406 const char* thePropertyValue
1413 const char* theClassId,
1414 const char* theViewId,
1415 const char* thePropertyName,
1418 char** thePropertyValue
1429 const char* theClassId,
1430 const char* theViewId,
1431 const char* theSharedSite,
1444 const char* theClassId,
1445 const char* theViewId,
1447 char*** theSharedSites
1452 const char* theClassId,
1453 const char* theViewId,
1459 const char* theClassId,
1460 const char* theViewId,
1472 const char* theClassId,
1473 const char* theViewId,
1475 const char* thePropertyName,
1478 const char* thePropertyValue
1485 const char* theClassId,
1486 const char* theViewId,
1488 const char* thePropertyName,
1491 char** thePropertyValue
1500 const char* theClassId,
1501 const char* theViewId,
1502 int* theAttributeCount,
1503 int** theAttributeIds
1559 const char* theClassId,
1560 const char* theViewId,
1561 const char* theUnitSystem,
1566 ICS_view_descriptor_p_t *theViewDescriptor
1574 ICS_view_descriptor_p_t theViewDescriptor
1593 const char* theViewId,
1605 const char* theViewId,
1606 int* theDocumentCount,
1607 char*** theDocumentTypes,
1608 tag_t** theDocumentTags
1616 const char* theViewId,
1617 const char* theDocumentType,
1620 const char* theFileName
1627 const char* theViewId,
1628 const char* theDocumentType,
1629 const char* theOutputDirectory,
1630 logical overwriteExistingFiles,
1632 char*** theFileNames
1639 const char* theViewId,
1640 const char* theDocumentType
1665 char* **theClassIds,
1668 int **theInstanceCounts
1675 const char *theClass,
1676 const char *theView,
1677 const char *theNewParent,
1678 const char *theNewId,
1710 const char* theICOId,
1711 tag_t theClassifiedObjectTag,
1712 const char* theClassId,
1713 int theAttributeCount,
1714 int* theAttributeId,
1715 const char** theAttributeValues,
1720 const char* theICOId,
1721 tag_t theClassifiedObjectTag,
1722 const char* theClassId,
1723 int theAttributeCount,
1724 int* theAttributeId,
1725 int* theAttributeValCounts,
1726 const char*** theAttributeValues,
1749 const char* theICOId,
1750 tag_t theClassifiedObjectTag,
1783 char*** theClassIds,
1818 tag_t* theClassifiedObject
1846 int theAttributeCount,
1847 int* theAttributeIds,
1848 int** theAttributeValCounts,
1849 char**** theAttributeValues
1857 int theAttributeCount,
1858 int* theAttributeIds,
1859 int* theAttributeValCounts,
1860 const char*** theAttributeValues
1870 int* theAttributeCount,
1871 int** theAttributeIds,
1872 int** theAttributeValCounts,
1873 char**** theAttributeValues
1884 int *theAttributeCount,
1885 int* *theAttributeIds,
1886 char** *theAttributeNames,
1887 int* *theAttributeValCounts,
1888 char*** *theAttributeOptimizedValues,
1889 char*** *theAttributeOptimizedUnits
1897 int* theAttributeCount,
1898 int** theAttributeIds,
1899 int** theAttributeValCounts,
1900 char**** theAttributeValues
1907 int theAttributeCount,
1908 int* theAttributeIds,
1909 int* theAttributeValCounts,
1910 char*** theAttributeValues
1926 int **theValueCounts
1942 int **theValueCounts,
1943 char* **theDisplayValues
1950 const tag_t *theICOTags,
1951 const char *theNewClass,
1953 tag_t **theUnsuccessfulICOTags,
1954 int **theErrorCodes,
1955 char ***theErrorMessages
1980 extern ICS_API
int ICS_ico_map( tag_t theSourceICOTag,
1981 char * theTargetItemID,
1982 char * theTargetItemName,
1983 char * theTargetItemTypeName,
1984 char * theTargetItemRevID,
1985 char * theTargetItemDescription,
1986 char * theTargetClassID,
1988 tag_t * theNewICOTag
1995 int theMappingViewType,
1996 int * theSourceClassCount,
1997 char *** theSourceClassIDs,
1998 char *** theSourceClassNames
2005 int theMappingViewType,
2006 int * theTargetClassCount,
2007 char *** theTargetClassIDs,
2008 char *** theTargetClassNames
2016 char * theTargetClassID,
2017 int theMappingViewType,
2018 int theAttributeCount,
2019 int * theAttributeIds,
2020 char ** theAttributeMappings
2028 char * theTargetClassID,
2029 int theMappingViewType,
2030 int * theAttributeCount,
2031 int ** theAttributeIds,
2032 char *** theAttributeMappings
2039 char * theTargetClassID,
2040 int theMappingViewType
2055 const char* theClassId,
2058 char** theAttrValues,
2067 const char* theICOId,
2069 tag_t* *theTagsWhereUsed
2095 const char* theAttrName,
2121 const char* thePropertyName,
2133 const char* thePropertyValue
2141 const char* thePropertyName,
2147 char** thePropertyValue
2156 char*** theSharedSites
2199 int theReferenceAttributeType,
2220 const char *theClassName,
2240 const char *theAttrName,
2262 const char *theRelationName
2278 int *theReferenceAttributeType,
2298 char **theClassName,
2337 char **theRelationName
2376 const char* theInputValue,
2377 const char* theOutputUnit,
2378 int theOutputAttributeFormat,
2379 char** theOutputValue
2401 const char* theKeyLOVId,
2405 const char* theKeyLOVName,
2420 const char *theKeyLOVName,
2432 const char* theKeyLOVId
2439 const char* theKeyLOVId,
2440 const char* theInsertKey,
2452 const char* theKeyLOVId,
2464 const char* theKeyLOVId,
2481 const char* theKeyLOVId,
2482 char** theKeyLOVName,
2487 char** theOwningSite,
2488 int* theSharedSiteCount,
2489 char*** theSharedSites
2496 const char* theKeyLOVId,
2498 char*** theSharedSites
2506 const char* theKeyLOVId,
2515 const char* theKeyLOVId,
2551 int n_lov_value_keys,
2552 char **lov_value_keys,
2562 char **key_lov_name,
2569 int *n_shared_sites,
2570 char ***shared_sites
2578 const char *lov_value_key,
2588 const int theAttributeId,
2597 int *theAttributeCount,
2598 int **theAttributeIds
2606 int* theAttributeIds,
2608 int* theAttributeValCount,
2609 char*** theAttributeValues,
2610 char** localization_statuses,
2619 const int theAttributeId,
2621 int* theAttributeValCount,
2622 char*** theAttributeValues,
2623 char** localization_statuses,
2681 const char *theICOid,
2682 const char *theClassId,
2683 const char *theViewId,
2684 const int theUnitSystem,
2687 const int theAttributeCount,
2688 const int *theAttributeIds,
2689 const int *theAttrValueCounts,
2690 const char ***theAttributeValues,
2691 const int *theAttributeLengths,
2692 const char **theAttributeUnits,
2693 const int *theAttributeFlags,
2694 const logical *theModifiedFlag,
2695 int *theAutoComputedCount,
2696 int **theAutoComputedIds,
2697 int **theAutoComputedValueCounts,
2698 char ****theAutoComputedValues,
2699 int **theAutoComputedLengths,
2700 char ***theAutoComputedUnits,
2701 int **theAutoComputedFlags
2710 const char *class_id,
2711 const char *view_id,
2722 const int theAttributeId,
2723 const int theAttrValueCount,
2724 const char **theAttributeValues,
2732 const int theAttributeId,
2733 const char *theAttributeValue,
2742 const int theAttributeId,
2743 const int thePropType,
2751 const int attributeId,
2762 const int attributeId,
2774 const int theAttributeId,
2783 tag_t theInstanceTag,
2784 const char *thePrivilegeName,
2792 const char *theClassId,
2797 logical theChildrenOnlyOption,
2801 int *theFailedObjectsCount,
2802 char* *theFailedObjects
2833 int theNumSearchStrings,
2834 const char* *theSearchStrings,
2839 char* **theParentCIDs,
2841 int **theInstancesCounts,
2842 int **theChildCounts,
2843 char* **theLibraries
2872 const char* *theChildCIDs,
2873 int *theParentCount,
2874 tag_t **theParentTags,
2875 char* **theParentTypes,
2877 char* **theParentCIDs,
2879 int **theInstancesCounts,
2880 int **theChildCounts
2905 const char* class_id,
2907 const char* selected_value,
2909 const int* ui_attr_ids,
2910 const char** ui_attr_values,
2911 int *changed_attr_count,
2912 ICS_keylov_descriptor_p_t **changed_keylovs
2934 int class_ids_count,
2935 const char **class_ids,
2936 int *attribute_count,
2937 int **attribute_ids,
2938 int **attribute_metric_formats,
2943 int **attribute_non_metric_formats,
2944 char ***attribute_names
2960 int *attribute_count,
2961 int **attribute_ids,
2962 int **attribute_metric_formats,
2967 int **attribute_non_metric_formats,
2968 char ***attribute_names,
2970 char ***attribute_metric_units,
2972 char ***attribute_non_metric_units
2985 const tag_t theWSOTag,
2986 tag_t *theDependentClassifiedWSO
2995 #include <ics/libics_undef.h>