Teamcenter C++ API Reference  2312
Fnd0ClientContext.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, Fnd0ClientContext
12  Filename: Fnd0ClientContext.hxx
13  Module: awp0aws2
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__FND0CLIENTCONTEXT__HXX
18 #define TEAMCENTER__FND0CLIENTCONTEXT__HXX
19 
20 #include <string>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <awp0aws2/libawp0aws2_exports.h>
26 
27 namespace Teamcenter
28 {
29  class Fnd0ClientContext;
30 }
31 namespace Teamcenter
32 {
33  class Fnd0ClientContextImpl;
34 }
35 namespace Teamcenter
36 {
37  class Fnd0ClientContextDelegate;
38 }
39 namespace Teamcenter
40 {
41  class Fnd0ClientContextDispatch;
42 }
43 namespace Teamcenter
44 {
45  class Fnd0ClientContextGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class AWP0AWS2_API Teamcenter::Fnd0ClientContext
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getFnd0ClientScope( tag_t &value, bool &isNull ) const;
72 
80  int getFnd0Selection( tag_t &value, bool &isNull ) const;
81 
89  int awp0GetContextValueBool( const std::string &contextName, bool &contextValue );
90 
98  int awp0GetContextValueDouble( const std::string &contextName, double &contextValue );
99 
107  int awp0GetContextValueInt( const std::string &contextName, int &contextValue );
108 
116  int awp0GetContextValueTag( const std::string &contextName, tag_t &contextValue );
117 
125  int fnd0getContextValue( const std::string &contextName, std::string &contextValue );
126 protected:
127  // Method to initialize
128  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
129 
134 
138  virtual ~Fnd0ClientContext();
139 
140 private:
141  // Getter method for the Implementation Object
142  Fnd0ClientContextImpl* getFnd0ClientContextImpl() const;
143  // Setter method for the Implementation Object
144  ::Teamcenter::RootObjectImpl* setFnd0ClientContextImpl( ::Teamcenter::RootObjectImpl* impl );
145 
146  // Method to set the delete impl boolean
147  void setDeleteImpl( bool del );
148 
149  // Pointer to the Implementation object
150  Fnd0ClientContextImpl* m_fnd0clientcontextImpl;
151 
152  // Flag to indicate if Implementation object needs to be deleted
154 
158  static std::string name;
159 
166 
167  friend class Fnd0ClientContextDelegate;
168  friend class Fnd0ClientContextGenImpl;
169 };
170 
171 #include <awp0aws2/libawp0aws2_undef.h>
172 #endif // TEAMCENTER__FND0CLIENTCONTEXT__HXX