Teamcenter C++ API Reference  2312
TaskDependency.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, TaskDependency
12  Filename: TaskDependency.hxx
13  Module: schmgt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__TASKDEPENDENCY__HXX
18 #define TEAMCENTER__TASKDEPENDENCY__HXX
19 
20 #include <common/tc_deprecation_macros.h>
21 #include <tccore/ImanRelation.hxx>
22 
23 #include <schmgt/libschmgt_exports.h>
24 
25 namespace Teamcenter
26 {
27  class TaskDependency;
28 }
29 namespace Teamcenter
30 {
31  class TaskDependencyImpl;
32 }
33 namespace Teamcenter
34 {
35  class TaskDependencyDelegate;
36 }
37 namespace Teamcenter
38 {
39  class TaskDependencyDispatch;
40 }
41 namespace Teamcenter
42 {
43  class TaskDependencyGenImpl;
44 }
45 namespace Teamcenter
46 {
47  class RootObjectImpl;
48 }
49 
50 class SCHMGT_API Teamcenter::TaskDependency
52 {
53 public:
54 
59  static const std::string& getInterfaceName();
60 
61 
69  int getDependency_type( int &value, bool &isNull ) const;
70 
78  int getFnd0WhatIfMode( int &value, bool &isNull ) const;
79 
87  int getLag_time( int &value, bool &isNull ) const;
88 
96  int setDependency_type( int value, bool isNull=false );
97 
105  int setFnd0WhatIfMode( int value, bool isNull=false );
106 
114  int setLag_time( int value, bool isNull=false );
115 protected:
116  // Method to initialize
117  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
118 
122  TaskDependency();
123 
127  virtual ~TaskDependency();
128 
129 private:
130  // Getter method for the Implementation Object
131  TaskDependencyImpl* getTaskDependencyImpl() const;
132  // Setter method for the Implementation Object
133  ::Teamcenter::RootObjectImpl* setTaskDependencyImpl( ::Teamcenter::RootObjectImpl* impl );
134 
135  // Method to set the delete impl boolean
136  void setDeleteImpl( bool del );
137 
138  // Pointer to the Implementation object
139  TaskDependencyImpl* m_taskdependencyImpl;
140 
141  // Flag to indicate if Implementation object needs to be deleted
143 
147  static std::string name;
148 
153  TaskDependency( const TaskDependency& );
155 
156  friend class TaskDependencyDelegate;
157  friend class TaskDependencyGenImpl;
158 };
159 
160 #include <schmgt/libschmgt_undef.h>
161 #endif // TEAMCENTER__TASKDEPENDENCY__HXX