Teamcenter C++ API Reference  2312
Cfg0AbsPackageRule.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, Cfg0AbsPackageRule
12  Filename: Cfg0AbsPackageRule.hxx
13  Module: Cfg0configurator
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSPACKAGERULE__HXX
18 #define TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSPACKAGERULE__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <Cfg0configurator/libcfg0configurator_exports.h>
27 
28 namespace Teamcenter
29 {
30  namespace Cfg0configurator
31  {
32  class Cfg0AbsPackageRule;
33  }
34 }
35 namespace Teamcenter
36 {
37  namespace Cfg0configurator
38  {
39  class Cfg0AbsPackageRuleImpl;
40  }
41 }
42 namespace Teamcenter
43 {
44  namespace Cfg0configurator
45  {
46  class Cfg0AbsPackageRuleDelegate;
47  }
48 }
49 namespace Teamcenter
50 {
51  namespace Cfg0configurator
52  {
53  class Cfg0AbsPackageRuleDispatch;
54  }
55 }
56 namespace Teamcenter
57 {
58  namespace Cfg0configurator
59  {
60  class Cfg0AbsPackageRuleGenImpl;
61  }
62 }
63 namespace Teamcenter
64 {
65  class RootObjectImpl;
66 }
67 
68 class CFG0CONFIGURATOR_API Teamcenter::Cfg0configurator::Cfg0AbsPackageRule
70 {
71 public:
72 
77  static const std::string& getInterfaceName();
78 
79 
87  int getCfg0DefaultCondition( std::string &value, bool &isNull ) const;
88 
95  int getCfg0DefaultConditionDisplayableValues( std::vector< std::string > &values );
96 
104  int getCfg0Package( tag_t &value, bool &isNull ) const;
105 
113  int setCfg0DefaultCondition( const std::string &value, bool isNull=false );
114 protected:
115  // Method to initialize
116  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
117 
122 
126  virtual ~Cfg0AbsPackageRule();
127 
128 private:
129  // Getter method for the Implementation Object
130  Cfg0AbsPackageRuleImpl* getCfg0AbsPackageRuleImpl() const;
131  // Setter method for the Implementation Object
132  ::Teamcenter::RootObjectImpl* setCfg0AbsPackageRuleImpl( ::Teamcenter::RootObjectImpl* impl );
133 
134  // Method to set the delete impl boolean
135  void setDeleteImpl( bool del );
136 
137  // Pointer to the Implementation object
138  Cfg0AbsPackageRuleImpl* m_cfg0abspackageruleImpl;
139 
140  // Flag to indicate if Implementation object needs to be deleted
142 
146  static std::string name;
147 
154 
155  friend class Cfg0AbsPackageRuleDelegate;
156  friend class Cfg0AbsPackageRuleGenImpl;
157 };
158 
159 #include <Cfg0configurator/libcfg0configurator_undef.h>
160 #endif // TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSPACKAGERULE__HXX