Teamcenter C++ API Reference  2312
TrackBulkOperationContext.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright 2023
4 //Siemens Digital Industries Software.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
18 #ifndef METAFRAMEWORK_TRACKBULKOPERATIONCONTEXT_HXX
19 #define METAFRAMEWORK_TRACKBULKOPERATIONCONTEXT_HXX
20 
21 #include <string>
22 #include <vector>
23 
24 #include <unidefs.h>
25 #include <metaframework/libmetaframework_exports.h>
26 
27 namespace Teamcenter
28 {
29  class TrackBulkOperationContext;
30  class BulkInput;
31  class ManageBulkData;
32  class OperationObjectBatch;
33 }
34 
35 class METAFRAMEWORK_API Teamcenter::TrackBulkOperationContext
36 {
37 public:
38  typedef std::vector<OperationObjectBatch*> OperationObjectBatchList;
39 
42 
43  // Returns the OperationObjectBatchList for the currently-executing bulk operation
45  static std::vector<Teamcenter::BulkInput*>* getBulkInputs( size_t batchIndex );
47  static bool isActive() { return ( s_currentBatches != nullptr ) && ( s_currentMbd != nullptr ); }
48 
49 private:
50  //don't support default constructor
52 
55 
58 };
59 
60 #include <metaframework/libmetaframework_undef.h>
61 #endif