Teamcenter C++ API Reference  2312
EPMHandler.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, EPMHandler
12  Filename: EPMHandler.hxx
13  Module: epm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__EPMHANDLER__HXX
18 #define TEAMCENTER__EPMHANDLER__HXX
19 
20 #include <vector>
21 #include <string>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
24 #include <tccore/POM_object.hxx>
25 
26 #include <epm/libepm_exports.h>
27 
28 namespace Teamcenter
29 {
30  class EPMHandler;
31 }
32 namespace Teamcenter
33 {
34  class EPMHandlerImpl;
35 }
36 namespace Teamcenter
37 {
38  class EPMHandlerDelegate;
39 }
40 namespace Teamcenter
41 {
42  class EPMHandlerDispatch;
43 }
44 namespace Teamcenter
45 {
46  class EPMHandlerGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class EPM_API Teamcenter::EPMHandler
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getHandler_arguments( std::vector< std::string > &values, std::vector< int > &isNull ) const;
73 
81  int getHandler_name( std::string &value, bool &isNull ) const;
82 
90  int getHandler_type( int &value, bool &isNull ) const;
91 
99  int getNumber_of_arguments( int &value, bool &isNull ) const;
100 
108  int getObject_name( std::string &value, bool &isNull ) const;
109 
117  int getParent_action( tag_t &value, bool &isNull ) const;
118 
126  int getParent_action_type( int &value, bool &isNull ) const;
127 
135  int getParent_task_template( tag_t &value, bool &isNull ) const;
136 
144  int setHandler_arguments( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
145 
153  int setHandler_name( const std::string &value, bool isNull=false );
154 
162  int setNumber_of_arguments( int value, bool isNull=false );
163 
171  int setObject_name( const std::string &value, bool isNull=false );
172 protected:
173  // Method to initialize
174  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
175 
179  EPMHandler();
180 
184  virtual ~EPMHandler();
185 
186 private:
187  // Getter method for the Implementation Object
188  EPMHandlerImpl* getEPMHandlerImpl() const;
189  // Setter method for the Implementation Object
190  ::Teamcenter::RootObjectImpl* setEPMHandlerImpl( ::Teamcenter::RootObjectImpl* impl );
191 
192  // Method to set the delete impl boolean
193  void setDeleteImpl( bool del );
194 
195  // Pointer to the Implementation object
196  EPMHandlerImpl* m_epmhandlerImpl;
197 
198  // Flag to indicate if Implementation object needs to be deleted
200 
204  static std::string name;
205 
210  EPMHandler( const EPMHandler& );
211  EPMHandler& operator=( const EPMHandler& );
212 
213  friend class EPMHandlerDelegate;
214  friend class EPMHandlerGenImpl;
215 };
216 
217 #include <epm/libepm_undef.h>
218 #endif // TEAMCENTER__EPMHANDLER__HXX