#define COLLABCTX_CCObject_class_name_c "CCObject" |
Definition at line 30 of file collabctx.h.
#define COLLABCTX_ccobject_type_name_c "CCObject" |
Definition at line 47 of file collabctx.h.
#define COLLABCTX_composition_structure_type_name_c "CompositionContext" |
Definition at line 54 of file collabctx.h.
#define COLLABCTX_configuration_context_type_name_c "ConfigurationContext" |
Definition at line 55 of file collabctx.h.
#define COLLABCTX_ConfigurationContext_class_name_c "ConfigurationContext" |
Definition at line 36 of file collabctx.h.
#define COLLABCTX_content_rel_any_stype 0 |
Definition at line 63 of file collabctx.h.
#define COLLABCTX_content_rel_background ( 1 << 0 ) |
Definition at line 64 of file collabctx.h.
#define COLLABCTX_content_rel_target ( 1 << 1 ) |
Definition at line 65 of file collabctx.h.
#define COLLABCTX_context_lov_name "Context Names" |
Definition at line 35 of file collabctx.h.
#define COLLABCTX_context_relation_name "IMAN_CCContext" |
Definition at line 32 of file collabctx.h.
#define COLLABCTX_factory_structure_type_name_c "MEPlantContext" |
Definition at line 50 of file collabctx.h.
#define COLLABCTX_me_ccobject_type_name_c "MECollaborationContext" |
Definition at line 48 of file collabctx.h.
#define COLLABCTX_private_structure_type_name_c "PrivateContext" |
Definition at line 53 of file collabctx.h.
#define COLLABCTX_PrivateContext_class_name_c "PrivateContext" |
Definition at line 39 of file collabctx.h.
#define COLLABCTX_process_structure_type_name_c "MEProcessContext" |
Definition at line 51 of file collabctx.h.
#define COLLABCTX_product_structure_type_name_c "MEProductContext" |
Definition at line 49 of file collabctx.h.
#define COLLABCTX_ref_context_relation_name "IMAN_CCReferenceContext" |
Definition at line 38 of file collabctx.h.
#define COLLABCTX_resource_structure_type_name_c "MEResourceContext" |
Definition at line 52 of file collabctx.h.
#define COLLABCTX_SCTypeData_class_name_c "SCTypeData" |
Definition at line 37 of file collabctx.h.
#define COLLABCTX_SCTypeData_relation_name "IMAN_SCTypeData" |
Definition at line 40 of file collabctx.h.
#define COLLABCTX_sctypedata_type_name_c "SCTypeData" |
Definition at line 56 of file collabctx.h.
#define COLLABCTX_structure_content_relation_name "IMAN_StructureContent" |
Definition at line 33 of file collabctx.h.
#define COLLABCTX_StructureContext_class_name_c "StructureContext" |
Definition at line 31 of file collabctx.h.
#define COLLABCTX_study_relation_name "IMAN_CCStudy" |
Definition at line 34 of file collabctx.h.
COLLABCTX_API int COLLABCTX_acctability_check | ( | tag_t * | srcLines, | |
int | srcLineCount, | |||
tag_t * | tarLines, | |||
int | tarLineCount, | |||
int | options, | |||
tag_t | assyCtxtLineTag, | |||
tag_t | bomCtxtLineTag, | |||
int * | srcRetCount, | |||
tag_t ** | srcRetTags, | |||
int * | matRetCount, | |||
tag_t ** | matRetTags | |||
) |
Preforms an accountability check
srcLines | (I) List of lines from source window. Structures rooted by each of them will be checked. |
srcLineCount | (I) Number of source lines. |
tarLines | (I) List of lines from target widnow. Checked will be done over the structures under these lines only. |
tarLineCount | (I) Number of target lines. |
options | (I) Options of accountability check. Expected to be any combination of the following: add 1 - For source lines with "stop" marks, if to check their children. add 2 - If to check source lines at the lowest level only, as opposed to at all levels. add 4 - If to search all contextes in target, as opposed to the current active context. add 8 - If to search by absolute occurrence ID's only, as opposed to strictly by absolute occurrence objects. add 16 - If to compare a pre-define list of additional properties during the check. add 32 - If to search for target lines connected via PublishLink |
assyCtxtLineTag | (I) The possible source context line (in case the check is done when in-context mode is on) |
bomCtxtLineTag | (I) The possible target context line (in case the check is done when in-context mode is on) |
srcRetCount | (O) Number of source lines checked. |
srcRetTags | (OF) List of source lines checked. If not interested in this output, let *srcRetCount = -1 before calling. |
matRetCount | (O) Number of matched target lines |
matRetTags | (OF) List of matched target lines. If not interested in this output, let *matRetCount = -1 before calling. |
Add StructureContext to CC.
cc | (I) The CCObject |
context | (I) The StructureContext to be added |
COLLABCTX_API int COLLABCTX_alignment_check | ( | tag_t | source_line, | |
tag_t | target_line, | |||
int * | count, | |||
tag_t ** | source_lines, | |||
tag_t ** | target_lines, | |||
int ** | n_mismatched_properties, | |||
int ** | mismatched_properties, | |||
int * | n_properties, | |||
char *** | properties | |||
) |
find and return aligned occurrences whose data mismatches
source_line | (I) The scope line to start the alignment check |
target_line | (I) The scope line of the target BOM to start alignment check |
count | (O) The number of mismatched pairs |
source_lines | (OF) count Tags of source lines of the mismatches |
target_lines | (OF) count Tags of target lines of the mismatches |
n_mismatched_properties | (OF) count Number of the mismatching properties of each mismatched pair (value ranges from 1 to n_properties) |
mismatched_properties | (OF) count Indices of mismatched properties |
n_properties | (O) The number of properties used |
properties | (OF) n_properties Properties used for the check |
Ask all StructureContext.
cc | (I) The CCObject |
number | (O) Number of StructureContexts |
contexts | (OF) The StructureContexts tag list |
Ask the working StructureContext (also called Study).
cc | (I) The CCObject |
context | (O) Tag of the Working StructureContext |
Ask the ConfigurationContext used by this CCObject.
cc | (I) The CCObject |
config | (O) Tag of the ConfigurationContext |
Set ConfigurationContext to the CCObject.
cc | (I) The CCObject |
config | (I) The ConfigurationContext to be set |
COLLABCTX_API int COLLABCTX_clear_acctability_check | ( | tag_t * | windows, | |
int | num_win | |||
) |
After a run of accountability check each line assigned with a color property This method resets this property in all the lines
windows | (I) List of windows on which to clear check results. |
num_win | (I) Number of windows in the list. |
Ask for the AssemblyArrangement in ConfigurationContext.
context | (I) The ConfigurationContext |
arrangement | (O) Tag of the AssemblyArrangement |
Ask the ClosureRule stored in ConfigurationContext.
context | (I) The ConfigurationContext |
rule | (O) Tag of the Closure rule |
Ask the RevisionRule.
context | (I) The ConfigurationContext |
rule | (O) Tag of the revision rule |
Ask the VaraintRule.
context | (I) The ConfigurationContext |
rule | (O) Tag of the Variant rule |
Temporarily change AssemblyArragement in ConfigurationContext.
context | (I) The ConfigurationContext |
arrangement | (I) The new AssemblyArrangement |
Temporarily change ClosureRule to ConfigurationContext.
context | (I) The ConfigurationContext |
rule | (I) The new Closure rule |
Temporarily change RevisionRule to ConfigurationContext.
context | (I) The ConfigurationContext |
rule | (I) The new Revision rule |
Temporarily change VariantRule to ConfigurationContext.
context | (I) The ConfigurationContext |
rule | (I) The new Variant rule |
Set AssemblyArragement in ConfigurationContext.
context | (I) The ConfigurationContext |
arrangement | (I) The AssemblyArrangement to be set |
Set ClosureRule to ConfigurationContext. It will be saved as well.
context | (I) The ConfigurationContext |
rule | (I) The closure rule to be set |
Set RevisionRule to ConfigurationContext. If Rule is a run time revision rule, we will:
context | (I) The ConfigurationContext |
rule | (I) The Revision rule to be set |
Set BOMVariantRule to ConfigurationContext.
context | (I) The ConfigurationContext |
rule | (I) The BOMVariantRule to be set |
Add component to StructureContext.
context | (I) The StructureContext |
comp | (I) The component to be added |
subType | (I) Subtype such as COLLABCTX_content_rel_background |
Ask the ConfigurationContext used by this StructureContext.
context | (I) The StructureContext |
config | (O) Tag of the ConfigurationContext |
COLLABCTX_API int COLLABCTX_context_ask_contents | ( | tag_t | context, | |
int * | number, | |||
tag_t ** | contents, | |||
int | subType | |||
) |
Ask all the components used by this StructureContext.
context | (I) StructureContext |
number | (O) Number of contexts |
contents | (OF) number Contexts list |
subType | (I) SubType of the content relation such as background/target, etc. |
Ask whether StructureContext is a composition.
context | (I) The StructureContext |
isComp | (O) Whether or not it is a composition |
Remove component from StructureContext.
context | (I) The StructureContext |
comp | (I) The component to be removed |
Set ConfigurationContext to the StructureContext.
context | (I) The StructureContext |
config | (I) The ConfigurationContext to be set |
Ask whether StructureContext only allow an End Item.
context | (I) The StructureContext |
isSingle | (O) Whether or not it allows only single End Item |
COLLABCTX_API int COLLABCTX_copy_ccobject | ( | tag_t | baseCC, | |
const char * | name, | |||
const char * | desc, | |||
tag_t * | newCC | |||
) |
Copy the CCObject and its relations
baseCC | (I) The CC to copy |
name | (I) Name for new object if different |
desc | (I) Description for new object if different |
newCC | (O) Tag of new object |
COLLABCTX_API int COLLABCTX_copy_configuration_context | ( | tag_t | baseConfig, | |
const char * | name, | |||
const char * | desc, | |||
tag_t * | newConfig | |||
) |
Copy the ConfigurationContext and its relations
baseConfig | (I) The ConfigurationContext to copy |
name | (I) Name for new object if different |
desc | (I) Description for new object if different |
newConfig | (O) Tag of new object |
COLLABCTX_API int COLLABCTX_copy_structure_context | ( | tag_t | baseSC, | |
const char * | name, | |||
const char * | desc, | |||
tag_t * | newSC | |||
) |
Copy the StructureContext and its relations
baseSC | (I) The StructureContext to copy |
name | (I) Name for new object if different |
desc | (I) Description for new object if different |
newSC | (O) Tag of new object |
COLLABCTX_API int COLLABCTX_create_ccobject | ( | const char * | type, | |
const char * | name, | |||
const char * | desc, | |||
tag_t * | cc | |||
) |
Creates the CCObject instance.
type | (I) Type name - can be empty - will take default type |
name | (I) Name of the CCObject |
desc | (I) Description of the CCObject |
cc | (O) Tag of CCObject instance |
COLLABCTX_API int COLLABCTX_create_config_context_based_on_ref | ( | const char * | type, | |
const char * | name, | |||
const char * | desc, | |||
tag_t * | ref_obj_tag, | |||
tag_t * | context | |||
) |
Create ConfigurationContext instance based on reference
type | (I) Type name - can be empty - will take default type |
name | (I) Name of the ConfigurationContext |
desc | (I) Description of the ConfigurationContext |
ref_obj_tag | (I) Tag of reference object |
context | (O) Tag of ConfigurationContext instance |
COLLABCTX_API int COLLABCTX_create_configuration_context | ( | const char * | type, | |
const char * | name, | |||
const char * | desc, | |||
tag_t * | rule | |||
) |
Create ConfigurationContext instance.
type | (I) Type name - can be empty - will take default type |
name | (I) Name of the ConfigurationContext |
desc | (I) Description of the ConfigurationContext |
rule | (O) Tag of ConfigurationContext instance |
COLLABCTX_API int COLLABCTX_create_structure_context | ( | const char * | type, | |
const char * | name, | |||
const char * | desc, | |||
tag_t * | context | |||
) |
Create the StructureContext instance.
type | (I) Type name - can be empty - will take default type |
name | (I) Name of the StructureContext |
desc | (I) Description of the StructureContext |
context | (O) Tag of StructureContext instance |
COLLABCTX_API int COLLABCTX_init_module | ( | ) |
Initializes the Collaboration Context module. This function must be called before using any other Collaboration Context module functions. This function will be called by the standard ITK startup code. The ITK programmer can ignore this function.
Remove StructureContext from CC.
cc | (I) The CCObject |
context | (I) The StructureContext to be removed |
Ask whether structure context type is composition
scType | (I) The Structurecontext type |
is_comp | (O) Whether or not it is a composition |
Ask whether structure context type allows only one end item
scType | (I) The Structurecontext type |
is_single | (O) Whether or not it allows only single End Item |
Set the working StructureContext
cc | (I) The CCObject |
context | (I) The StructureContext to be set |
Sync alignment data
source_line | (I) The source line of the alignment to sync data |
target_line | (I) The target line of the alignment to sync data |