Teamcenter C++ API Reference  2312
SourceObj.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, SourceObj
12  Filename: SourceObj.hxx
13  Module: docmgt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__SOURCEOBJ__HXX
18 #define TEAMCENTER__SOURCEOBJ__HXX
19 
20 #include <string>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <docmgt/libdocmgt_exports.h>
26 
27 namespace Teamcenter
28 {
29  class SourceObj;
30 }
31 namespace Teamcenter
32 {
33  class SourceObjImpl;
34 }
35 namespace Teamcenter
36 {
37  class SourceObjDelegate;
38 }
39 namespace Teamcenter
40 {
41  class SourceObjDispatch;
42 }
43 namespace Teamcenter
44 {
45  class SourceObjGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class DOCMGT_API Teamcenter::SourceObj
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getDefining_irdc( std::string &value, bool &isNull ) const;
72 
80  int getItem_revision_relation( tag_t &value, bool &isNull ) const;
81 
89  int getSrc_dataset_type_name( tag_t &value, bool &isNull ) const;
90 
98  int setDefining_irdc( const std::string &value, bool isNull=false );
99 
107  int setItem_revision_relation( const tag_t &value, bool isNull=false );
108 
116  int setSrc_dataset_type_name( const tag_t &value, bool isNull=false );
117 protected:
118  // Method to initialize
119  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
120 
124  SourceObj();
125 
129  virtual ~SourceObj();
130 
131 private:
132  // Getter method for the Implementation Object
133  SourceObjImpl* getSourceObjImpl() const;
134  // Setter method for the Implementation Object
135  ::Teamcenter::RootObjectImpl* setSourceObjImpl( ::Teamcenter::RootObjectImpl* impl );
136 
137  // Method to set the delete impl boolean
138  void setDeleteImpl( bool del );
139 
140  // Pointer to the Implementation object
141  SourceObjImpl* m_sourceobjImpl;
142 
143  // Flag to indicate if Implementation object needs to be deleted
145 
149  static std::string name;
150 
155  SourceObj( const SourceObj& );
156  SourceObj& operator=( const SourceObj& );
157 
158  friend class SourceObjDelegate;
159  friend class SourceObjGenImpl;
160 };
161 
162 #include <docmgt/libdocmgt_undef.h>
163 #endif // TEAMCENTER__SOURCEOBJ__HXX