Aspose.Tasks for C++
Aspose::Tasks::Filter Class Referencefinal

Represents a filter in Project. More...

#include <Filter.h>

Inherits System::IComparable< System::SharedPtr< Aspose::Tasks::Filter > >, and System::IEquatable< System::SharedPtr< Aspose::Tasks::Filter > >.

Public Member Functions

ItemType get_FilterType () const
 Gets the type of the filter. More...
 
void set_FilterType (ItemType value)
 Gets the type of the filter. More...
 
System::String get_Name () const
 Gets the name of a Filter object. More...
 
void set_Name (const System::String &value)
 Sets the name of a Filter object. More...
 
bool get_ShowInMenu () const
 Gets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the Ribbon. More...
 
void set_ShowInMenu (bool value)
 Sets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the Ribbon. More...
 
bool get_ShowRelatedSummaryRows () const
 Gets a value indicating whether related summary rows are displayed for the filter. More...
 
void set_ShowRelatedSummaryRows (bool value)
 Sets a value indicating whether related summary rows are displayed for the filter. More...
 
int32_t get_Index () const
 Gets the index of a Filter object in the Filters containing object. More...
 
int32_t get_Uid () const
 Gets the unique identifier of a filter. More...
 
const System::SharedPtr< FilterCriteria > & get_Criteria () const
 Gets the criteria that tasks or resources must meet to be displayed in MSP view. More...
 
void set_Criteria (const System::SharedPtr< FilterCriteria > &value)
 Sets the criteria that tasks or resources must meet to be displayed in MSP view. More...
 
int32_t CompareTo (System::SharedPtr< Filter > other) override
 Compares this instance to the specified instance of the Filter class and returns an indication of their relative order. More...
 
bool Equals (System::SharedPtr< Filter > other) override
 Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object. More...
 
int32_t GetHashCode () const override
 Returns a hash code value for the filter. More...
 

Detailed Description

Represents a filter in Project.

Member Function Documentation

◆ CompareTo()

int32_t Aspose::Tasks::Filter::CompareTo ( System::SharedPtr< Filter other)
override

Compares this instance to the specified instance of the Filter class and returns an indication of their relative order.

Parameters
otherthe specified instance of the Filter class to compare to this object.
Returns
an indication of their relative order.

◆ Equals() [1/2]

bool Aspose::Tasks::Filter::Equals ( System::SharedPtr< Filter other)
override

Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.

Parameters
otherthe specified AssignmentBaseline object to compare with this instance.
Returns
returns true if this instance is equal to the specified AssignmentBaseline object; otherwise, false.

◆ Equals() [2/2]

bool Aspose::Tasks::Filter::Equals ( System::SharedPtr< System::Object >  obj)
override

Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.

Parameters
objthe specified AssignmentBaseline object to compare with this instance.
Returns
returns true if this instance is equal to the specified AssignmentBaseline object; otherwise, false.

◆ get_Criteria()

const System::SharedPtr<FilterCriteria>& Aspose::Tasks::Filter::get_Criteria ( ) const

Gets the criteria that tasks or resources must meet to be displayed in MSP view.

◆ get_FilterType()

ItemType Aspose::Tasks::Filter::get_FilterType ( ) const

Gets the type of the filter.

◆ get_Index()

int32_t Aspose::Tasks::Filter::get_Index ( ) const

Gets the index of a Filter object in the Filters containing object.

◆ get_Name()

System::String Aspose::Tasks::Filter::get_Name ( ) const

Gets the name of a Filter object.

◆ get_ShowInMenu()

bool Aspose::Tasks::Filter::get_ShowInMenu ( ) const

Gets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the Ribbon.

◆ get_ShowRelatedSummaryRows()

bool Aspose::Tasks::Filter::get_ShowRelatedSummaryRows ( ) const

Gets a value indicating whether related summary rows are displayed for the filter.

◆ get_Uid()

int32_t Aspose::Tasks::Filter::get_Uid ( ) const

Gets the unique identifier of a filter.

◆ GetHashCode()

int32_t Aspose::Tasks::Filter::GetHashCode ( ) const
override

Returns a hash code value for the filter.

Returns
returns a hash code value for this object.

◆ set_Criteria()

void Aspose::Tasks::Filter::set_Criteria ( const System::SharedPtr< FilterCriteria > &  value)

Sets the criteria that tasks or resources must meet to be displayed in MSP view.

◆ set_FilterType()

void Aspose::Tasks::Filter::set_FilterType ( ItemType  value)

Gets the type of the filter.

◆ set_Name()

void Aspose::Tasks::Filter::set_Name ( const System::String &  value)

Sets the name of a Filter object.

◆ set_ShowInMenu()

void Aspose::Tasks::Filter::set_ShowInMenu ( bool  value)

Sets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the Ribbon.

◆ set_ShowRelatedSummaryRows()

void Aspose::Tasks::Filter::set_ShowRelatedSummaryRows ( bool  value)

Sets a value indicating whether related summary rows are displayed for the filter.