Teamcenter C++ API Reference  2312
VariantRuleDelegateExt.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, VariantRuleDelegate
12  Filename: VariantRuleDelegateExt.hxx
13  Module: Cfg0configurator
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CFG0__TEAMCENTER__CFG0CONFIGURATOR__VARIANTRULEDELEGATE_HXX
18 #define CFG0__TEAMCENTER__CFG0CONFIGURATOR__VARIANTRULEDELEGATE_HXX
19 
20 #include <common/tc_deprecation_macros.h>
22 
23 #include <Cfg0configurator/libcfg0configurator_exports.h>
24 
25 
26 namespace cfg0
27 {
28  namespace Teamcenter
29  {
30  namespace Cfg0configurator
31  {
32  class VariantRuleDelegate;
33  }
34  }
35 }
36 namespace cfg0
37 {
38  namespace Teamcenter
39  {
40  namespace Cfg0configurator
41  {
42  class VariantRuleImpl;
43  }
44  }
45 }
46 namespace cfg0
47 {
48  namespace Teamcenter
49  {
50  namespace Cfg0configurator
51  {
52  class VariantRule;
53  }
54  }
55 }
56 namespace cfg0
57 {
58  namespace Teamcenter
59  {
60  namespace Cfg0configurator
61  {
62  class VariantRuleGenImpl;
63  }
64  }
65 }
66 
67 namespace cfg0_alias = ::cfg0;
68 
69 
70 class CFG0CONFIGURATOR_API cfg0_alias::Teamcenter::Cfg0configurator::VariantRuleDelegate
71 {
72 public:
73  // Constructor Method
74  static ::Teamcenter::BusinessObjectExtender* constructor( tag_t objTag );
75 
76  // Method to initialize this Class
77  static int initializeClass();
78 
79  // Method to get the VariantRuleDelegate instance
81 
82  // Method to create the VariantRuleImpl pointer
83  static VariantRuleImpl* createImpl( VariantRule& ifObj );
84 
85  // Method to delete the VariantRuleImpl pointer
86  static void deleteImpl( VariantRuleImpl* impl );
87 
88 
96  int getCfg0VariantCriteriaConditionBase(const VariantRule &ifObj, std::string &value, bool &isNull ) const;
97 
98 
105  int getCfg0VariantCriteriaConditionDisplayableValuesBase(VariantRule &ifObj, std::vector< std::string > &values );
106 
107 
115  int setCfg0VariantCriteriaConditionBase(VariantRule &ifObj, const std::string &value, bool isNull );
116 
117 
118 
119 protected:
120  // Pointer to the instance
122 
124  virtual ~VariantRuleDelegate();
125 
126 private:
127  friend class ::cfg0::Teamcenter::Cfg0configurator::VariantRuleGenImpl;
128 
129 };
130 
131 #include <Cfg0configurator/libcfg0configurator_undef.h>
132 #endif // CFG0__TEAMCENTER__CFG0CONFIGURATOR__VARIANTRULEDELEGATE_HXX