Teamcenter C++ API Reference  2312
Condition.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, Condition
12  Filename: Condition.hxx
13  Module: ce
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CONDITION__HXX
18 #define TEAMCENTER__CONDITION__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <ce/libce_exports.h>
26 
27 namespace Teamcenter
28 {
29  class Condition;
30 }
31 namespace Teamcenter
32 {
33  class ConditionImpl;
34 }
35 namespace Teamcenter
36 {
37  class ConditionDelegate;
38 }
39 namespace Teamcenter
40 {
41  class ConditionDispatch;
42 }
43 namespace Teamcenter
44 {
45  class ConditionGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class CE_API Teamcenter::Condition
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getCondition_desc( std::string &value, bool &isNull ) const;
72 
80  int getCondition_name( std::string &value, bool &isNull ) const;
81 
89  int getExpression( std::string &value, bool &isNull ) const;
90 
98  int getParameters( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
99 
107  int getSecure_flag( bool &value, bool &isNull ) const;
108 
116  int setCondition_desc( const std::string &value, bool isNull=false );
117 
125  int setCondition_name( const std::string &value, bool isNull=false );
126 
134  int setExpression( const std::string &value, bool isNull=false );
135 
143  int setParameters( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
144 
152  int setSecure_flag( bool value, bool isNull=false );
153 protected:
154  // Method to initialize
155  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
156 
160  Condition();
161 
165  virtual ~Condition();
166 
167 private:
168  // Getter method for the Implementation Object
169  ConditionImpl* getConditionImpl() const;
170  // Setter method for the Implementation Object
171  ::Teamcenter::RootObjectImpl* setConditionImpl( ::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  ConditionImpl* m_conditionImpl;
178 
179  // Flag to indicate if Implementation object needs to be deleted
181 
185  static std::string name;
186 
191  Condition( const Condition& );
192  Condition& operator=( const Condition& );
193 
194  friend class ConditionDelegate;
195  friend class ConditionGenImpl;
196 };
197 
198 #include <ce/libce_undef.h>
199 #endif // TEAMCENTER__CONDITION__HXX