Teamcenter C++ API Reference  2312
Val1CfgAgentRevision.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, Val1CfgAgentRevision
12  Filename: Val1CfgAgentRevision.hxx
13  Module: Val1cfgvalidation
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef VAL1CFGVALIDATION__VAL1CFGAGENTREVISION__HXX
18 #define VAL1CFGVALIDATION__VAL1CFGAGENTREVISION__HXX
19 
20 #include <vector>
22 #include <unidefs.h>
23 #include <string>
24 #include <map>
25 #include <common/tc_deprecation_macros.h>
27 
28 #include <Val1cfgvalidation/libval1cfgvalidation_exports.h>
29 
30 namespace val1cfgvalidation
31 {
33 }
34 namespace val1cfgvalidation
35 {
36  class Val1CfgAgentRevisionImpl;
37 }
38 namespace val1cfgvalidation
39 {
40  class Val1CfgAgentRevisionDelegate;
41 }
42 namespace val1cfgvalidation
43 {
44  class Val1CfgAgentRevisionDispatch;
45 }
46 namespace val1cfgvalidation
47 {
48  class Val1CfgAgentRevisionGenImpl;
49 }
50 namespace Teamcenter
51 {
52  class RootObjectImpl;
53 }
54 
55 class VAL1CFGVALIDATION_API val1cfgvalidation::Val1CfgAgentRevision
57 {
58 public:
59 
64  static const std::string& getInterfaceName();
65 
66 
75  int val1CreateOrUpdateResults( const std::vector< ::Teamcenter::CreateInput* > &resultData, std::vector< tag_t > &newResults, std::vector< tag_t > &changedResults );
76 
85  int val1GetOwningObjsForValidationFromSelectedObj( const std::vector< tag_t > &selectedObjectsVec, const std::string &owningObjsClosureRule, std::vector< tag_t > &owningObjsForValidationVec );
86 
95  int val1GetTargetObjectsFromOwningObjs( const std::vector< tag_t > &owningObjsForValidationVec, const std::string &targetClosureRule, std::map< tag_t,std::vector< tag_t > > &owningObjectToTargetObjectsVec );
96 
105  int val1PerformValidation( const std::vector< tag_t > &val1ValDataRevVec, const std::map< tag_t,std::vector< tag_t > > &owningObjectToTargetObjectsVec, std::vector< ::Teamcenter::CreateInput* > &resultData );
106 
118  int val1RunValidation( const std::vector< tag_t > &valDataRevisionObjects, const std::vector< tag_t > &selectedObjects, const std::string &owningObjsClosureRule, const std::string &targetClosureRule, std::vector< tag_t > &newResults, std::vector< tag_t > &changedResults );
119 protected:
120  // Method to initialize
121  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
122 
127 
131  virtual ~Val1CfgAgentRevision();
132 
133 private:
134  // Getter method for the Implementation Object
135  Val1CfgAgentRevisionImpl* getVal1CfgAgentRevisionImpl() const;
136  // Setter method for the Implementation Object
137  ::Teamcenter::RootObjectImpl* setVal1CfgAgentRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
138 
139  // Method to set the delete impl boolean
140  void setDeleteImpl( bool del );
141 
142  // Pointer to the Implementation object
143  Val1CfgAgentRevisionImpl* m_val1cfgagentrevisionImpl;
144 
145  // Flag to indicate if Implementation object needs to be deleted
147 
151  static std::string name;
152 
159 
160  friend class Val1CfgAgentRevisionDelegate;
161  friend class Val1CfgAgentRevisionGenImpl;
162 };
163 
164 #include <Val1cfgvalidation/libval1cfgvalidation_undef.h>
165 #endif // VAL1CFGVALIDATION__VAL1CFGAGENTREVISION__HXX