Teamcenter C++ API Reference  2312
Mdl0SearchSavedQuery.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, Mdl0SearchSavedQuery
12  Filename: Mdl0SearchSavedQuery.hxx
13  Module: mdl0model
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__APPMODEL__MDL0SEARCHSAVEDQUERY__HXX
18 #define TEAMCENTER__APPMODEL__MDL0SEARCHSAVEDQUERY__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <mdl0model/libmdl0model_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace AppModel
30  {
31  class Mdl0SearchSavedQuery;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace AppModel
37  {
38  class Mdl0SearchSavedQueryImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace AppModel
44  {
45  class Mdl0SearchSavedQueryDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace AppModel
51  {
52  class Mdl0SearchSavedQueryDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace AppModel
58  {
59  class Mdl0SearchSavedQueryGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class MDL0MODEL_API Teamcenter::AppModel::Mdl0SearchSavedQuery
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getMdl0entries( std::vector< std::string > &values, std::vector< int > &isNull ) const;
87 
95  int getMdl0query( tag_t &value, bool &isNull ) const;
96 
104  int getMdl0values( std::vector< std::string > &values, std::vector< int > &isNull ) const;
105 
113  int setMdl0entries( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
114 
122  int setMdl0query( const tag_t &value, bool isNull=false );
123 
131  int setMdl0values( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
132 protected:
133  // Method to initialize
134  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
135 
140 
144  virtual ~Mdl0SearchSavedQuery();
145 
146 private:
147  // Getter method for the Implementation Object
148  Mdl0SearchSavedQueryImpl* getMdl0SearchSavedQueryImpl() const;
149  // Setter method for the Implementation Object
150  ::Teamcenter::RootObjectImpl* setMdl0SearchSavedQueryImpl( ::Teamcenter::RootObjectImpl* impl );
151 
152  // Method to set the delete impl boolean
153  void setDeleteImpl( bool del );
154 
155  // Pointer to the Implementation object
156  Mdl0SearchSavedQueryImpl* m_mdl0searchsavedqueryImpl;
157 
158  // Flag to indicate if Implementation object needs to be deleted
160 
164  static std::string name;
165 
172 
173  friend class Mdl0SearchSavedQueryDelegate;
174  friend class Mdl0SearchSavedQueryGenImpl;
175 };
176 
177 #include <mdl0model/libmdl0model_undef.h>
178 #endif // TEAMCENTER__APPMODEL__MDL0SEARCHSAVEDQUERY__HXX