Teamcenter C++ API Reference  2312
RelationManagement.hxx
Go to the documentation of this file.
1 // Copyright 2022 Siemens Digital Industries Software
2 // ==================================================
3 // Copyright 2017.
4 // Siemens Product Lifecycle Management Software Inc.
5 // All Rights Reserved.
6 // ==================================================
7 // Copyright 2022 Siemens Digital Industries Software
8 
9 
10 #ifndef TEAMCENTER_RELATION_MANAGEMENT_HXX
11 #define TEAMCENTER_RELATION_MANAGEMENT_HXX
12 
13 #include <unidefs.h>
14 #include <vector>
15 #include <Mpr0process/libmpr0process_exports.h>
16 
17 namespace Teamcenter
18 {
19  namespace Mpr0Process
20  {
21  class RelationManagement;
22  }
23 }
24 
25 class MPR0PROCESS_API Teamcenter::Mpr0Process::RelationManagement
26 {
27 public:
28 
30  {
31  tag_t successor;
32  tag_t predecessor;
33  };
34 
36  {
37  tag_t newParent;
38  tag_t child;
39 
40  };
41 
42 
43  static int addPredecessors(const std::vector <PredecessorInputData> &input, std::vector <int> &errors);
44 
45  static int removePredecessors(const std::vector <PredecessorInputData> &input, std::vector <int> &errors);
46 
47  static int restructure ( const std::vector< RestructureInputData >& input, std::vector <int> &errors );
48 
49 };
50 
51 #include <Mpr0process/libmpr0process_undef.h>
52 #endif //TEAMCENTER_RELATION_MANAGEMENT_HXX