Teamcenter C++ API Reference  2312
BulkPropertyContextData.hxx
Go to the documentation of this file.
1 #ifndef TEAMCENTER_BULK_PROPERTY_CONTEXT_DATA_HXX
2 #define TEAMCENTER_BULK_PROPERTY_CONTEXT_DATA_HXX
3 
4 // Copyright 2022 Siemens Digital Industries Software
5 // ==================================================
6 // Copyright 2013.
7 // Siemens Product Lifecycle Management Software Inc.
8 // All Rights Reserved.
9 // ==================================================
10 // Copyright 2022 Siemens Digital Industries Software
11 
18 #include <unidefs.h>
19 #include <tccore/method.h>
20 #include <common/tc_deprecation_macros.h>
21 #include <vector>
22 
23 #include <property/libproperty_exports.h>
24 
25 namespace Teamcenter
26 {
27 
28 namespace Property
29 {
33 class PROPERTY_API BulkPropertyContextData
34 {
35 
36 public:
37 
38  virtual ~BulkPropertyContextData() = 0;
39 
40 };
41 
42 } //namespace Property
43 } //namespace Teamcenter
44 
75  tag_t prop_desc_tags,
76  int n_tags,
77  const tag_t* tags,
79 );
80 
81 
83  const std::vector<tag_t>& prop_desc_tags,
84  const std::vector<tag_t>& object_tags,
86  );
87 
88 
94  const char* operation_id,
95  int n_tags,
96  const tag_t* tags,
98 );
106  int n_property_descriptor_tags,
107  const tag_t* property_descriptor_tags,
108  int n_objects,
109  const tag_t* objects
110  );
123 extern PROPERTY_API int PROPDESC_register_bulk_loader2(
124  tag_t prop_desc_tag,
125  logical invoke_once,
126  BulkProperty_bulk_loader_t bulk_loader_fn
127  );
128 
138 extern PROPERTY_API int PROPDESC_register_query_based_bulk_loader(
139  int n_property_descriptor_tags,
140  const tag_t* property_descriptor_tags,
141  BulkProperty_query_based_bulk_loader_t query_based_loader_fn
142 );
143 
152 extern PROPERTY_API logical PROPDESC_is_bulk_loading_context();
153 
160  METHOD_message_t* m
161  );
162 
168  tag_t objTag, const char* propName
169  );
170 
181 extern PROPERTY_API int PROPDESC_execute_bulk_loader(
182  int n_tags,
183  const tag_t* tags,
184  int n_props,
185  const char** props
186  );
187 
213  tag_t objTag, const char* propName
214  );
215 
237  tag_t pdTag
238  );
239 
240 
241 #include <property/libproperty_undef.h>
242 #endif //TEAMCENTER_BULK_PROPERTY_CONTEXT_DATA_HXX