Aspose.Tasks for C++
TaskUsageView.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="TaskUsageView.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <cstdint>
9 
10 #include "aspose.tasks.cpp/UsageView.h"
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
12 
13 namespace Aspose
14 {
15 namespace Tasks
16 {
17 namespace IO
18 {
19 namespace MSProject
20 {
21 class MPP12UsageDetailStyleReader;
22 class MPP14UsageDetailStyleReader;
23 class MPP9UsageDetailStyleReader;
24 class MPPViewReader;
25 } // namespace MSProject
26 } // namespace IO
27 class TaskUsageViewFieldCollection;
28 namespace Visualization
29 {
30 class ApsTaskUsageBuilder;
31 class TaskUsageViewDetailsColumn;
32 } // namespace Visualization
33 } // namespace Tasks
34 } // namespace Aspose
35 
36 namespace Aspose {
37 
38 namespace Tasks {
39 
40 /// <summary>
41 /// Represents task usage view in a project.
42 /// </summary>
43 class ASPOSE_TASKS_SHARED_CLASS TaskUsageView : public Aspose::Tasks::UsageView
44 {
45  typedef TaskUsageView ThisType;
47 
48  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
49  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
50 
51  friend class Aspose::Tasks::IO::MSProject::MPP12UsageDetailStyleReader;
52  friend class Aspose::Tasks::IO::MSProject::MPPViewReader;
53  friend class Aspose::Tasks::IO::MSProject::MPP14UsageDetailStyleReader;
54  friend class Aspose::Tasks::IO::MSProject::MPP9UsageDetailStyleReader;
55  friend class Aspose::Tasks::Visualization::ApsTaskUsageBuilder;
56  friend class Aspose::Tasks::Visualization::TaskUsageViewDetailsColumn;
57 
58 public:
59 
60  /// <summary>
61  /// Gets <see cref="TaskUsageViewFieldCollection"></see> object of this TaskUsageView.
62  /// </summary>
63  ASPOSE_TASKS_SHARED_API const System::SharedPtr<TaskUsageViewFieldCollection>& get_FieldCollection() const;
64 
65 protected:
66 
67  /// <summary>
68  /// Gets <see cref="TaskUsageViewFieldCollection"></see> object of this TaskUsageView.
69  /// </summary>
70  ASPOSE_TASKS_SHARED_API void set_FieldCollection(const System::SharedPtr<TaskUsageViewFieldCollection>& value);
71 
72  ASPOSE_TASKS_SHARED_API TaskUsageView(int32_t uid);
73 
74  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(TaskUsageView, CODEPORTING_ARGS(int32_t uid));
75 
76  ASPOSE_TASKS_SHARED_API TaskUsageView();
77 
78  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(TaskUsageView, CODEPORTING_ARGS());
79  #ifdef ASPOSE_GET_SHARED_MEMBERS
80  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
81  #endif
82 
83 
84 private:
85 
86  System::SharedPtr<TaskUsageViewFieldCollection> pr_FieldCollection;
87 
88  void Init();
89 
90 };
91 
92 } // namespace Tasks
93 } // namespace Aspose
94 
95 
Represents task usage view in a project.
Definition: TaskUsageView.h:44
const System::SharedPtr< TaskUsageViewFieldCollection > & get_FieldCollection() const
Gets TaskUsageViewFieldCollection object of this TaskUsageView.
Represent a usage view in a project.
Definition: UsageView.h:37
Definition: Asn.h:13