Teamcenter C++ API Reference  2312
Mem0MemoryContent.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, Mem0MemoryContent
12  Filename: Mem0MemoryContent.hxx
13  Module: Mem0memmgt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CCDM__MEM0MEMORYCONTENT__HXX
18 #define CCDM__MEM0MEMORYCONTENT__HXX
19 
20 #include <vector>
21 #include <common/tc_deprecation_macros.h>
22 #include <tccore/POM_object.hxx>
23 
24 #include <Mem0memmgt/libmem0memmgt_exports.h>
25 
26 namespace ccdm
27 {
28  class Mem0MemoryContent;
29 }
30 namespace ccdm
31 {
32  class Mem0MemoryContentImpl;
33 }
34 namespace ccdm
35 {
36  class Mem0MemoryContentDelegate;
37 }
38 namespace ccdm
39 {
40  class Mem0MemoryContentDispatch;
41 }
42 namespace ccdm
43 {
44  class Mem0MemoryContentGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class MEM0MEMMGT_API ccdm::Mem0MemoryContent
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getMem0MemoryBlocks( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
71 
79  int getMem0MemoryRecords( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
80 
88  int setMem0MemoryBlocks( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
89 
97  int setMem0MemoryRecords( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
98 protected:
99  // Method to initialize
100  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
101 
106 
110  virtual ~Mem0MemoryContent();
111 
112 private:
113  // Getter method for the Implementation Object
114  Mem0MemoryContentImpl* getMem0MemoryContentImpl() const;
115  // Setter method for the Implementation Object
116  ::Teamcenter::RootObjectImpl* setMem0MemoryContentImpl( ::Teamcenter::RootObjectImpl* impl );
117 
118  // Method to set the delete impl boolean
119  void setDeleteImpl( bool del );
120 
121  // Pointer to the Implementation object
122  Mem0MemoryContentImpl* m_mem0memorycontentImpl;
123 
124  // Flag to indicate if Implementation object needs to be deleted
126 
130  static std::string name;
131 
138 
139  friend class Mem0MemoryContentDelegate;
140  friend class Mem0MemoryContentGenImpl;
141 };
142 
143 #include <Mem0memmgt/libmem0memmgt_undef.h>
144 #endif // CCDM__MEM0MEMORYCONTENT__HXX