Teamcenter C++ API Reference  2312
BulkData.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright $2023.
4 //Siemens Product Lifecycle Management Software Inc.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
9 /*==================================================================================================
10 File description:
11  This file contains the declaration for the Business Object, BulkData
12  Filename: BulkData.hxx
13  Module: metaframework
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__BULKDATA__HXX
18 #define TEAMCENTER__BULKDATA__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <metaframework/libmetaframework_exports.h>
26 
27 namespace Teamcenter
28 {
29  class ManageBulkData;
30 }
31 namespace Teamcenter
32 {
33  class BulkData;
34 }
35 namespace Teamcenter
36 {
37  class BulkDataImpl;
38 }
39 namespace Teamcenter
40 {
41  class BulkDataDelegate;
42 }
43 namespace Teamcenter
44 {
45  class BulkDataDispatch;
46 }
47 namespace Teamcenter
48 {
49  class BulkDataGenImpl;
50 }
51 namespace Teamcenter
52 {
53  class RootObjectImpl;
54 }
55 
56 class METAFRAMEWORK_API Teamcenter::BulkData
58 {
59 public:
60 
65  static const std::string& getInterfaceName();
66 
67 
74  int fnd0AddDeleteObjects( std::vector< tag_t > *deleteObjects );
75 
82  int fnd0AddSaveObjects( std::vector< tag_t > *saveObjects );
83 
90  int fnd0AddUnlockObjects( std::vector< tag_t > *unlockObjects );
91 protected:
92  // Method to initialize
93  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
94 
98  BulkData();
99 
103  virtual ~BulkData();
104 
105 private:
106  // Getter method for the Implementation Object
107  BulkDataImpl* getBulkDataImpl() const;
108  // Setter method for the Implementation Object
109  ::Teamcenter::RootObjectImpl* setBulkDataImpl( ::Teamcenter::RootObjectImpl* impl );
110 
111  // Method to set the delete impl boolean
112  void setDeleteImpl( bool del );
113 
114  // Pointer to the Implementation object
115  BulkDataImpl* m_bulkdataImpl;
116 
117  // Flag to indicate if Implementation object needs to be deleted
119 
123  static std::string name;
124 
129  BulkData( const BulkData& );
130  BulkData& operator=( const BulkData& );
131 
132  friend class BulkDataDelegate;
133  friend class BulkDataGenImpl;
134  friend class BulkDataImpl;
135  friend class ManageBulkData;
136 };
137 
138 #include <metaframework/libmetaframework_undef.h>
139 #endif // TEAMCENTER__BULKDATA__HXX