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