Teamcenter C++ API Reference  2312
SavedSearch.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, SavedSearch
12  Filename: SavedSearch.hxx
13  Module: qry
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__SAVEDSEARCH__HXX
18 #define TEAMCENTER__SAVEDSEARCH__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <qry/libqry_exports.h>
27 
28 namespace Teamcenter
29 {
30  class SavedSearch;
31 }
32 namespace Teamcenter
33 {
34  class SavedSearchImpl;
35 }
36 namespace Teamcenter
37 {
38  class SavedSearchDelegate;
39 }
40 namespace Teamcenter
41 {
42  class SavedSearchDispatch;
43 }
44 namespace Teamcenter
45 {
46  class SavedSearchGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class QRY_API Teamcenter::SavedSearch
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getSavedsearch_adhoc_class( std::string &value, bool &isNull ) const;
73 
81  int getSavedsearch_attr_names( std::vector< std::string > &values, std::vector< int > &isNull ) const;
82 
90  int getSavedsearch_attr_values( std::vector< std::string > &values, std::vector< int > &isNull ) const;
91 
99  int getSavedsearch_query( tag_t &value, bool &isNull ) const;
100 
108  int getSavedsearch_result_type( bool &value, bool &isNull ) const;
109 
117  int getShared( bool &value, bool &isNull ) const;
118 
126  int setSavedsearch_adhoc_class( const std::string &value, bool isNull=false );
127 
135  int setSavedsearch_result_type( bool value, bool isNull=false );
136 
144  int setShared( bool value, bool isNull=false );
145 protected:
146  // Method to initialize
147  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
148 
152  SavedSearch();
153 
157  virtual ~SavedSearch();
158 
159 private:
160  // Getter method for the Implementation Object
161  SavedSearchImpl* getSavedSearchImpl() const;
162  // Setter method for the Implementation Object
163  ::Teamcenter::RootObjectImpl* setSavedSearchImpl( ::Teamcenter::RootObjectImpl* impl );
164 
165  // Method to set the delete impl boolean
166  void setDeleteImpl( bool del );
167 
168  // Pointer to the Implementation object
169  SavedSearchImpl* m_savedsearchImpl;
170 
171  // Flag to indicate if Implementation object needs to be deleted
173 
177  static std::string name;
178 
183  SavedSearch( const SavedSearch& );
184  SavedSearch& operator=( const SavedSearch& );
185 
186  friend class SavedSearchDelegate;
187  friend class SavedSearchGenImpl;
188 };
189 
190 #include <qry/libqry_undef.h>
191 #endif // TEAMCENTER__SAVEDSEARCH__HXX