Teamcenter C++ API Reference  2312
NextIdField.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, NextIdField
12  Filename: NextIdField.hxx
13  Module: property
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__NEXTIDFIELD__HXX
18 #define TEAMCENTER__NEXTIDFIELD__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <property/libproperty_exports.h>
26 
27 namespace Teamcenter
28 {
29  class NextIdField;
30 }
31 namespace Teamcenter
32 {
33  class NextIdFieldImpl;
34 }
35 namespace Teamcenter
36 {
37  class NextIdFieldDelegate;
38 }
39 namespace Teamcenter
40 {
41  class NextIdFieldDispatch;
42 }
43 namespace Teamcenter
44 {
45  class NextIdFieldGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class PROPERTY_API Teamcenter::NextIdField
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getName_field_tag( tag_t &value, bool &isNull ) const;
72 
80  int getNext_id( std::string &value, bool &isNull ) const;
81 
89  int setName_field_tag( const tag_t &value, bool isNull=false );
90 
98  int setNext_id( const std::string &value, bool isNull=false );
99 protected:
100  // Method to initialize
101  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
102 
106  NextIdField();
107 
111  virtual ~NextIdField();
112 
113 private:
114  // Getter method for the Implementation Object
115  NextIdFieldImpl* getNextIdFieldImpl() const;
116  // Setter method for the Implementation Object
117  ::Teamcenter::RootObjectImpl* setNextIdFieldImpl( ::Teamcenter::RootObjectImpl* impl );
118 
119  // Method to set the delete impl boolean
120  void setDeleteImpl( bool del );
121 
122  // Pointer to the Implementation object
123  NextIdFieldImpl* m_nextidfieldImpl;
124 
125  // Flag to indicate if Implementation object needs to be deleted
127 
131  static std::string name;
132 
137  NextIdField( const NextIdField& );
138  NextIdField& operator=( const NextIdField& );
139 
140  friend class NextIdFieldDelegate;
141  friend class NextIdFieldGenImpl;
142 };
143 
144 #include <property/libproperty_undef.h>
145 #endif // TEAMCENTER__NEXTIDFIELD__HXX