Teamcenter C++ API Reference  2312
ConfigurationExprLiteral.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, ConfigurationExprLiteral
12  Filename: ConfigurationExprLiteral.hxx
13  Module: fnd0booleansolve
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CONFIGURATIONEXPRLITERAL__HXX
18 #define TEAMCENTER__CONFIGURATIONEXPRLITERAL__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <fnd0booleansolve/libfnd0booleansolve_exports.h>
26 
27 namespace Teamcenter
28 {
29  class ConfigurationExprLiteral;
30 }
31 namespace Teamcenter
32 {
33  class ConfigurationExprLiteralImpl;
34 }
35 namespace Teamcenter
36 {
37  class ConfigurationExprLiteralDelegate;
38 }
39 namespace Teamcenter
40 {
41  class ConfigurationExprLiteralDispatch;
42 }
43 namespace Teamcenter
44 {
45  class ConfigurationExprLiteralGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class FND0BOOLEANSOLVE_API Teamcenter::ConfigurationExprLiteral
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getFamily( tag_t &value, bool &isNull ) const;
72 
80  int getOperator( int &value, bool &isNull ) const;
81 
89  int getValue_date( date_t &value, bool &isNull ) const;
90 
98  int getValue_numeric( double &value, bool &isNull ) const;
99 
107  int getValue_text( std::string &value, bool &isNull ) const;
108 
116  int setFamily( const tag_t &value, bool isNull=false );
117 
125  int setOperator( int value, bool isNull=false );
126 
134  int setValue_date( const date_t &value, bool isNull=false );
135 
143  int setValue_numeric( double value, bool isNull=false );
144 
152  int setValue_text( const std::string &value, bool isNull=false );
153 protected:
154  // Method to initialize
155  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
156 
161 
165  virtual ~ConfigurationExprLiteral();
166 
167 private:
168  // Getter method for the Implementation Object
169  ConfigurationExprLiteralImpl* getConfigurationExprLiteralImpl() const;
170  // Setter method for the Implementation Object
171  ::Teamcenter::RootObjectImpl* setConfigurationExprLiteralImpl( ::Teamcenter::RootObjectImpl* impl );
172 
173  // Method to set the delete impl boolean
174  void setDeleteImpl( bool del );
175 
176  // Pointer to the Implementation object
177  ConfigurationExprLiteralImpl* m_configurationexprliteralImpl;
178 
179  // Flag to indicate if Implementation object needs to be deleted
181 
185  static std::string name;
186 
193 
194  friend class ConfigurationExprLiteralDelegate;
195  friend class ConfigurationExprLiteralGenImpl;
196 };
197 
198 #include <fnd0booleansolve/libfnd0booleansolve_undef.h>
199 #endif // TEAMCENTER__CONFIGURATIONEXPRLITERAL__HXX