8 #include <system/string.h>
9 #include <system/iequatable.h>
10 #include <system/icomparable.h>
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 class FilterCollection;
25 class MPP14GanttChartReader;
26 class MPP9GanttChartReader;
27 class MPPFilterReader;
28 class MPPFilterWriter;
32 class ProjectIntegrityValidator;
43 class ASPOSE_TASKS_SHARED_CLASS
Filter final :
public System::IComparable<System::SharedPtr<Aspose::Tasks::Filter>>,
public System::IEquatable<System::SharedPtr<Aspose::Tasks::Filter>>
46 typedef System::IComparable<System::SharedPtr<Aspose::Tasks::Filter>> BaseType;
47 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Filter>> BaseType1;
49 typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
50 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
52 friend class Aspose::Tasks::IO::MSProject::MPPFilterWriter;
54 friend class Aspose::Tasks::IO::MSProject::MPP9GanttChartReader;
55 friend class Aspose::Tasks::ProjectIntegrityValidator;
56 friend class Aspose::Tasks::IO::MSProject::MPPFilterReader;
57 friend class Aspose::Tasks::IO::MSProject::MPP14GanttChartReader;
58 friend ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
59 friend ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
60 friend ASPOSE_TASKS_SHARED_API
bool operator <(const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
61 friend ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
62 friend ASPOSE_TASKS_SHARED_API
bool operator >=(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
63 friend ASPOSE_TASKS_SHARED_API
bool operator <=(const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
70 ASPOSE_TASKS_SHARED_API ItemType get_FilterType()
const;
74 ASPOSE_TASKS_SHARED_API
void set_FilterType(ItemType value);
78 ASPOSE_TASKS_SHARED_API System::String get_Name()
const;
82 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
86 ASPOSE_TASKS_SHARED_API
bool get_ShowInMenu()
const;
90 ASPOSE_TASKS_SHARED_API
void set_ShowInMenu(
bool value);
94 ASPOSE_TASKS_SHARED_API
bool get_ShowRelatedSummaryRows()
const;
98 ASPOSE_TASKS_SHARED_API
void set_ShowRelatedSummaryRows(
bool value);
102 ASPOSE_TASKS_SHARED_API int32_t get_Index()
const;
106 ASPOSE_TASKS_SHARED_API int32_t get_Uid()
const;
110 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<FilterCriteria>& get_Criteria()
const;
114 ASPOSE_TASKS_SHARED_API
void set_Criteria(
const System::SharedPtr<FilterCriteria>& value);
121 ASPOSE_TASKS_SHARED_API int32_t CompareTo(System::SharedPtr<Filter> other)
override;
127 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Filter> other)
override;
133 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
138 ASPOSE_TASKS_SHARED_API int32_t GetHashCode()
const override;
140 ASPOSE_TASKS_SHARED_API
Filter();
147 ASPOSE_TASKS_SHARED_API
void set_Index(int32_t value);
151 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
153 virtual ASPOSE_TASKS_SHARED_API ~Filter();
155 #ifdef ASPOSE_GET_SHARED_MEMBERS
156 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
162 static const int32_t MaxNameLength;
164 ItemType pr_FilterType;
166 bool pr_ShowRelatedSummaryRows;
169 System::SharedPtr<FilterCriteria> pr_Criteria;
171 System::String get_DebuggerDisplay();
173 System::String GetFilterTypeString();
177 ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
178 ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
179 ASPOSE_TASKS_SHARED_API
bool operator <(const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
180 ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
181 ASPOSE_TASKS_SHARED_API
bool operator >=(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
182 ASPOSE_TASKS_SHARED_API
bool operator <=(const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
Represents a filter in Project.
Definition: Filter.h:43
Contains a list of Filter objects. Implements ICollection<Filter> interface.
Definition: FilterCollection.h:51