Teamcenter C++ API Reference  2312
Library.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, Library
12  Filename: Library.hxx
13  Module: meta
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__LIBRARY__HXX
18 #define TEAMCENTER__LIBRARY__HXX
19 
20 #include <unidefs.h>
21 #include <vector>
22 #include <string>
23 #include <common/tc_deprecation_macros.h>
24 #include <tccore/POM_object.hxx>
25 
26 #include <meta/libmeta_exports.h>
27 
28 namespace Teamcenter
29 {
30  class Library;
31 }
32 namespace Teamcenter
33 {
34  class LibraryImpl;
35 }
36 namespace Teamcenter
37 {
38  class LibraryDelegate;
39 }
40 namespace Teamcenter
41 {
42  class LibraryDispatch;
43 }
44 namespace Teamcenter
45 {
46  class LibraryGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class META_API Teamcenter::Library
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getCreateRelease( tag_t &value, bool &isNull ) const;
73 
81  int getDependentOn( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
82 
90  int getDeprecatedDescription( std::string &value, bool &isNull ) const;
91 
99  int getDeprecatedRelease( tag_t &value, bool &isNull ) const;
100 
108  int getDescription( std::string &value, bool &isNull ) const;
109 
117  int getIsDeprecated( bool &value, bool &isNull ) const;
118 
126  int getIsThirdParty( bool &value, bool &isNull ) const;
127 
135  int getName( std::string &value, bool &isNull ) const;
136 
144  int getNamespace( std::string &value, bool &isNull ) const;
145 
153  int getServiceLibrary( bool &value, bool &isNull ) const;
154 
162  int setCreateRelease( const tag_t &value, bool isNull=false );
163 
171  int setDependentOn( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
172 
180  int setDeprecatedDescription( const std::string &value, bool isNull=false );
181 
189  int setDeprecatedRelease( const tag_t &value, bool isNull=false );
190 
198  int setDescription( const std::string &value, bool isNull=false );
199 
207  int setIsDeprecated( bool value, bool isNull=false );
208 
216  int setIsThirdParty( bool value, bool isNull=false );
217 
225  int setName( const std::string &value, bool isNull=false );
226 
234  int setNamespace( const std::string &value, bool isNull=false );
235 
243  int setServiceLibrary( bool value, bool isNull=false );
244 protected:
245  // Method to initialize
246  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
247 
251  Library();
252 
256  virtual ~Library();
257 
258 private:
259  // Getter method for the Implementation Object
260  LibraryImpl* getLibraryImpl() const;
261  // Setter method for the Implementation Object
262  ::Teamcenter::RootObjectImpl* setLibraryImpl( ::Teamcenter::RootObjectImpl* impl );
263 
264  // Method to set the delete impl boolean
265  void setDeleteImpl( bool del );
266 
267  // Pointer to the Implementation object
268  LibraryImpl* m_libraryImpl;
269 
270  // Flag to indicate if Implementation object needs to be deleted
272 
276  static std::string name;
277 
282  Library( const Library& );
283  Library& operator=( const Library& );
284 
285  friend class LibraryDelegate;
286  friend class LibraryGenImpl;
287 };
288 
289 #include <meta/libmeta_undef.h>
290 #endif // TEAMCENTER__LIBRARY__HXX