Teamcenter C++ API Reference  2312
Fnd0ConditionHelper.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, Fnd0ConditionHelper
12  Filename: Fnd0ConditionHelper.hxx
13  Module: ce
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__FND0CONDITIONHELPER__HXX
18 #define TEAMCENTER__FND0CONDITIONHELPER__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <ce/libce_exports.h>
26 
27 namespace Teamcenter
28 {
29  class Fnd0ConditionHelper;
30 }
31 namespace Teamcenter
32 {
33  class Fnd0ConditionHelperImpl;
34 }
35 namespace Teamcenter
36 {
37  class Fnd0ConditionHelperDelegate;
38 }
39 namespace Teamcenter
40 {
41  class Fnd0ConditionHelperDispatch;
42 }
43 namespace Teamcenter
44 {
45  class Fnd0ConditionHelperGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class CE_API Teamcenter::Fnd0ConditionHelper
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
73  int fnd0getPropValueOnRefObj( tag_t object, std::string &refPropName, std::string &refPropName2, std::string &refPropValue );
74 
82  int fnd0isNullDate( const date_t date, bool *isNull );
83 
91  int fnd0isPreferenceSet( const std::string &prefName, bool &result );
92 
101  int fnd0isSubGroupOf( const tag_t group, const std::string &parentGroupName, bool *result );
102 
111  int fnd0isSubTypeOf( tag_t target, const std::string &parentTypeName, bool *result );
112 
121  int fnd0isValuePresentInPref( std::string &prefName, std::string &prefValue, bool *isMatched );
122 
129  int fnd0Now( date_t *now );
130 protected:
131  // Method to initialize
132  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
133 
138 
142  virtual ~Fnd0ConditionHelper();
143 
144 private:
145  // Getter method for the Implementation Object
146  Fnd0ConditionHelperImpl* getFnd0ConditionHelperImpl() const;
147  // Setter method for the Implementation Object
148  ::Teamcenter::RootObjectImpl* setFnd0ConditionHelperImpl( ::Teamcenter::RootObjectImpl* impl );
149 
150  // Method to set the delete impl boolean
151  void setDeleteImpl( bool del );
152 
153  // Pointer to the Implementation object
154  Fnd0ConditionHelperImpl* m_fnd0conditionhelperImpl;
155 
156  // Flag to indicate if Implementation object needs to be deleted
158 
162  static std::string name;
163 
170 
171  friend class Fnd0ConditionHelperDelegate;
172  friend class Fnd0ConditionHelperGenImpl;
173 };
174 
175 #include <ce/libce_undef.h>
176 #endif // TEAMCENTER__FND0CONDITIONHELPER__HXX