Teamcenter C++ API Reference  2312
Clr0AppearanceUsage.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, Clr0AppearanceUsage
12  Filename: Clr0AppearanceUsage.hxx
13  Module: Clr0colorappearance
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CLR0COLORAPPEARANCE__CLR0APPEARANCEUSAGE__HXX
18 #define CLR0COLORAPPEARANCE__CLR0APPEARANCEUSAGE__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <Clr0colorappearance/libclr0colorappearance_exports.h>
26 
27 namespace Clr0ColorAppearance
28 {
29  class Clr0AppearanceUsage;
30 }
31 namespace Clr0ColorAppearance
32 {
33  class Clr0AppearanceUsageImpl;
34 }
35 namespace Clr0ColorAppearance
36 {
37  class Clr0AppearanceUsageDelegate;
38 }
39 namespace Clr0ColorAppearance
40 {
41  class Clr0AppearanceUsageDispatch;
42 }
43 namespace Clr0ColorAppearance
44 {
45  class Clr0AppearanceUsageGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class CLR0COLORAPPEARANCE_API Clr0ColorAppearance::Clr0AppearanceUsage
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getClr0Appearance( tag_t &value, bool &isNull ) const;
72 
80  int getClr0AppearanceBlock( tag_t &value, bool &isNull ) const;
81 
89  int getClr0SurfaceDesignator( std::string &value, bool &isNull ) const;
90 
98  int setClr0SurfaceDesignator( const std::string &value, bool isNull=false );
99 protected:
100  // Method to initialize
101  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
102 
107 
111  virtual ~Clr0AppearanceUsage();
112 
113 private:
114  // Getter method for the Implementation Object
115  Clr0AppearanceUsageImpl* getClr0AppearanceUsageImpl() const;
116  // Setter method for the Implementation Object
117  ::Teamcenter::RootObjectImpl* setClr0AppearanceUsageImpl( ::Teamcenter::RootObjectImpl* impl );
118 
119  // Method to set the delete impl boolean
120  void setDeleteImpl( bool del );
121 
122  // Pointer to the Implementation object
123  Clr0AppearanceUsageImpl* m_clr0appearanceusageImpl;
124 
125  // Flag to indicate if Implementation object needs to be deleted
127 
131  static std::string name;
132 
139 
140  friend class Clr0AppearanceUsageDelegate;
141  friend class Clr0AppearanceUsageGenImpl;
142 };
143 
144 #include <Clr0colorappearance/libclr0colorappearance_undef.h>
145 #endif // CLR0COLORAPPEARANCE__CLR0APPEARANCEUSAGE__HXX