ITK Function Reference

(V10000.1.0.60_20160308.00)
Data Structures | Macros | Typedefs | Functions
arch.h File Reference
#include <unidefs.h>
#include <tccore/item.h>
#include <rdv/librdv_exports.h>
#include <rdv/librdv_undef.h>

Go to the source code of this file.

Data Structures

struct  RDV_goi_optiondata_s
 
struct  RDV_option_value_pair_s
 
struct  RDV_Optiondata_s
 

Macros

#define ARCH_CLASS_NAME   "Architecture"
 
#define ARCH_gcid_size_c   132
 
#define ARCH_MASTER_CLASS_NAME   "ArchitectureMaster"
 
#define ARCH_REV_CLASS_NAME   "ArchitectureRevision"
 
#define ARCH_REV_MASTER_CLASS_NAME   "ArchitectureVersionMaster"
 
#define ARCH_REV_TYPE_NAME   ARCH_REV_CLASS_NAME
 
#define ARCH_TYPE_NAME   ARCH_CLASS_NAME
 
#define ArchClassName   ARCH_CLASS_NAME
 
#define ArchRevisionClassName   ARCH_REV_CLASS_NAME
 
#define GENERIC_COMPONENT_ID   "generic_component_id"
 
#define HAS_BASEDON_PREEXIST_ELEMNT   "has_basedon_preexist_elemnt"
 
#define HAS_CONSISTENT_NVES   "has_consistent_nves"
 
#define HAS_HIERARCHICAL_VARIABILTY   "has_hierarchical_variabilty"
 
#define HAS_SHARED_NVES   "has_shared_nves"
 
#define IS_PARTIAL_BREAKDOWN   "is_partial_breakdown"
 
#define ITEM_ID   "item_id"
 
#define OBJECT_DESC   "object_desc"
 
#define OBJECT_NAME   "object_name"
 
#define TC_GENERIC_ARCHITECTURE   "TC_Generic_Architecture"
 
#define TC_INSTANTIATION   "TC_Instantiation"
 

Typedefs

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
 

Functions

RDV_API int ARCH_add_arch_element (tag_t window, tag_t parent_bom_line, tag_t item, tag_t *new_apprpathnode)
 
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)
 
RDV_API int ARCH_ask_gcid (tag_t arch_item, char gcid[ARCH_gcid_size_c+1])
 
RDV_API int ARCH_ask_gcid2 (tag_t arch_item, char **gcid)
 
RDV_API int ARCH_ask_named_variant_exprs (tag_t arch, int *no_of_nves, tag_t **named_variant_expressions)
 
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)
 
RDV_API int ARCH_ask_veb (tag_t arch_item, tag_t *veb)
 
RDV_API int ARCH_carry_over_defs_and_rulechecks (tag_t source_topline, tag_t tgt_topline)
 
RDV_API int ARCH_carry_over_nves (tag_t src_bomline_tag, tag_t tgt_bomline_tag)
 
RDV_API int ARCH_carry_over_partsols (tag_t src_bomline_tag, tag_t tgt_bomline_tag)
 
RDV_API int ARCH_carry_over_variability (tag_t src_bomline_tag, tag_t tgt_bomline_tag)
 
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)
 
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)
 
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)
 
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)
 
RDV_API int ARCH_create_rev (const char *item_id, const char *revid, tag_t *rev)
 
RDV_API int ARCH_deep_copy_arch (tag_t tgt_bomline_tag, tag_t src_bomline_tag, int flag_value)
 
RDV_API int ARCH_determine_installation_assy (tag_t apn, int *count, tag_t **itemrev_tags)
 
RDV_API int ARCH_find_arch (const char *gc_id, const char *type, int *count, tag_t **tags)
 
RDV_API int ARCH_find_arch_apn (tag_t arch_tag, tag_t topItem, int *count, tag_t **apn)
 
RDV_API int ARCH_find_create_qualified_appgrp (tag_t appgrp, tag_t top_arch_rev, tag_t *new_appgrp)
 
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)
 
RDV_API int ARCH_find_qualified_appgrp (tag_t apn_tag, tag_t top_arch_rev, logical *is_shared, tag_t *appgrp)
 
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)
 
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)
 
RDV_API int ARCH_get_nves (tag_t apn, tag_t top_line_bvr, int *nve_count, tag_t **nves)
 
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)
 
RDV_API int ARCH_has_consistent_nves (tag_t arch_tag, logical *has_consistent_nves)
 
RDV_API int ARCH_has_heirarchical_variability (tag_t arch_tag, logical *has_heirarchical_variability)
 
RDV_API int ARCH_has_partial_breakdown (tag_t arch_tag, logical *has_partial_breakdown)
 
RDV_API int ARCH_has_preexist_break_elemnts (tag_t arch_tag, logical *has_preexist_break_elemnts)
 
RDV_API int ARCH_has_shared_nves (tag_t arch_tag, logical *has_shared_nve)
 
RDV_API int ARCH_is_architecture (tag_t arch_tag, logical *isArch)
 
RDV_API int ARCH_is_generic_object (tag_t arch_tag, logical *is_generic_object)
 
RDV_API int ARCH_is_toplevel (tag_t arch_tag, logical *isTop)
 
RDV_API int ARCH_paste (tag_t selectedSourceItem, tag_t targetItem, logical processChildren)
 
RDV_API int ARCH_paste_bomline (tag_t selectedSourceBOMline, tag_t targetBOMLineToBeUsed, tag_t sourceBOMLineToBeUsed, int noOfSourceParentBOMLines, tag_t *sourceParentBomlines, logical processParents, logical processChildren)
 
RDV_API int ARCH_rev_ask_product_items (tag_t arch_rev, int *n_product_items, tag_t **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)
 
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)
 
RDV_API int ARCH_set_consistent_nves (tag_t arch_tag, logical set_consistent_nves)
 
RDV_API int ARCH_set_gcid (tag_t arch_item, const char *gcid)
 
RDV_API int ARCH_set_heirarchical_variability (tag_t arch_tag, logical set_heirarchical_variability)
 
RDV_API int ARCH_set_partial_breakdown (tag_t arch_tag, logical set_partial_breakdown)
 
RDV_API int ARCH_set_shared_nves (tag_t arch_tag, logical set_shared_nves)
 
RDV_API int ARCH_set_veb (tag_t arch_item, tag_t veb)
 
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_find_abe_in_ab_assem (tag_t bom_win_tag, char *gc_id, logical *valid_abe)
 
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)
 

Detailed Description

Architecture function prototypes

Definition in file arch.h.