Aspose.Tasks for C++
GraphicalIndicatorsInfo.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="GraphicalIndicatorsInfo.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/array.h>
9 #include <cstdint>
10 
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
12 
13 namespace Aspose
14 {
15 namespace Tasks
16 {
17 class GraphicalIndicatorCriteria;
18 namespace IO
19 {
20 namespace MSProject
21 {
22 class MppGraphicalIndicatorReader;
23 class MppGraphicalIndicatorWriter;
24 } // namespace MSProject
25 } // namespace IO
26 } // namespace Tasks
27 } // namespace Aspose
28 namespace System
29 {
30 namespace Collections
31 {
32 namespace Generic
33 {
34 template <typename> class List;
35 } // namespace Generic
36 } // namespace Collections
37 } // namespace System
38 
39 namespace Aspose {
40 
41 namespace Tasks {
42 
43 /// <summary>
44 /// Represents an graphical indicators definition associated with an extended attribute.
45 /// </summary>
46 class ASPOSE_TASKS_SHARED_CLASS GraphicalIndicatorsInfo final : public System::Object
47 {
49  typedef System::Object BaseType;
50 
51  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
52  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
53 
54  friend class Aspose::Tasks::IO::MSProject::MppGraphicalIndicatorReader;
55  friend class Aspose::Tasks::IO::MSProject::MppGraphicalIndicatorWriter;
56 
57 protected:
58 
59  class ASPOSE_TASKS_SHARED_CLASS CriteriaSplit final : public System::Object
60  {
61  typedef CriteriaSplit ThisType;
62  typedef System::Object BaseType;
63 
64  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
65  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
66 
67  public:
68 
69  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& get_NonSummaryRows() const;
70  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& get_SummaryRows() const;
71  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& get_ProjectSummary() const;
72 
73  ASPOSE_TASKS_SHARED_API CriteriaSplit();
74 
75  protected:
76 
77  #ifdef ASPOSE_GET_SHARED_MEMBERS
78  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
79  #endif
80 
81 
82  private:
83 
84  System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>> pr_NonSummaryRows;
85 
86  ASPOSE_TASKS_SHARED_API void set_NonSummaryRows(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& value);
87 
88  System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>> pr_SummaryRows;
89 
90  ASPOSE_TASKS_SHARED_API void set_SummaryRows(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& value);
91 
92  System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>> pr_ProjectSummary;
93 
94  ASPOSE_TASKS_SHARED_API void set_ProjectSummary(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& value);
95 
96  };
97 
98 
99 public:
100 
101  /// <summary>
102  /// Gets flag indicating whether summary rows inherit criteria from nonsummary rows.
103  /// </summary>
104  ASPOSE_TASKS_SHARED_API bool get_SummaryRowsInheritFromNonSummaryRows() const;
105  /// <summary>
106  /// Sets flag indicating whether summary rows inherit criteria from nonsummary rows.
107  /// </summary>
108  ASPOSE_TASKS_SHARED_API void set_SummaryRowsInheritFromNonSummaryRows(bool value);
109  /// <summary>
110  /// Gets flag indicating whether project summary row inherits criteria from summary rows.
111  /// </summary>
112  ASPOSE_TASKS_SHARED_API bool get_ProjectSummaryInheritFromNonSummaryRows() const;
113  /// <summary>
114  /// Sets flag indicating whether project summary row inherits criteria from summary rows.
115  /// </summary>
116  ASPOSE_TASKS_SHARED_API void set_ProjectSummaryInheritFromNonSummaryRows(bool value);
117  /// <summary>
118  /// Gets flag indicating whether data values for the field should be shown in tooltips.
119  /// </summary>
120  ASPOSE_TASKS_SHARED_API bool get_ShowDataValuesInTooltip() const;
121  /// <summary>
122  /// Sets flag indicating whether data values for the field should be shown in tooltips.
123  /// </summary>
124  ASPOSE_TASKS_SHARED_API void set_ShowDataValuesInTooltip(bool value);
125  /// <summary>
126  /// Gets a list of graphical indicator criteria.
127  /// </summary>
128  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& get_Criteria() const;
129 
130  /// <summary>
131  /// Initializes a new instance of the <see cref="GraphicalIndicatorsInfo"></see> type.
132  /// </summary>
133  ASPOSE_TASKS_SHARED_API GraphicalIndicatorsInfo();
134 
135 protected:
136 
137  ASPOSE_TASKS_SHARED_API const System::ArrayPtr<uint8_t>& get_RawNonSummaryRowsCriteriaRepresentation() const;
138  ASPOSE_TASKS_SHARED_API void set_RawNonSummaryRowsCriteriaRepresentation(const System::ArrayPtr<uint8_t>& value);
139  ASPOSE_TASKS_SHARED_API const System::ArrayPtr<uint8_t>& get_RawSummaryRowsCriteriaRepresentation() const;
140  ASPOSE_TASKS_SHARED_API void set_RawSummaryRowsCriteriaRepresentation(const System::ArrayPtr<uint8_t>& value);
141  ASPOSE_TASKS_SHARED_API const System::ArrayPtr<uint8_t>& get_RawProjectRowCriteriaRepresentation() const;
142  ASPOSE_TASKS_SHARED_API void set_RawProjectRowCriteriaRepresentation(const System::ArrayPtr<uint8_t>& value);
143 
144  ASPOSE_TASKS_SHARED_API System::SharedPtr<GraphicalIndicatorsInfo::CriteriaSplit> SplitByType();
145  #ifdef ASPOSE_GET_SHARED_MEMBERS
146  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
147  #endif
148 
149 
150 private:
151 
152  System::ArrayPtr<uint8_t> pr_RawNonSummaryRowsCriteriaRepresentation;
153  System::ArrayPtr<uint8_t> pr_RawSummaryRowsCriteriaRepresentation;
154  System::ArrayPtr<uint8_t> pr_RawProjectRowCriteriaRepresentation;
155  bool pr_SummaryRowsInheritFromNonSummaryRows;
156  bool pr_ProjectSummaryInheritFromNonSummaryRows;
157  bool pr_ShowDataValuesInTooltip;
158  System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>> pr_Criteria;
159 
160  /// <summary>
161  /// Gets a list of graphical indicator criteria.
162  /// </summary>
163  ASPOSE_TASKS_SHARED_API void set_Criteria(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GraphicalIndicatorCriteria>>>& value);
164 
165 };
166 
167 } // namespace Tasks
168 } // namespace Aspose
169 
170 
Represents an graphical indicators definition associated with an extended attribute.
Definition: GraphicalIndicatorsInfo.h:47
void set_SummaryRowsInheritFromNonSummaryRows(bool value)
Sets flag indicating whether summary rows inherit criteria from nonsummary rows.
bool get_ShowDataValuesInTooltip() const
Gets flag indicating whether data values for the field should be shown in tooltips.
bool get_SummaryRowsInheritFromNonSummaryRows() const
Gets flag indicating whether summary rows inherit criteria from nonsummary rows.
bool get_ProjectSummaryInheritFromNonSummaryRows() const
Gets flag indicating whether project summary row inherits criteria from summary rows.
void set_ProjectSummaryInheritFromNonSummaryRows(bool value)
Sets flag indicating whether project summary row inherits criteria from summary rows.
GraphicalIndicatorsInfo()
Initializes a new instance of the GraphicalIndicatorsInfo type.
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< GraphicalIndicatorCriteria > > > & get_Criteria() const
Gets a list of graphical indicator criteria.
void set_ShowDataValuesInTooltip(bool value)
Sets flag indicating whether data values for the field should be shown in tooltips.
Definition: Asn.h:13