ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
cba
pmm.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
16
/* */
17
18
#ifndef PMM_H_INCLUDED
19
#define PMM_H_INCLUDED
20
21
#include <
unidefs.h
>
22
23
#include <cba/libcba_exports.h>
24
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
46
typedef
struct
CBA_API
PMM_error_store_map_s
47
{
48
int
ifail
;
49
char
code[16];
50
char
*
message
;
51
int
clientId
;
52
char
*
subst
;
53
}
PMM_error_store_map_t
;
54
58
typedef
struct
PMM_name_value_criteria_s
59
{
60
char
**
entries
;
61
char
**
values
;
62
int
num_criteria
;
63
}
PMM_name_value_criteria_t
;
64
68
typedef
struct
PMM_actlines_per_child_s
69
{
70
int
countOfACTLines
;
71
tag_t
*
childACTLines
;
72
}
PMM_actlines_per_child_t
;
73
77
typedef
struct
PMM_level_to_actlines_with_details_s
78
{
79
tag_t
asmPartACTLineTag
;
80
int
num_of_child_actLines_per_level
;
81
PMM_actlines_per_child_t
*
childACTLinesPerLevel
;
82
}
PMM_level_to_actlines_with_details_t
;
83
87
typedef
struct
PMM_breakdown_output_s
88
{
89
tag_t
bomWindowTag
;
90
tag_t
topAsmPartACTLineTag
;
91
int
num_of_level_wise_breakdown
;
92
PMM_level_to_actlines_with_details_t
*
levelWiseBreakdown
;
93
}
PMM_breakdown_output_t
;
94
95
96
110
extern
CBA_API
int
PMM_init_module
(
void
);
111
118
extern
CBA_API
int
PMM_exit_module
(
void
);
119
130
extern
CBA_API
int
PMM_is_usage_enabled
(
131
logical
*is_enabled
132
);
133
152
extern
CBA_API
int
PMM_complex_generic_query
(
153
char
* class_name,
154
char
* where_clause,
155
int
num_return_attribute_names,
156
char
** return_attribute_names,
157
int
* num_found,
158
tag_t
** proxies
159
);
160
161
174
extern
CBA_API
int
PMM_generic_query
(
175
const
char
* class_name,
176
int
num_criteria,
177
char
** criteria_names,
178
char
** criteria_values,
179
tag_t
usage_config_context,
180
int
num_return_attribute_names,
181
char
** return_attribute_names,
182
int
* num_found,
183
tag_t
** proxies
184
);
185
199
extern
CBA_API
int
PMM_multi_break_down_query
(
200
PMM_name_value_criteria_t
* source_part_criteria,
201
PMM_name_value_criteria_t
* query_criteria,
202
bool
with_details,
203
int
explosion_level,
204
tag_t
* proxy,
205
PMM_breakdown_output_t
* breakdown_output
206
);
207
225
extern
CBA_API
int
PMM_update_ps_for_recipe
(
226
tag_t
window_tag,
227
int
count,
228
const
tag_t
* selected_bomlines
230
);
231
232
251
extern
CBA_API
int
PMM_add_to_layout
(
252
tag_t
*selected_lines,
253
int
count,
254
tag_t
layout_item_rev,
255
const
char
* view_type_name,
257
tag_t
*layout_window,
258
tag_t
*layout_top_line,
259
int
*no_of_children,
260
tag_t
**layout_childlines,
261
int
*no_of_conflicts,
262
tag_t
**conflicting_lines
263
);
264
267
#ifdef __cplusplus
268
}
269
#endif
270
273
#include <cba/libcba_undef.h>
274
#endif