Teamcenter C++ API Reference  2312
VisStructureContext.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, VisStructureContext
12  Filename: VisStructureContext.hxx
13  Module: collabctx
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__VISSTRUCTURECONTEXT__HXX
18 #define TEAMCENTER__VISSTRUCTURECONTEXT__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <collabctx/libcollabctx_exports.h>
26 
27 namespace Teamcenter
28 {
29  class VisStructureContext;
30 }
31 namespace Teamcenter
32 {
33  class VisStructureContextImpl;
34 }
35 namespace Teamcenter
36 {
37  class VisStructureContextDelegate;
38 }
39 namespace Teamcenter
40 {
41  class VisStructureContextDispatch;
42 }
43 namespace Teamcenter
44 {
45  class VisStructureContextGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class COLLABCTX_API Teamcenter::VisStructureContext
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getFnd0bg_occurrences( std::vector< std::string > &values, std::vector< int > &isNull ) const;
72 
80  int getFnd0searchRecipe( tag_t &value, bool &isNull ) const;
81 
89  int getFnd0sel_bg_occurrences( std::vector< std::string > &values, std::vector< int > &isNull ) const;
90 
98  int getFnd0sel_target_occurrences( std::vector< std::string > &values, std::vector< int > &isNull ) const;
99 
107  int getFnd0target_occurrences( std::vector< std::string > &values, std::vector< int > &isNull ) const;
108 
116  int getOccurrence_list( std::vector< std::string > &values, std::vector< int > &isNull ) const;
117 
125  int getStatic_structure_file( tag_t &value, bool &isNull ) const;
126 
134  int setFnd0searchRecipe( const tag_t &value, bool isNull=false );
135 
143  int setOccurrence_list( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
144 
152  int setStatic_structure_file( const tag_t &value, bool isNull=false );
153 protected:
154  // Method to initialize
155  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
156 
161 
165  virtual ~VisStructureContext();
166 
167 private:
168  // Getter method for the Implementation Object
169  VisStructureContextImpl* getVisStructureContextImpl() const;
170  // Setter method for the Implementation Object
171  ::Teamcenter::RootObjectImpl* setVisStructureContextImpl( ::Teamcenter::RootObjectImpl* impl );
172 
173  // Method to set the delete impl boolean
174  void setDeleteImpl( bool del );
175 
176  // Pointer to the Implementation object
177  VisStructureContextImpl* m_visstructurecontextImpl;
178 
179  // Flag to indicate if Implementation object needs to be deleted
181 
185  static std::string name;
186 
193 
194  friend class VisStructureContextDelegate;
195  friend class VisStructureContextGenImpl;
196 };
197 
198 #include <collabctx/libcollabctx_undef.h>
199 #endif // TEAMCENTER__VISSTRUCTURECONTEXT__HXX