Aspose.Tasks for C++
|
Defines the criteria that tasks or resources must meet to be displayed in MSP view. More...
#include <FilterCriteria.h>
Inherits System::Object.
Public Member Functions | |
FilterOperation | get_Operation () const |
Gets the criterion established with FieldName, Test, and Value relates to other criteria in the filter. More... | |
void | set_Operation (FilterOperation value) |
Sets the criterion established with FieldName, Test, and Value relates to other criteria in the filter. More... | |
Aspose::Tasks::Field | get_Field () const |
Gets a Field to change. More... | |
void | set_Field (Aspose::Tasks::Field value) |
Sets a Field to change. More... | |
FilterComparisonType | get_Test () const |
Gets the type of comparison made between FieldName and Value that acts as selection criteria for the filter. FilterComparisonType More... | |
void | set_Test (FilterComparisonType value) |
Sets the type of comparison made between FieldName and Value that acts as selection criteria for the filter. FilterComparisonType More... | |
System::ArrayPtr< System::SharedPtr< System::Object > > | get_Values () const |
Gets the object values to compare with the value of the field specified with FieldName. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< FilterCriteria > > > | get_CriteriaRows () const |
Gets the list of child FilterCriteria rows. If the filter contains more than one criterion row then the effect of an And operator is that the criteria for both rows must be met for the task or resource to be displayed as a result of this filter. The effect of an Or operator is that the criteria for one or the other row must be met. More... | |
bool | IsFieldValue () |
Gets whether the right-hand value of FilterCriteria is a field reference, not a constant value. More... | |
void | SetValueField (Aspose::Tasks::Field value) |
Sets the field whose value will be compared with the value of the field specified by FieldName. More... | |
System::String | ToString () const override |
Returns string representation of the instance of the FilterCriteria class. More... | |
Defines the criteria that tasks or resources must meet to be displayed in MSP view.
System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<FilterCriteria> > > Aspose::Tasks::FilterCriteria::get_CriteriaRows | ( | ) | const |
Gets the list of child FilterCriteria rows. If the filter contains more than one criterion row then the effect of an And operator is that the criteria for both rows must be met for the task or resource to be displayed as a result of this filter. The effect of an Or operator is that the criteria for one or the other row must be met.
Aspose::Tasks::Field Aspose::Tasks::FilterCriteria::get_Field | ( | ) | const |
Gets a Field to change.
FilterOperation Aspose::Tasks::FilterCriteria::get_Operation | ( | ) | const |
Gets the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
FilterComparisonType Aspose::Tasks::FilterCriteria::get_Test | ( | ) | const |
Gets the type of comparison made between FieldName and Value that acts as selection criteria for the filter. FilterComparisonType
System::ArrayPtr<System::SharedPtr<System::Object> > Aspose::Tasks::FilterCriteria::get_Values | ( | ) | const |
Gets the object values to compare with the value of the field specified with FieldName.
bool Aspose::Tasks::FilterCriteria::IsFieldValue | ( | ) |
Gets whether the right-hand value of FilterCriteria is a field reference, not a constant value.
void Aspose::Tasks::FilterCriteria::set_Field | ( | Aspose::Tasks::Field | value | ) |
Sets a Field to change.
void Aspose::Tasks::FilterCriteria::set_Operation | ( | FilterOperation | value | ) |
Sets the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
void Aspose::Tasks::FilterCriteria::set_Test | ( | FilterComparisonType | value | ) |
Sets the type of comparison made between FieldName and Value that acts as selection criteria for the filter. FilterComparisonType
void Aspose::Tasks::FilterCriteria::SetValueField | ( | Aspose::Tasks::Field | value | ) |
Sets the field whose value will be compared with the value of the field specified by FieldName.
value | Field which will serve as right-hand value of filter criteria. |
|
override |
Returns string representation of the instance of the FilterCriteria class.