Teamcenter C++ API Reference  2312
Cfg0AbsRule.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, Cfg0AbsRule
12  Filename: Cfg0AbsRule.hxx
13  Module: Cfg0configurator
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSRULE__HXX
18 #define TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSRULE__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <Cfg0configurator/libcfg0configurator_exports.h>
25 
26 namespace Teamcenter
27 {
28  namespace Cfg0configurator
29  {
30  class Cfg0AbsRule;
31  }
32 }
33 namespace Teamcenter
34 {
35  namespace Cfg0configurator
36  {
37  class Cfg0AbsRuleImpl;
38  }
39 }
40 namespace Teamcenter
41 {
42  namespace Cfg0configurator
43  {
44  class Cfg0AbsRuleDelegate;
45  }
46 }
47 namespace Teamcenter
48 {
49  namespace Cfg0configurator
50  {
51  class Cfg0AbsRuleDispatch;
52  }
53 }
54 namespace Teamcenter
55 {
56  namespace Cfg0configurator
57  {
58  class Cfg0AbsRuleGenImpl;
59  }
60 }
61 namespace Teamcenter
62 {
63  class RootObjectImpl;
64 }
65 
66 class CFG0CONFIGURATOR_API Teamcenter::Cfg0configurator::Cfg0AbsRule
68 {
69 public:
70 
75  static const std::string& getInterfaceName();
76 
77 
85  int getCfg0ApplicabilityCondition( std::string &value, bool &isNull ) const;
86 
94  int getCfg0AsText( std::string &value, bool &isNull ) const;
95 
103  int getCfg0ExpFormat( std::string &value, bool &isNull ) const;
104 
112  int getCfg0ExpScript( std::string &value, bool &isNull ) const;
113 
121  int getCfg0SubjectCondition( std::string &value, bool &isNull ) const;
122 
130  int setCfg0ApplicabilityCondition( const std::string &value, bool isNull=false );
131 
139  int setCfg0ExpFormat( const std::string &value, bool isNull=false );
140 
148  int setCfg0ExpScript( const std::string &value, bool isNull=false );
149 
157  int setCfg0SubjectCondition( const std::string &value, bool isNull=false );
158 protected:
159  // Method to initialize
160  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
161 
165  Cfg0AbsRule();
166 
170  virtual ~Cfg0AbsRule();
171 
172 private:
173  // Getter method for the Implementation Object
174  Cfg0AbsRuleImpl* getCfg0AbsRuleImpl() const;
175  // Setter method for the Implementation Object
176  ::Teamcenter::RootObjectImpl* setCfg0AbsRuleImpl( ::Teamcenter::RootObjectImpl* impl );
177 
178  // Method to set the delete impl boolean
179  void setDeleteImpl( bool del );
180 
181  // Pointer to the Implementation object
182  Cfg0AbsRuleImpl* m_cfg0absruleImpl;
183 
184  // Flag to indicate if Implementation object needs to be deleted
186 
190  static std::string name;
191 
196  Cfg0AbsRule( const Cfg0AbsRule& );
197  Cfg0AbsRule& operator=( const Cfg0AbsRule& );
198 
199  friend class Cfg0AbsRuleDelegate;
200  friend class Cfg0AbsRuleGenImpl;
201 };
202 
203 #include <Cfg0configurator/libcfg0configurator_undef.h>
204 #endif // TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSRULE__HXX