Teamcenter C++ API Reference  2312
Folder.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, Folder
12  Filename: Folder.hxx
13  Module: tc
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__FOLDER__HXX
18 #define TEAMCENTER__FOLDER__HXX
19 
20 #include <vector>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <tc/libtc_exports.h>
25 
26 namespace Teamcenter
27 {
28  class Folder;
29 }
30 namespace Teamcenter
31 {
32  class FolderImpl;
33 }
34 namespace Teamcenter
35 {
36  class FolderDelegate;
37 }
38 namespace Teamcenter
39 {
40  class FolderDispatch;
41 }
42 namespace Teamcenter
43 {
44  class FolderGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class TC_API Teamcenter::Folder
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getContents( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
71 protected:
72  // Method to initialize
73  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
74 
78  Folder();
79 
83  virtual ~Folder();
84 
85 private:
86  // Getter method for the Implementation Object
87  FolderImpl* getFolderImpl() const;
88  // Setter method for the Implementation Object
89  ::Teamcenter::RootObjectImpl* setFolderImpl( ::Teamcenter::RootObjectImpl* impl );
90 
91  // Method to set the delete impl boolean
92  void setDeleteImpl( bool del );
93 
94  // Pointer to the Implementation object
95  FolderImpl* m_folderImpl;
96 
97  // Flag to indicate if Implementation object needs to be deleted
99 
103  static std::string name;
104 
109  Folder( const Folder& );
110  Folder& operator=( const Folder& );
111 
112  friend class FolderDelegate;
113  friend class FolderGenImpl;
114 };
115 
116 #include <tc/libtc_undef.h>
117 #endif // TEAMCENTER__FOLDER__HXX