Teamcenter C++ API Reference  2312
Mem0MemoryLayout.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, Mem0MemoryLayout
12  Filename: Mem0MemoryLayout.hxx
13  Module: Mem0memmgt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CCDM__MEM0MEMORYLAYOUT__HXX
18 #define CCDM__MEM0MEMORYLAYOUT__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
22 #include <tccore/Item.hxx>
23 
24 #include <Mem0memmgt/libmem0memmgt_exports.h>
25 
26 namespace ccdm
27 {
28  class Mem0MemoryLayout;
29 }
30 namespace ccdm
31 {
32  class Mem0MemoryLayoutImpl;
33 }
34 namespace ccdm
35 {
36  class Mem0MemoryLayoutDelegate;
37 }
38 namespace ccdm
39 {
40  class Mem0MemoryLayoutDispatch;
41 }
42 namespace ccdm
43 {
44  class Mem0MemoryLayoutGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class MEM0MEMMGT_API ccdm::Mem0MemoryLayout
52  : public ::Teamcenter::Item
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getMem0Attribute( std::string &value, bool &isNull ) const;
71 
79  int getMem0MemoryType( std::string &value, bool &isNull ) const;
80 
88  int getMem0PrgType( std::string &value, bool &isNull ) const;
89 
97  int setMem0Attribute( const std::string &value, bool isNull=false );
98 
106  int setMem0MemoryType( const std::string &value, bool isNull=false );
107 
115  int setMem0PrgType( const std::string &value, bool isNull=false );
116 protected:
117  // Method to initialize
118  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
119 
124 
128  virtual ~Mem0MemoryLayout();
129 
130 private:
131  // Getter method for the Implementation Object
132  Mem0MemoryLayoutImpl* getMem0MemoryLayoutImpl() const;
133  // Setter method for the Implementation Object
134  ::Teamcenter::RootObjectImpl* setMem0MemoryLayoutImpl( ::Teamcenter::RootObjectImpl* impl );
135 
136  // Method to set the delete impl boolean
137  void setDeleteImpl( bool del );
138 
139  // Pointer to the Implementation object
140  Mem0MemoryLayoutImpl* m_mem0memorylayoutImpl;
141 
142  // Flag to indicate if Implementation object needs to be deleted
144 
148  static std::string name;
149 
156 
157  friend class Mem0MemoryLayoutDelegate;
158  friend class Mem0MemoryLayoutGenImpl;
159 };
160 
161 #include <Mem0memmgt/libmem0memmgt_undef.h>
162 #endif // CCDM__MEM0MEMORYLAYOUT__HXX