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

Represents one graphical indicator criteria associated with an extended attribute. More...

#include <GraphicalIndicatorCriteria.h>

Inherits System::Object.

Public Member Functions

FilterComparisonType get_Test () const
 Gets the type of comparison made between extended attribute`s value and Values that acts as a criteria for the application of the graphical indicator. FilterComparisonType More...
 
const System::SharedPtr< GraphicalIndicatorCriteriaValue > & get_Value1 () const
 Gets the value used to test extended attribute's value. More...
 
const System::SharedPtr< GraphicalIndicatorCriteriaValue > & get_Value2 () const
 Gets the second value used to test extended attribute's value in case of 'IsWithin' and 'IsNotWithin' comparison types. More...
 
int32_t get_ImageIndex () const
 Gets the index of the image to display when the field meets the criteria. More...
 
GraphicalIndicatorCriteriaType get_RowType () const
 Gets the value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied. More...
 
 GraphicalIndicatorCriteria (GraphicalIndicatorCriteriaType rowType, FilterComparisonType test, int32_t imageIndex, const System::SharedPtr< GraphicalIndicatorCriteriaValue > &value1, const System::SharedPtr< GraphicalIndicatorCriteriaValue > &value2)
 Initializes a new instance of the GraphicalIndicatorCriteria type. More...
 
 GraphicalIndicatorCriteria (GraphicalIndicatorCriteriaType rowType, FilterComparisonType test, int32_t imageIndex, const System::SharedPtr< GraphicalIndicatorCriteriaValue > &value)
 Initializes a new instance of the GraphicalIndicatorCriteria type. More...
 
System::String ToString () const override
 Returns string representation of the instance of the FilterCriteria class. More...
 

Detailed Description

Represents one graphical indicator criteria associated with an extended attribute.

Constructor & Destructor Documentation

◆ GraphicalIndicatorCriteria() [1/2]

Aspose::Tasks::GraphicalIndicatorCriteria::GraphicalIndicatorCriteria ( GraphicalIndicatorCriteriaType  rowType,
FilterComparisonType  test,
int32_t  imageIndex,
const System::SharedPtr< GraphicalIndicatorCriteriaValue > &  value1,
const System::SharedPtr< GraphicalIndicatorCriteriaValue > &  value2 
)

Initializes a new instance of the GraphicalIndicatorCriteria type.

Parameters
rowTypevalue of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied
testvalue of FilterComparisonType denoting the type of comparison performed by the criteria.
imageIndexthe index of the image to display when the field meets the criteria
value1values used in condition check.
value2second value (end of interval) used in condition check in case of 'IsWithin' and 'IsNotWithing' conditions.
Exceptions
ArgumentExceptionThrown when incorrect combination of arguments is passed to the constructor.

◆ GraphicalIndicatorCriteria() [2/2]

Aspose::Tasks::GraphicalIndicatorCriteria::GraphicalIndicatorCriteria ( GraphicalIndicatorCriteriaType  rowType,
FilterComparisonType  test,
int32_t  imageIndex,
const System::SharedPtr< GraphicalIndicatorCriteriaValue > &  value 
)

Initializes a new instance of the GraphicalIndicatorCriteria type.

Parameters
rowTypevalue of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied
testvalue of FilterComparisonType denoting the type of comparison performed by the criteria.
imageIndexthe index of the image to display when the field meets the criteria
valuevalue used in condition check.
Exceptions
ArgumentExceptionThrown when incorrect combination of arguments is passed to the constructor.
ArgumentExceptionWhen value of IsWithin of IsNotWithing is passed to test argument.

Member Function Documentation

◆ get_ImageIndex()

int32_t Aspose::Tasks::GraphicalIndicatorCriteria::get_ImageIndex ( ) const

Gets the index of the image to display when the field meets the criteria.

◆ get_RowType()

GraphicalIndicatorCriteriaType Aspose::Tasks::GraphicalIndicatorCriteria::get_RowType ( ) const

Gets the value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied.

◆ get_Test()

FilterComparisonType Aspose::Tasks::GraphicalIndicatorCriteria::get_Test ( ) const

Gets the type of comparison made between extended attribute`s value and Values that acts as a criteria for the application of the graphical indicator. FilterComparisonType

◆ get_Value1()

const System::SharedPtr<GraphicalIndicatorCriteriaValue>& Aspose::Tasks::GraphicalIndicatorCriteria::get_Value1 ( ) const

Gets the value used to test extended attribute's value.

◆ get_Value2()

const System::SharedPtr<GraphicalIndicatorCriteriaValue>& Aspose::Tasks::GraphicalIndicatorCriteria::get_Value2 ( ) const

Gets the second value used to test extended attribute's value in case of 'IsWithin' and 'IsNotWithin' comparison types.

◆ ToString()

System::String Aspose::Tasks::GraphicalIndicatorCriteria::ToString ( ) const
override

Returns string representation of the instance of the FilterCriteria class.

Returns
string representation of this object.