Teamcenter C++ API Reference  2312
NameRulePattern.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, NameRulePattern
12  Filename: NameRulePattern.hxx
13  Module: property
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__NAMERULEPATTERN__HXX
18 #define TEAMCENTER__NAMERULEPATTERN__HXX
19 
20 #include <vector>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <property/libproperty_exports.h>
26 
27 namespace Teamcenter
28 {
29  class NameRulePattern;
30 }
31 namespace Teamcenter
32 {
33  class NameRulePatternImpl;
34 }
35 namespace Teamcenter
36 {
37  class NameRulePatternDelegate;
38 }
39 namespace Teamcenter
40 {
41  class NameRulePatternDispatch;
42 }
43 namespace Teamcenter
44 {
45  class NameRulePatternGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class PROPERTY_API Teamcenter::NameRulePattern
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getAutogen( bool &value, bool &isNull ) const;
72 
80  int getCounter_tags( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
81 
89  int getPattern( std::string &value, bool &isNull ) const;
90 
98  int getPattern_desc( std::string &value, bool &isNull ) const;
99 
107  int setAutogen( bool value, bool isNull=false );
108 
116  int setCounter_tags( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
117 
125  int setPattern( const std::string &value, bool isNull=false );
126 
134  int setPattern_desc( const std::string &value, bool isNull=false );
135 
143  int getFnd0CounterGroupTags( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
144 
152  int setFnd0CounterGroupTags( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
153 protected:
154  // Method to initialize
155  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
156 
160  NameRulePattern();
161 
165  virtual ~NameRulePattern();
166 
167 private:
168  // Getter method for the Implementation Object
169  NameRulePatternImpl* getNameRulePatternImpl() const;
170  // Setter method for the Implementation Object
171  ::Teamcenter::RootObjectImpl* setNameRulePatternImpl( ::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  NameRulePatternImpl* m_namerulepatternImpl;
178 
179  // Flag to indicate if Implementation object needs to be deleted
181 
185  static std::string name;
186 
193 
194  friend class NameRulePatternDelegate;
195  friend class NameRulePatternGenImpl;
196 };
197 
198 #include <property/libproperty_undef.h>
199 #endif // TEAMCENTER__NAMERULEPATTERN__HXX