Teamcenter C++ API Reference  2312
EPMAction.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, EPMAction
12  Filename: EPMAction.hxx
13  Module: epm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__EPMACTION__HXX
18 #define TEAMCENTER__EPMACTION__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <epm/libepm_exports.h>
26 
27 namespace Teamcenter
28 {
29  class EPMAction;
30 }
31 namespace Teamcenter
32 {
33  class EPMActionImpl;
34 }
35 namespace Teamcenter
36 {
37  class EPMActionDelegate;
38 }
39 namespace Teamcenter
40 {
41  class EPMActionDispatch;
42 }
43 namespace Teamcenter
44 {
45  class EPMActionGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class EPM_API Teamcenter::EPMAction
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getAction_handlers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
72 
80  int getAction_type( int &value, bool &isNull ) const;
81 
89  int getRules( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
90 
98  int getTasktemplate( tag_t &value, bool &isNull ) const;
99 
107  int setAction_handlers( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
108 
116  int setAction_type( int value, bool isNull=false );
117 
125  int setRules( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
126 protected:
127  // Method to initialize
128  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
129 
133  EPMAction();
134 
138  virtual ~EPMAction();
139 
140 private:
141  // Getter method for the Implementation Object
142  EPMActionImpl* getEPMActionImpl() const;
143  // Setter method for the Implementation Object
144  ::Teamcenter::RootObjectImpl* setEPMActionImpl( ::Teamcenter::RootObjectImpl* impl );
145 
146  // Method to set the delete impl boolean
147  void setDeleteImpl( bool del );
148 
149  // Pointer to the Implementation object
150  EPMActionImpl* m_epmactionImpl;
151 
152  // Flag to indicate if Implementation object needs to be deleted
154 
158  static std::string name;
159 
164  EPMAction( const EPMAction& );
165  EPMAction& operator=( const EPMAction& );
166 
167  friend class EPMActionDelegate;
168  friend class EPMActionGenImpl;
169 };
170 
171 #include <epm/libepm_undef.h>
172 #endif // TEAMCENTER__EPMACTION__HXX