#define ARCH_REV_MASTER_CLASS_NAME "ArchitectureVersionMaster" |
#define HAS_BASEDON_PREEXIST_ELEMNT "has_basedon_preexist_elemnt" |
#define HAS_HIERARCHICAL_VARIABILTY "has_hierarchical_variabilty" |
typedef struct RDV_goi_optiondata_s RDV_goi_optiondata_t |
typedef struct RDV_option_value_pair_s RDV_option_value_pair_t |
typedef struct RDV_Optiondata_s RDV_Optiondata_t |
RDV_API int ARCH_add_arch_element | ( | tag_t | window, | |
tag_t | parent_bom_line, | |||
tag_t | item, | |||
tag_t * | new_apprpathnode | |||
) |
window | (I) |
parent_bom_line | (I) |
item | (I) |
new_apprpathnode | (O) |
RDV_API int ARCH_add_named_variant_expr | ( | tag_t | arch_rev, | |
char * | code, | |||
char * | description, | |||
tag_t | variant_expression, | |||
logical | ignore_duplicate, | |||
logical | implicit_save, | |||
int * | n_tags_to_save, | |||
tag_t ** | tags_to_save, | |||
tag_t * | newNVETag | |||
) |
RDV_API int ARCH_add_nve_from_formula | ( | tag_t | archrev_or_bomline, | |
char * | code, | |||
char * | description, | |||
const char * | productName, | |||
const char * | productNamespace, | |||
const char * | formula, | |||
logical | ignore_duplicate, | |||
logical | implicit_save, | |||
int * | n_tags_to_save, | |||
tag_t ** | tags_to_save, | |||
tag_t * | newNVETag | |||
) |
RDV_API int ARCH_ask_all_struct_state_parameters | ( | tag_t | arch_tag, | |
logical * | has_consistent_nves, | |||
logical * | has_heirarchical_variability, | |||
logical * | has_partial_breakdown, | |||
logical * | has_shared_nves, | |||
logical * | has_based_on_preexist_elements | |||
) |
arch_tag | (I) |
has_consistent_nves | (O) |
has_heirarchical_variability | (O) |
has_partial_breakdown | (O) |
has_shared_nves | (O) |
has_based_on_preexist_elements | (O) |
RDV_API int ARCH_ask_gcid | ( | tag_t | arch_item, | |
char | gcid[ARCH_gcid_size_c+1] | |||
) |
arch_item | (I) |
gcid | (O) |
RDV_API int ARCH_ask_gcid2 | ( | tag_t | arch_item, | |
char ** | gcid | |||
) |
arch_item | (I) |
gcid | (OF) |
RDV_API int ARCH_ask_named_variant_exprs | ( | tag_t | arch, | |
int * | no_of_nves, | |||
tag_t ** | named_variant_expressions | |||
) |
arch | (I) |
no_of_nves | (O) |
named_variant_expressions | (O) |
RDV_API int ARCH_ask_usages_of_arch_apn | ( | tag_t | arch_apn, | |
tag_t | top_arch_rev, | |||
int * | n_usages, | |||
tag_t ** | usage_apns | |||
) |
arch_apn | (I) |
top_arch_rev | (I) |
n_usages | (O) |
usage_apns | (OF) n_usages |
RDV_API int ARCH_clear_auditreport | ( | tag_t | report_tag | ) |
RDV_API int ARCH_closeTargetWindow | ( | tag_t | report_tag | ) |
RDV_API int ARCH_create_arch | ( | const char * | id, | |
const char * | revId, | |||
const char * | type, | |||
const char * | name, | |||
const char * | gcid, | |||
const char * | desc, | |||
tag_t * | newArch, | |||
tag_t * | newArchRev | |||
) |
id | (I) |
revId | (I) |
type | (I) |
name | (I) |
gcid | (I) |
desc | (I) |
newArch | (O) |
newArchRev | (O) |
RDV_API int ARCH_create_arch_with_struct_info | ( | const char * | id, | |
const char * | rev_id, | |||
const char * | type, | |||
const char * | name, | |||
const char * | gc_id, | |||
const char * | desc, | |||
logical | has_consistent_nves, | |||
logical | has_heirarchical_variability, | |||
logical | has_partial_breakdown, | |||
logical | has_shared_nves, | |||
tag_t * | new_arch, | |||
tag_t * | rev | |||
) |
id | (I) |
rev_id | (I) |
type | (I) |
name | (I) |
gc_id | (I) |
desc | (I) |
has_consistent_nves | (I) |
has_heirarchical_variability | (I) |
has_partial_breakdown | (I) |
has_shared_nves | (I) |
new_arch | (O) |
rev | (O) |
RDV_API int ARCH_create_generic_object | ( | const char * | id, | |
const char * | rev_id, | |||
const char * | type, | |||
const char * | name, | |||
const char * | gc_id, | |||
const char * | desc, | |||
logical | has_consistent_nves, | |||
logical | has_heirarchical_variability, | |||
logical | has_partial_breakdown, | |||
logical | has_shared_nves, | |||
logical | has_based_on_preexist_elements, | |||
tag_t | instantiating_arch, | |||
tag_t * | new_go, | |||
tag_t * | rev | |||
) |
id | (I) |
rev_id | (I) |
type | (I) |
name | (I) |
gc_id | (I) |
desc | (I) |
has_consistent_nves | (I) |
has_heirarchical_variability | (I) |
has_partial_breakdown | (I) |
has_shared_nves | (I) |
has_based_on_preexist_elements | (I) |
instantiating_arch | (I) |
new_go | (O) |
rev | (O) |
RDV_API int ARCH_create_generic_object2 | ( | const char * | item_type, | |
int | numAttrs, | |||
char ** | attrNames, | |||
char ** | attrValues, | |||
const char * | rev_id, | |||
tag_t | instantiating_arch, | |||
tag_t * | item, | |||
tag_t * | rev | |||
) |
This function allows creating an Arch type item with the given input arguments which includes attribute names and their values. Below are the attribute names which are passed to ARCH_create_generic_object2 "item_id" "object_name" "generic_component_id" "object_desc" "has_consistent_nves" "has_hierarchical_variabilty" "is_partial_breakdown" "has_shared_nves" "has_basedon_preexist_elemnt"
item_type | (I) Type of Item to be created |
numAttrs | (I) Number of input attributes |
attrNames | (I) Names of input attributes |
attrValues | (I) Values for the input attributes |
rev_id | (I) Id for the revision |
instantiating_arch | (I) tag of instantiating_arch ,NULL is allowed |
item | (O) The created item tag |
rev | (O) The created item revision tag |
RDV_API int ARCH_create_rev | ( | const char * | item_id, | |
const char * | revid, | |||
tag_t * | rev | |||
) |
DEPRECATED FUNCTION
item_id | (I) |
revid | (I) |
rev | (O) |
apn | (I) |
count | (O) |
itemrev_tags | (OF) count |
RDV_API int ARCH_find_arch | ( | const char * | gc_id, | |
const char * | type, | |||
int * | count, | |||
tag_t ** | tags | |||
) |
gc_id | (I) |
type | (I) |
count | (O) |
tags | (OF) count |
arch_tag | (I) |
topItem | (I) |
count | (O) |
apn | (OF) count |
RDV_API int ARCH_find_create_qualified_appgrp | ( | tag_t | appgrp, | |
tag_t | top_arch_rev, | |||
tag_t * | new_appgrp | |||
) |
appgrp | (I) |
top_arch_rev | (I) |
RDV_API int ARCH_find_named_variant_expr | ( | tag_t | arch_rev, | |
const char * | code, | |||
const char * | desc, | |||
int | n_options, | |||
const tag_t * | options, | |||
int | n_values, | |||
const int * | opcodes, | |||
const char ** | values, | |||
int * | n_found_nves, | |||
tag_t ** | found_nves | |||
) |
Finds named variant expressions by code and/or description and/or variants and/or expression literals
n_options = 4; options[0] = opt1; options[1] = opt2; options[2] = opt3; options[3] = opt4; n_values = 3; opcodes[0] = 1005; opcodes[1] = -1; opcodes[2] = 1006; values[0] = "0"; values[1] = NULL; values[2] = "1";
is the same as calling it with
n_options = 4; options[0] = opt1; options[1] = opt3; options[2] = opt2; options[3] = opt4; n_values = 2; opcodes[0] = 1005; opcodes[1] = 1006; values[0] = "0"; values[1] = "1";
In both cases the function will return all named variant conditions on arch_item that
arch_rev | (I) |
code | (I) |
desc | (I) |
n_options | (I) |
options | (I) |
n_values | (I) |
opcodes | (I) |
values | (I) |
n_found_nves | (O) |
found_nves | (OF) n_found_nves |
RDV_API int ARCH_find_qualified_appgrp | ( | tag_t | apn_tag, | |
tag_t | top_arch_rev, | |||
logical * | is_shared, | |||
tag_t * | appgrp | |||
) |
apn_tag | (I) |
top_arch_rev | (I) |
is_shared | (O) |
RDV_API int ARCH_get_associated_data | ( | tag_t | arch_item, | |
tag_t | top_item, | |||
int * | node_count, | |||
tag_t ** | nodes, | |||
int * | ia_count, | |||
tag_t ** | iaRevs, | |||
int * | no_of_nves, | |||
tag_t ** | nve_tags | |||
) |
arch_item | (I) |
top_item | (I) |
node_count | (O) |
nodes | (OF) node_count |
ia_count | (O) |
iaRevs | (OF) ia_count |
no_of_nves | (O) |
nve_tags | (OF) no_of_nves |
RDV_API int ARCH_get_nve_count | ( | tag_t | arch_rev, | |
const char * | code, | |||
const char * | desc, | |||
int | n_options, | |||
const tag_t * | options, | |||
int | n_values, | |||
const int * | opcodes, | |||
const char ** | values, | |||
int * | n_found_nves | |||
) |
apn | (I) |
top_line_bvr | (I) |
nve_count | (O) |
nves | (OF) nve_count |
RDV_API int ARCH_get_options_optionvalues_for_goi | ( | int * | n_items, | |
RDV_Optiondata_t ** | goi_optiondata | |||
) |
RDV_API int ARCH_getAuditData | ( | tag_t | pReport, | |
tag_t | auditedLineTag, | |||
tag_t * | bom_line, | |||
int * | n_occurrences, | |||
tag_t ** | occurrences, | |||
int ** | occmatch_types, | |||
int ** | occmatch_info, | |||
char ** | occ_nve_desc, | |||
char ** | occ_pnum_desc, | |||
char ** | occ_qty_desc, | |||
int * | overall_match_info, | |||
char ** | nve_match_desc, | |||
char ** | pnum_match_desc, | |||
char ** | qty_match_desc, | |||
char ** | audit_line_summary, | |||
char ** | audit_score | |||
) |
RDV_API int ARCH_getAuditedLines | ( | int | n_nodes, | |
tag_t * | nodes, | |||
tag_t | rev_rule_tag, | |||
tag_t | var_rule_tag, | |||
int * | noOfAuditedLines, | |||
tag_t ** | targetAuditedLineTags | |||
) |
RDV_API int ARCH_getDesignAuditData | ( | tag_t | pReport, | |
tag_t | auditedLineTag, | |||
tag_t * | bom_line, | |||
int * | n_occurrences, | |||
tag_t ** | occurrences, | |||
int ** | occmatch_types, | |||
int ** | occmatch_info, | |||
char ** | occ_nve_desc, | |||
char ** | occ_pnum_desc, | |||
char ** | occ_qty_desc, | |||
int * | overall_match_info, | |||
char ** | nve_match_desc, | |||
char ** | pnum_match_desc, | |||
char ** | qty_match_desc, | |||
char ** | audit_line_summary, | |||
char ** | audit_score | |||
) |
arch_tag | (I) |
has_consistent_nves | (O) |
RDV_API int ARCH_has_heirarchical_variability | ( | tag_t | arch_tag, | |
logical * | has_heirarchical_variability | |||
) |
arch_tag | (I) |
has_heirarchical_variability | (O) |
arch_tag | (I) |
has_partial_breakdown | (O) |
RDV_API int ARCH_has_preexist_break_elemnts | ( | tag_t | arch_tag, | |
logical * | has_preexist_break_elemnts | |||
) |
arch_tag | (I) |
has_preexist_break_elemnts | (O) |
arch_tag | (I) |
has_shared_nve | (O) |
arch_tag | (I) |
isArch | (O) |
arch_tag | (I) |
is_generic_object | (O) |
targetItem | < (I) Tag of an existing Generic Object> |
processChildren | < (I) Tag of target for paste action> < (I) Determine whether to include children in paste> |
RDV_API int ARCH_paste_bomline | ( | tag_t | selectedSourceBOMline, | |
tag_t | targetBOMLineToBeUsed, | |||
tag_t | sourceBOMLineToBeUsed, | |||
int | noOfSourceParentBOMLines, | |||
tag_t * | sourceParentBomlines, | |||
logical | processParents, | |||
logical | processChildren | |||
) |
selectedSourceBOMline | (I) Tag of bomline of an existing Generic Object |
targetBOMLineToBeUsed | (I) Tag of bomline of target for paste action |
sourceBOMLineToBeUsed | (I) Tag of bomline to use in copy/paste |
noOfSourceParentBOMLines | (I) number of parent bomlines |
sourceParentBomlines | (I) Array of parent bomlines of selectedSourceBOMline |
processParents | (I) Determine whether to include parents in paste |
processChildren | (I) Determine whether to include children in paste |
RDV_API int ARCH_rev_ask_product_items | ( | tag_t | arch_rev, | |
int * | n_product_items, | |||
tag_t ** | product_items | |||
) |
arch_rev | (I) |
n_product_items | (O) |
product_items | (OF) n_product_items |
RDV_API int ARCH_revise_arch | ( | tag_t | revTag, | |
const char * | revisionId, | |||
const char * | name, | |||
const char * | description, | |||
logical | deepCopyRequired, | |||
int | count, | |||
const ITEM_deepcopy_info_t * | CopyInfo, | |||
int * | deepCopiedCount, | |||
tag_t ** | deepCopiedTags, | |||
tag_t ** | deepCopiedTypeTags, | |||
tag_t * | newRevTag, | |||
tag_t * | itemRevType | |||
) |
RDV_API int ARCH_save_as | ( | tag_t | sourceItem, | |
tag_t | sourceItemRevision, | |||
const char * | new_item_id, | |||
const char * | new_item_rev, | |||
const char * | gcid, | |||
const char * | name, | |||
const char * | description, | |||
tag_t * | newItem | |||
) |
sourceItem | (I) Tag of an existing Generic Object Item |
sourceItemRevision | (I) Tag of revision to use, if null use the latest rev |
new_item_id | (I) A null is allowed |
new_item_rev | (I) A null is allowed |
gcid | (I) A null is allowed |
name | (I) A null is allowed |
description | (I) A null is allowed |
newItem | (O) Tag for identifying the new Generic Object |
RDV_API int ARCH_save_as_arch | ( | tag_t | rev_tag, | |
const char * | id, | |||
const char * | revId, | |||
const char * | type, | |||
const char * | name, | |||
const char * | gcid, | |||
const char * | desc, | |||
tag_t * | newArch, | |||
tag_t * | newArchRev | |||
) |
RDV_API int ARCH_save_as_rev | ( | const char * | item_id, | |
const char * | revid, | |||
const char * | gcId, | |||
const char * | itemType, | |||
tag_t * | rev | |||
) |
RDV_API int ARCH_set_all_struct_state_parameters | ( | tag_t | arch_tag, | |
logical | has_consistent_nves, | |||
logical | has_heirarchical_variability, | |||
logical | has_partial_breakdown, | |||
logical | has_shared_nves, | |||
logical | has_based_on_preexist_elements | |||
) |
arch_tag | (I) |
has_consistent_nves | (I) |
has_heirarchical_variability | (I) |
has_partial_breakdown | (I) |
has_shared_nves | (I) |
has_based_on_preexist_elements | (I) |
arch_tag | (I) |
set_consistent_nves | (I) |
RDV_API int ARCH_set_gcid | ( | tag_t | arch_item, | |
const char * | gcid | |||
) |
arch_item | (I) |
gcid | (I) |
RDV_API int ARCH_set_heirarchical_variability | ( | tag_t | arch_tag, | |
logical | set_heirarchical_variability | |||
) |
arch_tag | (I) |
set_heirarchical_variability | (I) |
arch_tag | (I) |
set_partial_breakdown | (I) |
arch_tag | (I) |
set_shared_nves | (I) |
RDV_API int RDV_add_part_solution_to_ABEorGBE | ( | tag_t | component, | |
tag_t | abe, | |||
int | prodRevCount, | |||
tag_t * | prodRevTags, | |||
tag_t | abeApnTag, | |||
int | n_authNVEs, | |||
tag_t * | authNVEs, | |||
int | quantity, | |||
int | n_noteTexts, | |||
char ** | noteTypes, | |||
char ** | noteTexts, | |||
tag_t * | partSolutionAPN | |||
) |
RDV_API int RDV_create_svr | ( | tag_t | drule, | |
const char * | name, | |||
const char * | description, | |||
int | nOptions, | |||
tag_t * | variants, | |||
const char ** | values, | |||
tag_t | itemRev, | |||
const char * | relationType, | |||
tag_t * | vrule | |||
) |
RDV_API int RDV_get_go_part_solutions | ( | tag_t | go_bomline, | |
int * | lou_num, | |||
tag_t ** | lou_bomline_tags, | |||
tag_t * | bom_window_tag | |||
) |
RDV_API int RDV_get_lou_bomline | ( | tag_t | bomwindow, | |
tag_t | top_rev_tag, | |||
char * | gc_id, | |||
logical | is_arch, | |||
int * | num_part, | |||
tag_t ** | part_bomline_list | |||
) |