Teamcenter C++ API Reference  2312
Fnd0FormulaConversion.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, Fnd0FormulaConversion
12  Filename: Fnd0FormulaConversion.hxx
13  Module: Fnd0formulamgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__FND0FORMULACONVERSION__HXX
18 #define TEAMCENTER__FND0FORMULACONVERSION__HXX
19 
20 #include <unidefs.h>
21 #include <vector>
22 #include <string>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <Fnd0formulamgmt/libfnd0formulamgmt_exports.h>
27 
28 namespace Teamcenter
29 {
30  class Fnd0FormulaConversion;
31 }
32 namespace Teamcenter
33 {
34  class Fnd0FormulaConversionImpl;
35 }
36 namespace Teamcenter
37 {
38  class Fnd0FormulaConversionDelegate;
39 }
40 namespace Teamcenter
41 {
42  class Fnd0FormulaConversionDispatch;
43 }
44 namespace Teamcenter
45 {
46  class Fnd0FormulaConversionGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class FND0FORMULAMGMT_API Teamcenter::Fnd0FormulaConversion
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getFnd0AlgebraicFormula( tag_t &value, bool &isNull ) const;
73 
81  int getFnd0ConstValues( std::vector< std::string > &values, std::vector< int > &isNull ) const;
82 
90  int getFnd0Expression( std::string &value, bool &isNull ) const;
91 
99  int setFnd0AlgebraicFormula( const tag_t &value, bool isNull=false );
100 
108  int setFnd0ConstValues( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
109 protected:
110  // Method to initialize
111  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
112 
117 
121  virtual ~Fnd0FormulaConversion();
122 
123 private:
124  // Getter method for the Implementation Object
125  Fnd0FormulaConversionImpl* getFnd0FormulaConversionImpl() const;
126  // Setter method for the Implementation Object
127  ::Teamcenter::RootObjectImpl* setFnd0FormulaConversionImpl( ::Teamcenter::RootObjectImpl* impl );
128 
129  // Method to set the delete impl boolean
130  void setDeleteImpl( bool del );
131 
132  // Pointer to the Implementation object
133  Fnd0FormulaConversionImpl* m_fnd0formulaconversionImpl;
134 
135  // Flag to indicate if Implementation object needs to be deleted
137 
141  static std::string name;
142 
149 
150  friend class Fnd0FormulaConversionDelegate;
151  friend class Fnd0FormulaConversionGenImpl;
152 };
153 
154 #include <Fnd0formulamgmt/libfnd0formulamgmt_undef.h>
155 #endif // TEAMCENTER__FND0FORMULACONVERSION__HXX