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;
42 class ASPOSE_TASKS_SHARED_CLASS
Filter final :
public System::IComparable<System::SharedPtr<Aspose::Tasks::Filter>>,
public System::IEquatable<System::SharedPtr<Aspose::Tasks::Filter>>
45 typedef System::IComparable<System::SharedPtr<Aspose::Tasks::Filter>> BaseType;
46 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Filter>> BaseType1;
48 typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
49 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
51 friend class Aspose::Tasks::IO::MSProject::MPPFilterWriter;
53 friend class Aspose::Tasks::IO::MSProject::MPP9GanttChartReader;
54 friend class Aspose::Tasks::IO::MSProject::MPPFilterReader;
55 friend class Aspose::Tasks::IO::MSProject::MPP14GanttChartReader;
56 friend ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
57 friend ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
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);
76 ASPOSE_TASKS_SHARED_API System::String
get_Name()
const;
80 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
104 ASPOSE_TASKS_SHARED_API int32_t
get_Uid()
const;
108 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<FilterCriteria>&
get_Criteria()
const;
112 ASPOSE_TASKS_SHARED_API
void set_Criteria(
const System::SharedPtr<FilterCriteria>& value);
119 ASPOSE_TASKS_SHARED_API int32_t
CompareTo(System::SharedPtr<Filter> other)
override;
125 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Filter> other)
override;
131 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
138 ASPOSE_TASKS_SHARED_API
Filter();
145 ASPOSE_TASKS_SHARED_API
void set_Index(int32_t value);
149 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
151 virtual ASPOSE_TASKS_SHARED_API ~
Filter();
153 #ifdef ASPOSE_GET_SHARED_MEMBERS
154 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
160 static const int32_t MaxNameLength;
162 ItemType pr_FilterType;
164 bool pr_ShowRelatedSummaryRows;
167 System::SharedPtr<FilterCriteria> pr_Criteria;
169 System::String get_DebuggerDisplay();
171 System::String GetFilterTypeString();
175 ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
176 ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Filter>& a,
const System::SharedPtr<Filter>& b);
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);
Contains a list of Filter objects. Implements ICollection<Filter> interface.
Definition: FilterCollection.h:52
Represents a filter in Project.
Definition: Filter.h:43
int32_t get_Index() const
Gets the index of a Filter object in the Filters containing object.
void set_Name(const System::String &value)
Sets the name of a Filter object.
bool get_ShowRelatedSummaryRows() const
Gets a value indicating whether related summary rows are displayed for the filter.
bool get_ShowInMenu() const
Gets a value indicating whether project shows the filter name in the Filter drop-down list on the Vie...
ItemType get_FilterType() const
Gets the type of the filter.
void set_ShowRelatedSummaryRows(bool value)
Sets a value indicating whether related summary rows are displayed for the filter.
int32_t GetHashCode() const override
Returns a hash code value for the filter.
int32_t CompareTo(System::SharedPtr< Filter > other) override
Compares this instance to the specified instance of the Filter class and returns an indication of the...
bool Equals(System::SharedPtr< System::Object > obj) override
Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.
System::String get_Name() const
Gets the name of a Filter object.
int32_t get_Uid() const
Gets the unique identifier of a filter.
bool Equals(System::SharedPtr< Filter > other) override
Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.
void set_ShowInMenu(bool value)
Sets a value indicating whether project shows the filter name in the Filter drop-down list on the Vie...
void set_Criteria(const System::SharedPtr< FilterCriteria > &value)
Sets the criteria that tasks or resources must meet to be displayed in MSP view.
void set_FilterType(ItemType value)
Gets the type of the filter.
const System::SharedPtr< FilterCriteria > & get_Criteria() const
Gets the criteria that tasks or resources must meet to be displayed in MSP view.