Teamcenter C++ API Reference  2312
AssignmentInContext.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_ASSIGNMENT_IN_CONTEXT_HXX
11 #define TEAMCENTER_ASSIGNMENT_IN_CONTEXT_HXX
12 
13 #include <unidefs.h>
14 #include <vector>
16 #include <Mpr0process/libmpr0process_exports.h>
17 
18 namespace Teamcenter
19 {
20  namespace Mpr0Process
21  {
22  class AssignmentInContext;
23  struct AssignmentInfo;
24  }
25 }
26 
27 class MPR0PROCESS_API Teamcenter::Mpr0Process::AssignmentInContext
28 {
29 public:
30 
32  {
33  tag_t assignedTo;
35  std::string assignmentType;
36 
37  AssignmentInfo& operator=( const AssignmentInfo& other );
38  };
39 
41  {
44  };
45 
47  {
49  std::vector<tag_t> attributeGroups;
51  };
52 
54  {
57  };
58 
59 
60  static int addInContextAttributeGroups(const std::vector<InContextAttributeGroupInfo>& input, std::vector<Teamcenter::Mpr0Process::Mpr0ErrorInfo>& errors);
61 
62  static int getInContextAttributeGroups(const std::vector<AssignmentInfo>& input, std::vector<InContextAttributeGroupsInfo>& attributeGroupsInfo);
63 
64  static int deleteInContextAttributeGroups(const std::vector<InContextAttributeGroupInfo>& input, std::vector<Teamcenter::Mpr0Process::Mpr0ErrorInfo>& errors);
65 
66  static int moveInContextAttributeGroups (const std::vector<MoveAssignmentInfo>& input, std::vector<Teamcenter::Mpr0Process::Mpr0ErrorInfo>& errors);
67 
68 };
69 
70 #include <Mpr0process/libmpr0process_undef.h>
71 #endif //TEAMCENTER_ASSIGNMENT_IN_CONTEXT_HXX