Teamcenter C++ API Reference  2312
Fnd0GenericConversionRule.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, Fnd0GenericConversionRule
12  Filename: Fnd0GenericConversionRule.hxx
13  Module: Fnd0formulamgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__FND0GENERICCONVERSIONRULE__HXX
18 #define TEAMCENTER__FND0GENERICCONVERSIONRULE__HXX
19 
20 #include <vector>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <Fnd0formulamgmt/libfnd0formulamgmt_exports.h>
26 
27 namespace Teamcenter
28 {
29  class Fnd0GenericConversionRule;
30 }
31 namespace Teamcenter
32 {
33  class Fnd0GenericConversionRuleImpl;
34 }
35 namespace Teamcenter
36 {
37  class Fnd0GenericConversionRuleDelegate;
38 }
39 namespace Teamcenter
40 {
41  class Fnd0GenericConversionRuleDispatch;
42 }
43 namespace Teamcenter
44 {
45  class Fnd0GenericConversionRuleGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class FND0FORMULAMGMT_API Teamcenter::Fnd0GenericConversionRule
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getFnd0Description( std::string &value, bool &isNull ) const;
72 
80  int getFnd0Name( std::string &value, bool &isNull ) const;
81 
89  int setFnd0Description( const std::string &value, bool isNull=false );
90 
98  int setFnd0Name( const std::string &value, bool isNull=false );
99 
107  int fnd0Compute( const std::vector< std::string > &variableValues, std::string &computedResult );
108 
117  int fnd0Compute( const std::vector< std::string > *variableGrpValues, int grpCount, std::vector< std::string > *computedGrpResults );
118 protected:
119  // Method to initialize
120  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
121 
126 
130  virtual ~Fnd0GenericConversionRule();
131 
132 private:
133  // Getter method for the Implementation Object
134  Fnd0GenericConversionRuleImpl* getFnd0GenericConversionRuleImpl() const;
135  // Setter method for the Implementation Object
136  ::Teamcenter::RootObjectImpl* setFnd0GenericConversionRuleImpl( ::Teamcenter::RootObjectImpl* impl );
137 
138  // Method to set the delete impl boolean
139  void setDeleteImpl( bool del );
140 
141  // Pointer to the Implementation object
142  Fnd0GenericConversionRuleImpl* m_fnd0genericconversionruleImpl;
143 
144  // Flag to indicate if Implementation object needs to be deleted
146 
150  static std::string name;
151 
158 
159  friend class Fnd0GenericConversionRuleDelegate;
160  friend class Fnd0GenericConversionRuleGenImpl;
161 };
162 
163 #include <Fnd0formulamgmt/libfnd0formulamgmt_undef.h>
164 #endif // TEAMCENTER__FND0GENERICCONVERSIONRULE__HXX